ceph-disk: udev permission race with dm
In the ceph-devel mailing list "ceph-disk and /dev/dm-* permissions - race condition?" the following workaround is suggested to address a race condition involving dmcrypt devices at boot time (courtesy Wyllys Ingersoll):
add a line to the udev 55-dm.rules file just before the 'GOTO="dm_end"' line towards the end of that file: OWNER:="ceph", GROUP:="ceph", MODE:="0660"
See the ceph-disk and /dev/dm- permissions - race condition? thread in ceph-devel for more information
#3 Updated by Ken Dreyer 4 months ago
Loic, would this change in
55-dm.rules affect all devicemapper block devices on the box, not just encrypted OSDs?
In RHEL ,
/usr/lib/udev/rules.d/10-dm.rules is owned by the device-mapper RPM, so I think any by-hand additions there will be wiped on the next yum update?