update-grub handles vg names with dashes incorrectly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
When update-grub is probing for bootable partitions from logical volumes, it creates incorrect menu entries if the volume group names have dashes in them. Apparently the parameter format for the "set root='(vg-lv)'" should be exactly the same as the device node name in /dev/mapper, or /dev/mapper/vg-lv in the above case. However, for a volume group called "vg-0" having a logical volume "root", the dash gets sorta-escaped so that the mapper node path is /dev/mapper/
Status changed to 'Confirmed' because the bug affects multiple users.