Bug 110018 - iptables should restart ntpd when iptables is restarted
Summary: iptables should restart ntpd when iptables is restarted
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: iptables
Version: 9
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-14 01:07 UTC by Joseph Shraibman
Modified: 2007-04-18 16:59 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-11-18 11:08:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Joseph Shraibman 2003-11-14 01:08:00 UTC
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
message)

Version-Release number of selected component (if applicable):
iptables-1.2.7a-2

How reproducible:
always

Steps to Reproduce:
1. /etc/rc.d/init.d/iptables restart
2. wait awhile
3. /usr/sbin/ntpq -c peers
  
Actual results:
ntpd losses sync with upstream servers

Additional info:
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
if asked.

Comment 1 Thomas Woerner 2005-11-18 11:08:23 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.