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

This commit is contained in:
Jiri Popelka 2013-09-27 10:39:07 +02:00
parent 9311117d66
commit 12990acada
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -620,7 +620,8 @@ done
%changelog
* Fri Sep 27 2013 Jiri Popelka <jpopelka@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@redhat.com> - 12:4.2.5-22
- fix segfault introduced with previous commit