named and ntpd start order in rc.d
fbsd06 at mlists.homeunix.com
Fri Dec 5 14:11:17 PST 2008
On Fri, 5 Dec 2008 13:22:29 -0800
"Nerius Landys" <nlandys at gmail.com> wrote:
> > 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".
That's not correct. BEFORE and REQUIRE are used by rcorder to
determine the ordering of the scripts without checking if they are
enabled. Actually all scripts get run - if you don't enable ntpdate then
rc.d/ntpdate still runs, but doesn't do anything.
More information about the freebsd-questions