mkinitrd unification across distributions
 help / color / mirror / Atom feed
* Why has the timeout be removed?
@ 2014-07-01 15:59 Thomas Renninger
  2014-07-02  7:52 ` Harald Hoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Renninger @ 2014-07-01 15:59 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

Hi,


commit 8ee18253644a812184c60e31d7ee3d3f6d8f45c0
Author: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date:   Tue Mar 4 13:46:14 2014 +0100

    dracut: don't let devices timeout

    https://bugzilla.redhat.com/show_bug.cgi?id=949697


See the whole diff at the end.
This one removes timeouts on the rootfs and if the rootfs
cannot be accessed early boot will remain hung forever.

Unfortunately I cannot access the bug reference from
the changelog and the changelog does not describe the problem.

I would like to revive the/a timeout, but need to understand
why it got removed.

Thanks,

      Thomas


=============================================
   

diff --git a/modules.d/98systemd/rootfs-generator.sh b/modules.d/98systemd/rootfs-generator.sh
index a11ce59..2c09895 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 763b7e2..e4d7da8 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

=============================================

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-02  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-01 15:59 Why has the timeout be removed? Thomas Renninger
2014-07-02  7:52 ` Harald Hoyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox