[dhcp] decrease the sleep in 12-dhcpd due to timeout (#1003695#8)

Jiří Popelka jpopelka at fedoraproject.org
Fri Sep 27 11:02:27 UTC 2013


commit 12990acada50e69c559852cc921b0b89b9c67029
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Fri Sep 27 10:39:07 2013 +0200

    decrease the sleep in 12-dhcpd due to timeout (#1003695#8)

 12-dhcpd  |    4 ++--
 dhcp.spec |    3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/12-dhcpd b/12-dhcpd
index 7c2ebc6..5b577bc 100644
--- a/12-dhcpd
+++ b/12-dhcpd
@@ -7,8 +7,8 @@ STATUS=$2 # The new state of the interface
 if [ "$STATUS" = "up" ]; then
     # wait a few seconds to allow interface startup to complete
     # (important at boot time without this the service still fails
-    # 2 seconds is too short, 5 seconds works - davebooth)
-    sleep 5
+    # time-out for dispatcher script is 3s (rhbz#1003695#8)
+    sleep 2
     # restart the services
     systemctl -q is-enabled dhcpd.service && systemctl restart dhcpd.service
     systemctl -q is-enabled dhcpd6.service && systemctl restart dhcpd6.service
diff --git a/dhcp.spec b/dhcp.spec
index 3acf4fa..9624e19 100644
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -620,7 +620,8 @@ done
 
 %changelog
 * Fri Sep 27 2013 Jiri Popelka <jpopelka at redhat.com> - 12:4.2.5-23
-- 'No subnet declaration for <iface>' should be info, not error.
+- 'No subnet declaration for <iface>' should be info, not error
+- decrease the sleep in 12-dhcpd due to timeout (#1003695#8)
 
 * Wed Sep 18 2013 Jiri Popelka <jpopelka at redhat.com> - 12:4.2.5-22
 - fix segfault introduced with previous commit


More information about the scm-commits mailing list