summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authormadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-08-13 22:43:54 +0000
committermadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-08-13 22:43:54 +0000
commit824b653a18ea5ba4942dbcadfe9ba9662c8ecda1 (patch)
tree83a72e921c852e8821ed0d10b8d6d035e5dbba8d /debian
parent6677fd8e30ec13cb12500ab2c91267d47fe76ab8 (diff)
* Don't fail mdadm-raid when /dev is on a read-only filesystem
(closes: #382876).
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog4
-rw-r--r--debian/mdadm-raid5
2 files changed, 7 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index d37a1246..6716dee4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,10 @@ mdadm (2.5.3-1~unreleased.5) UNRELEASED; urgency=low
- 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@debian.org> Fri, 11 Aug 2006 13:23:57 +0100
+ -- martin f. krafft <madduck@debian.org> Sun, 13 Aug 2006 23:40:27 +0100
mdadm (2.5.3-1~unreleased.4) UNRELEASED; urgency=low
diff --git a/debian/mdadm-raid b/debian/mdadm-raid
index 421d5220..99169cc7 100644
--- a/debian/mdadm-raid
+++ b/debian/mdadm-raid
@@ -80,7 +80,10 @@ case "${1:-}" in
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:-}