summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2013-03-05 13:35:53 +0400
committerMichael Tokarev <mjt@tls.msk.ru>2013-03-05 13:36:24 +0400
commit1e72652831422fd907e5754ab6cecc3e732e4764 (patch)
treecc3a28650a3ddc5737e9f90420734fc40c7c4206 /debian
parente50d97697743f2104c58077db4ef50aaa08b76b7 (diff)
use wait_for_udev in initramfs script
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog13
-rw-r--r--debian/initramfs/script.local-top6
2 files changed, 14 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index f16a9757..4d5a5acf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+mdadm (3.2.5-6) unstable; urgency=low
+
+ * replace home-grown and not-working-since-etch udevsettle call
+ in initramfs script with proper wait_for_udev function (from
+ common initramfs functions). This unbreaks situations when
+ the underlying device needs some udev magic to happen before
+ being available, which includes stacked devices (md on lvm)
+ and other cases. Thanks to Thomas Parmelan and Dave Whitla
+ for finding the root cause of breakage and for providing
+ the fix. (Closes: #644876)
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Tue, 05 Mar 2013 13:32:21 +0400
+
mdadm (3.2.5-5) unstable; urgency=low
* add (empty) restart and force-reload actions to mdadm-waitidle
diff --git a/debian/initramfs/script.local-top b/debian/initramfs/script.local-top
index 82388d3b..166f256f 100644
--- a/debian/initramfs/script.local-top
+++ b/debian/initramfs/script.local-top
@@ -97,11 +97,7 @@ else
done
fi
-if [ -x "$(command -v udevsettle)" ]; then
- verbose && log_begin_msg "Waiting for udev to process events"
- udevsettle 10
- verbose && log_end_msg
-fi
+wait_for_udev 10
maybe_break post-mdadm