named and ntpd start order in rc.d

Nerius Landys nlandys at gmail.com
Fri Dec 5 13:52:15 PST 2008


> This shouldn't be needed as ntpd already requires ntpdate and in
> turn ntpdate requires named. The issue is probably  timing - that named
> isn't ready.

Actually, the REQUIRE thing in the /etc/rc.d scripts means "if the
required service is enabled, start it before this one".  It does not
mean "start the required service before this one".

I had ntpd enabled but not ntpdate in my rc.conf.  Therefore the
ntpdate script which requires NETWORK and named did not get run.  As
mentioned earlier, my fix was to run ntpdate at bootup as well as
ntpd.


More information about the freebsd-questions mailing list