aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-03-18 13:51:36 -0400
committerBill Nottingham <notting@redhat.com>2009-03-18 14:00:01 -0400
commitfcc54b6f014c63b64e37b0d63d871f344385da84 (patch)
treef6aceccbfd1b4de52d95c436c0e41ac4fb2e5cd9 /rc.d/rc.sysinit
parent30558c7a855058994a520c74af77db0854fc296d (diff)
downloadinitscripts-fcc54b6f014c63b64e37b0d63d871f344385da84.tar
initscripts-fcc54b6f014c63b64e37b0d63d871f344385da84.tar.gz
initscripts-fcc54b6f014c63b64e37b0d63d871f344385da84.tar.bz2
initscripts-fcc54b6f014c63b64e37b0d63d871f344385da84.tar.xz
initscripts-fcc54b6f014c63b64e37b0d63d871f344385da84.zip
Fix raid auto-assembly (with corresponding mdadm changes). (#488038)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 17b4de6f..dda85d7b 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -335,8 +335,8 @@ sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
update_boot_stage RChostname
action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
-# Start any MD RAID arrays that haven't been started yet
-[ -f /etc/mdadm.conf -a -x /sbin/mdadm ] && /sbin/mdadm -As --auto=yes --run
+# Wait for incremental assembly of RAID to finish
+udevadm settle --timeout=5
# Device mapper & related initialization
if ! __fgrep "device-mapper" /proc/devices >/dev/null 2>&1 ; then