Bug 68418 - ntp fails, started prior to named.
Summary: ntp fails, started prior to named.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.2
Hardware: alpha
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-10 01:43 UTC by Chris Kloiber
Modified: 2014-03-17 02:28 UTC (History)
1 user (show)

Fixed In Version: FC1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-29 20:04:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Chris Kloiber 2002-07-10 01:43:47 UTC
Description of Problem:

My linux gateway machine serves both named and ntp, I noticed the other day that
after a reboot of the server as ntp started it failed to synch with my upstream
servers (initscripts running ntpdate to make the clock close). I discovered that
ntp is started by default prior to named, and since the system uses it's own
name server for resolving addresses, ntp failed to find the upstream servers
causing the ntp service to die.

My recommended fix is to reorder the initscripts to start named almost
immediately after the network comes up, prior to any other network services that
may rely on correct resolving of DNS addresses.

Comment 1 Bill Nottingham 2002-07-10 21:11:51 UTC
Perhaps ntp should start later?

Comment 2 Chris Kloiber 2002-07-10 22:02:01 UTC
That's reasonable of course, but I was thinking of any other services that might
desire/require name resolution at startup (now or in the future).

Comment 3 Harald Hoyer 2002-07-11 08:08:24 UTC
[harald@faro src]$ fgrep chkconfig /etc/init.d/ntpd 
# chkconfig: - 58 74
[harald@faro src]$ fgrep chkconfig /etc/init.d/named 
# chkconfig: - 55 45



Comment 4 Chris Kloiber 2002-07-11 08:30:08 UTC
Argh. I reported this bug against the wrong version. It's only screwed up on
Red Hat Linux 7.2/Alpha, not in Limbo. My bad. Gotta quit staying up this late.
Sorry.

# grep -e chkconfig /etc/init.d/named
# chkconfig: - 55 45

# grep -e chkconfig /etc/init.d/ntpd
# chkconfig: - 26 74

Comment 5 Bill Nottingham 2005-09-29 20:04:38 UTC
Closing bugs on older, no longer supported, releases. Apologies for any lack of
response.




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