From 12990acada50e69c559852cc921b0b89b9c67029 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Sep 27 2013 08:43:27 +0000 Subject: decrease the sleep in 12-dhcpd due to timeout (#1003695#8) --- 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 - 12:4.2.5-23 -- 'No subnet declaration for ' should be info, not error. +- 'No subnet declaration for ' should be info, not error +- decrease the sleep in 12-dhcpd due to timeout (#1003695#8) * Wed Sep 18 2013 Jiri Popelka - 12:4.2.5-22 - fix segfault introduced with previous commit