Date: Fri, 5 Dec 2008 19:07:03 +0000 From: RW <fbsd06@mlists.homeunix.com> To: freebsd-questions@freebsd.org Subject: Re: named and ntpd start order in rc.d Message-ID: <20081205190703.0dfb952d@gumby.homeunix.com> In-Reply-To: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Nov 2008 16:47:50 -0800 "Nerius Landys" <nlandys@gmail.com> wrote: > > I believe that the fix for this is to add a dependency > to /etc/rc.d/ntpd script, adding "named" to "REQUIRE" section in > comments. In your opinion, is this a robust fix? For example the > line in my /etc/rc.d/ntpd script that looks like so: > > # REQUIRE: DAEMON ntpdate cleanvar devfs > > would be changed to this: > > # REQUIRE: DAEMON ntpdate cleanvar devfs named 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. I have a similar issue with PPP not having connected by the time ntpdate runs , so I just have a script that runs between named and ntpdate, and blocks waiting for access.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081205190703.0dfb952d>