Bug #17813
closed
ceph-disk: udev permission race with dm
Added by Loïc Dachary over 7 years ago.
Updated over 7 years ago.
Description
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
- Description updated (diff)
- Description updated (diff)
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?
@Ken you right. Any idea on how to implement this in the right way ?
- Related to Bug #17889: ceph-disk: ceph-disk@.service races with ceph-osd@.service added
- Description updated (diff)
- Assignee set to Loïc Dachary
- Priority changed from Normal to Urgent
- Status changed from 12 to Fix Under Review
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #18009: jewel: ceph-disk: udev permission race with dm added
- Status changed from Pending Backport to In Progress
- Status changed from In Progress to Pending Backport
- Status changed from Pending Backport to Resolved
Also available in: Atom
PDF