base/init: stop udev exec queue before killing it
authorHarald Hoyer <harald@redhat.com>
Thu, 1 Oct 2009 13:17:59 +0000 (15:17 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 1 Oct 2009 13:17:59 +0000 (15:17 +0200)
modules.d/99base/init

index a3b26c2..a814446 100755 (executable)
@@ -191,6 +191,9 @@ done
 
 getarg rdbreak && emergency_shell "Break before switch_root"
 
+# stop udev queue before killing it
+udevadm control --stop-exec-queue
+
 HARD=""
 while pidof udevd >/dev/null 2>&1; do 
     for pid in $(pidof udevd); do