]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut: don't let devices timeout
authorHarald Hoyer <harald@redhat.com>
Tue, 4 Mar 2014 12:46:14 +0000 (13:46 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Jul 2014 09:52:06 +0000 (11:52 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=949697

modules.d/98systemd/rootfs-generator.sh
modules.d/99base/dracut-lib.sh

index a11ce595f9223e188248df4debe004c5d8ffeba4..2c098951b044d45056d4fe5694f8bceb2fb65aa9 100755 (executable)
@@ -29,7 +29,7 @@ generator_wait_for_dev()
         mkdir -p /run/systemd/generator/${_name}.device.d
         {
             echo "[Unit]"
-            echo "JobTimeoutSec=3600"
+            echo "JobTimeoutSec=0"
         } > /run/systemd/generator/${_name}.device.d/timeout.conf
     fi
 }
index d892c26db644792f906391aef417591dc85a6dab..62facda1c3c056e6601189970aa7c1b111aa56d0 100755 (executable)
@@ -884,7 +884,7 @@ wait_for_dev()
             mkdir -p ${PREFIX}/etc/systemd/system/${_name}.device.d
             {
                 echo "[Unit]"
-                echo "JobTimeoutSec=3600"
+                echo "JobTimeoutSec=0"
             } > ${PREFIX}/etc/systemd/system/${_name}.device.d/timeout.conf
             _needreload=1
         fi