bcache-tools udev rules on trusty lacking util-linux 2.24+ workaround

Bug #1462466 reported by JuanJo Ciarlante
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bcache-tools (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

We're using bcache under trusty HWE kernel (3.16.0-38-generic)
with bcache-tools 1.0.7-0ubuntu1 (built from src).

As trusty has util-linux 2.20.1, udev rules for auto registering
bcache devices are skipped:

 # blkid was run by the standard udev rules
 # It recognised bcache (util-linux 2.24+)
 ENV{ID_FS_TYPE}=="bcache", GOTO="bcache_backing_found"

We're manually cowboy'ing the following line alongside above:
 KERNEL=="nvme*", GOTO="bcache_backing_found"

, but it would be great if something like trying bcache-register
on non rotational devices were added to the udev rules:

 ENV{DEVTYPE}=="disk", ATTR{queue/rotational}=="0", GOTO="bcache_backing_found"

Revision history for this message
Ryan Harper (raharper) wrote :

What scenario are you finding that bcache devices aren't auto registered?

Changed in bcache-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for bcache-tools (Ubuntu) because there has been no activity for 60 days.]

Changed in bcache-tools (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.