]> 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>
Wed, 5 Mar 2014 11:32:10 +0000 (12:32 +0100)
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 763b7e242d58f2ba3052e67a430cafd78b8e2cdf..e4d7da8edbe77ff37906b6712e3ac729e9f5e1de 100755 (executable)
@@ -891,7 +891,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