Package: mdadm
Version: 2.5.2-10

The attempt to mkdir /dev/md will fail if /dev is on a read-only
filesystem. Since /etc/init.d/mdadm-raid is run with -e, this causes the
script to exit and no arrays are started.

--- mdadm-2.5.2/debian/mdadm-raid.orig  2006-08-13 17:37:45.483974000 -0400
+++ mdadm-2.5.2/debian/mdadm-raid       2006-08-13 17:37:54.900562500 -0400
@@ -77,7 +77,7 @@
 
       if [ -f $CONFIG ] || [ -f $ALTCONFIG ]; then
         # handle devfs-style names and version-1 devices
-        mkdir --parent /dev/md
+        mkdir --parent /dev/md || true
 
         # ugly hack because shell sucks
         IFSOLD=${IFS:-}


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to