Date: Fri, 5 Dec 2008 22:11:13 +0000 From: RW <fbsd06@mlists.homeunix.com> To: freebsd-questions@freebsd.org Subject: Re: named and ntpd start order in rc.d Message-ID: <20081205221113.6084e635@gumby.homeunix.com> In-Reply-To: <560f92640812051322h520ac67ficebbc3881907fbc2@mail.gmail.com> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> <20081205190703.0dfb952d@gumby.homeunix.com> <560f92640812051322h520ac67ficebbc3881907fbc2@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Dec 2008 13:22:29 -0800 "Nerius Landys" <nlandys@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081205221113.6084e635>