Summary: | [rc.d] named and ntpd start order in rc.d | ||
---|---|---|---|
Product: | Base System | Reporter: | Nerius Landys <nlandys> |
Component: | conf | Assignee: | Doug Barton <dougb> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | 7.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Nerius Landys
2008-11-24 20:00:19 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-rc Over to maintainers Nerius, Thank you for your report. The startup (rc) ordering of the named and ntpd components is correct. You have looked at the REQUIRE line in the ntpd script. If you look at the REQUIRE line in the ntpdate script you will see that it requires named. The way this works is that ntpd requires ntpdate which requires named. You need to follow the chain back to get the picture. Dependencies in 7.0-RELEASE result in the following startup (rc) order (of pertinent components): /etc/rc.d/named /etc/rc.d/ntpdate /etc/rc.d/ntpd Perhaps you have a situation where the Internet is not available until after your system has started, so named is unable to resolve the hostnames for ntpd in time? In such a case you are probably best either using IP addresses for servers in ntp.conf or re-starting ntpd later on (as you are doing). In any case, your problem is not rc order but the inability of your named to resolve queries (for whatever reason) during startup. There is no problem with the rc order. The order you desire already exists. I suggest that this PR can be closed. -- John Marshall State Changed From-To: open->closed Mr. Marshall's analysis is correct. Responsible Changed From-To: freebsd-rc->dougb I twiddle named and rc.d bits |