The rc.sysinit script extracts the keyword raidev from /etc/raidtab even if it is commented. This makes futile troubles when you use the sample file /usr/doc/raidtools-0.90/raidtab.sample [~] grep "raiddev" /etc/raidtab | awk '{print $2}' /dev/md0 right # BOGUS! Simple fix: --- rc.sysinit Wed Feb 23 10:23:13 2000 +++ /etc/rc.d/rc.sysinit Mon Feb 7 11:37:20 2000 @@ -310,7 +310,7 @@ rc=0 - for i in `grep "raiddev" /etc/raidtab | awk '{print $2}'` + for i in `grep "^raiddev" /etc/raidtab | awk '{print $2}'` do RAIDDEV=`basename $i` RAIDSTAT=`grep "^$RAIDDEV : active" /proc/mdstat`
Will be fixed in initscripts-4.97-1.