udev has wrong name for devmapper devices, cryptsetup initramfs hook fails
Bug #325690 reported by
Steve Langasek
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev |
Fix Released
|
Undecided
|
Unassigned | ||
udev (Ubuntu) |
Fix Released
|
High
|
Scott James Remnant (Canonical) | ||
Jaunty |
Fix Released
|
High
|
Scott James Remnant (Canonical) |
Bug Description
Binary package hint: udev
Since mid-January, the cryptsetup initramfs hook in jaunty is failing to correctly detect that my rootfs is on a luks-crypted LVM partition and copying the necessary code to the initramfs.
Stepping through the cryptsetup hook by hand, the failure is because of the following:
$ readlink -e /dev/disk/
/dev/dm-4
$ sudo dmsetup deps /dev/dm-4
dm_task_set_name: Device /dev/dm-4 not found
Command failed
$
Changed in udev: | |
importance: | Undecided → High |
milestone: | none → jaunty-alpha-5 |
status: | New → Confirmed |
Changed in udev: | |
assignee: | nobody → scott |
Changed in udev: | |
status: | In Progress → Fix Committed |
Changed in udev: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Bug caused by string_escape=none actually ending up not assigning names due to the code being inside the if:
http:// git.kernel. org/?p= linux/hotplug/ udev.git; a=commitdiff; h=10b2d011e70dd f9361c61f6147dc 88f670d28abd
Secondary bug that we found where removing the OPTION resulted in a rules error was already fixed in git:
http:// git.kernel. org/?p= linux/hotplug/ udev.git; a=commitdiff; h=647f7c49e8ddf bbe2afd9545484a 3ad936f438e9