Red Hat Bugzilla – Bug 110018
iptables should restart ntpd when iptables is restarted
Last modified: 2007-04-18 12:59:28 EDT
Description of problem:
When I run /etc/rc.d/init.d/iptables restart I break ntpd. I suggest
the iptables script on (re)start checks the status of ntpd, and if
ntpd is running it should restart ntpd (or at least print a warning
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. /etc/rc.d/init.d/iptables restart
2. wait awhile
3. /usr/sbin/ntpq -c peers
ntpd losses sync with upstream servers
Should be trivial shell script change. /etc/rc.d/init.d/ntpd status
exits with an error code if ntpd is not running. I could do it myself
Please open ntp ports for your ntp servers in the iptables configuration.
There is no way that ipatbles can restart other services and this might not be a
good idea for some services.
Closing as NOTABUG.