Red Hat Bugzilla – Bug 76466
mkinitrd too strict when parsing /etc/raidtab
Last modified: 2007-04-18 12:47:51 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021020
Description of problem:
mkinitrd parses /etc/raidtab to determine whether it need to include RAID
support. The current version only works, however, if there is a tab before the
"raid-level" keyword. If there are only four spaces, for example, mkinitrd will
not include RAID support. This can easily lead to an unbootable system --
particularly because Red Hat 7.3 was more forgiving in this regard.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Red Hat Linux 8.0 onto a RAID-1 root partition.
2. Modify /etc/raidtab, replacing tabs with spaces.
3. Run mkinitrd (or upgrade kernel RPMS). The system will not be able to boot
with the new initrd image.
Actual Results: RAID support not included in resulting initrd image.
Expected Results: mkinitrd should have detected that root partition was on a
RAID-1 device and included support.
Putting this as high severity, since it can lead to unbootable systems
(probably also because it took me about 8 hours to figure out what was going on).
fixed in 3.4.30 -- not going to errata this unless there are more reports.
Just reporting that I just hit this buglet. I see this could trip up people,
but i don't really mind if an errata is done or not.
It just hit me too, if you're still counting reports.