Bug 31789

Summary: error in rc.sysinit
Product: [Retired] Red Hat Raw Hide Reporter: Gerald Teschl <gt>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: high    
Version: 1.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-03-14 17:58:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gerald Teschl 2001-03-14 17:56:01 UTC
Here is another one. Looks like however, made these changes needs
a brush up in bash programming;-)


--- rc.sysinit.orig     Wed Mar 14 19:54:00 2001
+++ rc.sysinit  Wed Mar 14 19:54:47 2001
@@ -421,7 +421,7 @@
        modprobe md >/dev/null 2>&1
 fi
 
-if [ -f /proc/mdstat -f /etc/raidtab ]; then
+if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
        echo -n $"Starting up RAID devices: "
 
        rc=0

Comment 1 Bill Nottingham 2001-03-14 17:58:05 UTC
Also fixed in 5.77-1. This is what happens when people build CVS without
actually checking it. :)