Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 14:53:24 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Maxim Khitrov <mkhitrov@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: How to get djbdns to start early enough to satisfy ntpd at boot?
Message-ID:  <20090115125324.GA1102@straylight.m.ringlet.net>
In-Reply-To: <26ddd1750901150422t11ca7188hf4f3f25b797f8a61@mail.gmail.com>
References:  <20090115051422.GA59032@duncan.reilly.home> <26ddd1750901150422t11ca7188hf4f3f25b797f8a61@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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
> <andrew-freebsd@areilly.bpc-users.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090115125324.GA1102>