From: Harald Hoyer Date: Tue, 4 Mar 2014 12:46:14 +0000 (+0100) Subject: dracut: don't let devices timeout X-Git-Tag: 037~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ee18253644a812184c60e31d7ee3d3f6d8f45c0;p=thirdparty%2Fdracut.git dracut: don't let devices timeout https://bugzilla.redhat.com/show_bug.cgi?id=949697 --- diff --git a/modules.d/98systemd/rootfs-generator.sh b/modules.d/98systemd/rootfs-generator.sh index a11ce595f..2c098951b 100755 --- a/modules.d/98systemd/rootfs-generator.sh +++ b/modules.d/98systemd/rootfs-generator.sh @@ -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 } diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index 763b7e242..e4d7da8ed 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -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