Opened 17 years ago

Closed 17 years ago

#185 closed defect (fixed)

hack-fstab bug when LABEL= is detected

Reported by: Bruno Cornec Owned by: Bruno Cornec
Priority: normal Milestone: 2.2.5
Component: mondo Version: 2.2.4
Severity: major Keywords:


if [ "grep "LABEL=" $old_fstab" != "" ] ; then is a wrong test as it generates LABEL= lines for all partitions when you only want it for non-LVM ones and even if you only have one in the original fstab

If you create LABEL= entries for LVM part. mkinitrd will be unable to add the LVM magic to the init script, thus leading to kernel panic.

Change History (1)

comment:1 by Bruno Cornec, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in rev 1546

Note: See TracTickets for help on using tickets.