Bug 68418

Summary: ntp fails, started prior to named.
Product: [Retired] Red Hat Linux Reporter: Chris Kloiber <ckloiber>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: FC1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-29 20:04:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.