712866
From 711030d61d8dbf195d416fbd23759feac0303c15 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Tue, 4 Mar 2014 13:46:14 +0100
712866
Subject: [PATCH] dracut: don't let devices timeout
712866
712866
https://bugzilla.redhat.com/show_bug.cgi?id=949697
712866
---
712866
 modules.d/98systemd/rootfs-generator.sh | 2 +-
712866
 modules.d/99base/dracut-lib.sh          | 2 +-
712866
 2 files changed, 2 insertions(+), 2 deletions(-)
712866
712866
diff --git a/modules.d/98systemd/rootfs-generator.sh b/modules.d/98systemd/rootfs-generator.sh
5c6c2a
index a11ce595..2c098951 100755
712866
--- a/modules.d/98systemd/rootfs-generator.sh
712866
+++ b/modules.d/98systemd/rootfs-generator.sh
712866
@@ -29,7 +29,7 @@ generator_wait_for_dev()
712866
         mkdir -p /run/systemd/generator/${_name}.device.d
712866
         {
712866
             echo "[Unit]"
712866
-            echo "JobTimeoutSec=3600"
712866
+            echo "JobTimeoutSec=0"
712866
         } > /run/systemd/generator/${_name}.device.d/timeout.conf
712866
     fi
712866
 }
712866
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
5c6c2a
index d892c26d..62facda1 100755
712866
--- a/modules.d/99base/dracut-lib.sh
712866
+++ b/modules.d/99base/dracut-lib.sh
712866
@@ -884,7 +884,7 @@ wait_for_dev()
712866
             mkdir -p ${PREFIX}/etc/systemd/system/${_name}.device.d
712866
             {
712866
                 echo "[Unit]"
712866
-                echo "JobTimeoutSec=3600"
712866
+                echo "JobTimeoutSec=0"
712866
             } > ${PREFIX}/etc/systemd/system/${_name}.device.d/timeout.conf
712866
             _needreload=1
712866
         fi