]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dmraid/dmraid.sh: call udevsettle after activating all raids
authorHarald Hoyer <harald@redhat.com>
Wed, 13 May 2015 10:31:07 +0000 (12:31 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 13 May 2015 10:31:07 +0000 (12:31 +0200)
otherwise a uevent loop will happen and the initqueue main loop counter
will not be incremented

modules.d/90dmraid/dmraid.sh

index 6ce036bcac710c80c52ec44251cb1ce7698c47fb..3dcff38a43086614a48f2217f9587101c1a3c68f 100755 (executable)
@@ -37,6 +37,7 @@ if [ -n "$DM_RAIDS" ] || getargbool 0 rd.auto; then
             info "Activating $s"
             dmraid -ay -i -p --rm_partitions "$s" 2>&1 | vinfo
             [ -e "/dev/mapper/$s" ] && kpartx -a "/dev/mapper/$s" 2>&1 | vinfo
+            udevsettle
         done
     fi