reassign 644876 mdadm
tags 644876 + patch
thanks

Le mercredi 14 mars 2012 à 01:29, d'après
Dave Whitla <dave.whi...@wotifgroup.com> :

> The condition will never be true because udevsettle was a symlink to 
> /sbin/udevadm which has been absent from Debian since Lenny.
> 
> Try editing this file to replace the above with:
> 
> if [ -x "$(command -v udevadm)" ]; then
>   verbose && log_begin_msg "Waiting for udev to process events"
>   udevadm settle --timeout=10
>   verbose && log_end_msg
> fi

Good catch!

And even better, there is a function to do that (defined in
scripts/functions and already used by scripts/nfs and scripts/local).

Also, this script is shipped by the mdadm package.

--- /usr/share/initramfs-tools/scripts/local-top/mdadm.orig     2013-01-24 
14:09:11.000000000 +0100
+++ /usr/share/initramfs-tools/scripts/local-top/mdadm  2013-03-02 
18:03:59.000000000 +0100
@@ -97,11 +97,7 @@
   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
 
-- 
Thomas Parmelan


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130304232246.ga12...@pern.ankh.fr.eu.org

Reply via email to