From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513 Description of problem: The grep command at line 439 in /etc/rc.d/rc.sysinit: for i in `grep "^[^*]*raiddev" /etc/raidtab | awk '{print $2}'` is incorrect. I have an /etc/raidtab which contains the lines: raid-level 0 # it's not obvious but this *must* be # right after raiddev and the above grep command returns the word 'right' as one of the raid devices on my system. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Put a comment like the above in /etc/raidtab. 2. Reboot. The system will give a message like 'device right not found'. Actual Results: raidstart erroneously tried to start up a raid device called 'right'. Expected Results: It should have ignored the comment line. Additional info:
I haven't tested this, but this bug could probably be fixed by changing the line to read: for i in `awk '{if($1=="raiddev") print $2}' /etc/raidtab`
Note that this bug can also be fixed using the third solution I posted in bug #78467.
Tweak added in 7.03-1.