[Bug 1635729] [NEW] bcache won't start on boot due to exotic block devices filtered in udev rules

Launchpad Bug Tracker 1635729 at bugs.launchpad.net
Thu Aug 6 22:03:02 UTC 2020


You have been subscribed to a public bug:

If a bcache is created with a Curtis-Wright NVRAM card as caching
device, the bcache device will not show up on boot without manual
intervention.

Tracking this down show this being due to the fact, that line 9 of
/lib/udev/rules.d/60-persistent-storage.rules filters on a whitelist of
devices
(loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*),
that doesn't include the NVRAM devices (umem*). A few steps later, this
results in bcache_register() not being called.

Trivially patching

-KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*", GOTO="persistent_storage_end"
+KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|umem*", GOTO="persistent_storage_end"

resolves the issue.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
bcache won't start on boot due to exotic block devices filtered in udev rules
https://bugs.launchpad.net/bugs/1635729
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to systemd in Ubuntu.



More information about the foundations-bugs mailing list