r108 - mdadm/trunk/debian
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Sun Aug 13 22:43:55 UTC 2006
Author: madduck
Date: 2006-08-13 22:43:54 +0000 (Sun, 13 Aug 2006)
New Revision: 108
Modified:
mdadm/trunk/debian/changelog
mdadm/trunk/debian/mdadm-raid
Log:
* Don't fail mdadm-raid when /dev is on a read-only filesystem
(closes: #382876).
Modified: mdadm/trunk/debian/changelog
===================================================================
--- mdadm/trunk/debian/changelog 2006-08-13 22:43:40 UTC (rev 107)
+++ mdadm/trunk/debian/changelog 2006-08-13 22:43:54 UTC (rev 108)
@@ -5,8 +5,10 @@
- French by Florentin Duneau (closes: #382389).
* Pushed build dependency to 5.0.32 and DH compatibility level to 5 because
of dh_installudev use (closes: #382480).
+ * Don't fail mdadm-raid when /dev is on a read-only filesystem
+ (closes: #382876).
- -- martin f. krafft <madduck at debian.org> Fri, 11 Aug 2006 13:23:57 +0100
+ -- martin f. krafft <madduck at debian.org> Sun, 13 Aug 2006 23:40:27 +0100
mdadm (2.5.3-1~unreleased.4) UNRELEASED; urgency=low
Modified: mdadm/trunk/debian/mdadm-raid
===================================================================
--- mdadm/trunk/debian/mdadm-raid 2006-08-13 22:43:40 UTC (rev 107)
+++ mdadm/trunk/debian/mdadm-raid 2006-08-13 22:43:54 UTC (rev 108)
@@ -80,7 +80,10 @@
if [ -f $CONFIG ] || [ -f $ALTCONFIG ]; then
# handle devfs-style names and version-1 devices
- mkdir --parent /dev/md
+ # fail gracefully in case we're on a read-only filesystem, in which
+ # case it's safe to assume that the admin knows what s/he's doing.
+ # See (#382876).
+ mkdir --parent /dev/md || :
# ugly hack because shell sucks
IFSOLD=${IFS:-}
More information about the pkg-mdadm-commits
mailing list