From owner-freebsd-stable@FreeBSD.ORG Thu Jan 15 12:54:04 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from straylight.ringlet.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with SMTP id EFD43106564A for ; Thu, 15 Jan 2009 12:54:02 +0000 (UTC) (envelope-from roam@ringlet.net) Received: (qmail 70315 invoked by uid 1000); 15 Jan 2009 12:53:24 -0000 Date: Thu, 15 Jan 2009 14:53:24 +0200 From: Peter Pentchev To: Maxim Khitrov Message-ID: <20090115125324.GA1102@straylight.m.ringlet.net> References: <20090115051422.GA59032@duncan.reilly.home> <26ddd1750901150422t11ca7188hf4f3f25b797f8a61@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <26ddd1750901150422t11ca7188hf4f3f25b797f8a61@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: How to get djbdns to start early enough to satisfy ntpd at boot? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 12:54:04 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 15, 2009 at 07:22:39AM -0500, Maxim Khitrov wrote: > On Thu, Jan 15, 2009 at 12:14 AM, Andrew Reilly > wrote: [snip] > > So: does anyone know how to modify the boot-time order so that > > svscan starts at (or before) the point in the boot cycle where > > BIND would, on other systems? I suspect that it should be > > possible by changing the PROVIDE: in svscan.sh to include one of > > the things REQUIRE:'d by ntpd. Or perhaps the REQUIRE: LOGIN in > > svscan.sh is incompatible with the BEFORE: LOGIN in ntpd? > > > > Has any other user of dnscache encountered and solved this > > problem? > > >=20 > I use the following in svscan.sh, no problems with ntpdate or any other s= ervice: >=20 > # PROVIDE: svscan > # REQUIRE: FILESYSTEMS netif pf > # BEFORE: routing Thanks a lot for that! I'll test it on one of my own machines[1] and I'll incorporate it into the port's options in a couple of days. G'luck, Peter [1] Yes, Andrew, I have the same problem on one machine which is only restarted very rarely, so I just drop a curse and restart ntpd and I couldn't be bothered to actually automate it... sorry for that! --=20 Peter Pentchev roam@ringlet.net roam@space.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 The rest of this sentence is written in Thailand, on --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAklvMcMACgkQ7Ri2jRYZRVPGcwCeMdPNJDpRYvJVrdEcde/IWal8 eSEAoKSHbCbvmOatXlxTogcwpkdlBJAm =nM04 -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--