From owner-freebsd-stable@FreeBSD.ORG Thu Jan 15 23:55:28 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88109106566B for ; Thu, 15 Jan 2009 23:55:28 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nschwmtas02p.mx.bigpond.com (nschwmtas02p.mx.bigpond.com [61.9.189.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1621D8FC0A for ; Thu, 15 Jan 2009 23:55:27 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nschwotgx01p.mx.bigpond.com ([124.188.162.219]) by nschwmtas02p.mx.bigpond.com with ESMTP id <20090115235526.DUCH22514.nschwmtas02p.mx.bigpond.com@nschwotgx01p.mx.bigpond.com> for ; Thu, 15 Jan 2009 23:55:26 +0000 Received: from areilly.bpa.nu ([124.188.162.219]) by nschwotgx01p.mx.bigpond.com with ESMTP id <20090115235523.MKCO6454.nschwotgx01p.mx.bigpond.com@areilly.bpa.nu> for ; Thu, 15 Jan 2009 23:55:23 +0000 Received: (qmail 40958 invoked by uid 501); 15 Jan 2009 23:55:23 -0000 Date: Fri, 16 Jan 2009 10:55:23 +1100 From: Andrew Reilly To: freebsd-stable@freebsd.org Message-ID: <20090115235523.GA39905@duncan.reilly.home> References: <20090115051422.GA59032@duncan.reilly.home> <20090115120001.GA23934@osiris.mauzo.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090115120001.GA23934@osiris.mauzo.dyndns.org> User-Agent: Mutt/1.4.2.3i X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150202.496FCCEC.0001,ss=1,fgs=0 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 23:55:29 -0000 On Thu, Jan 15, 2009 at 12:00:01PM +0000, Ben Morrow wrote: > Quoth Andrew Reilly : > > > > 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 > I have, in my svscan.sh, > > # PROVIDE: svscan > # REQUIRE: SERVERS cleanvar > > and I also have a /usr/local/etc/rc.d/dnscache which looks like [snip] > > and a /usr/local/etc/svc.subr as attached. It's somewhat more general > than is needed for dnscache, as I also use it to start qmail. > > Basically: the PROVIDE: named line is needed to get dnscache up before > ntpd, and the REQUIRE: LOGIN line needs to be changed. Wow, those scripts are an extremely cool integration of the rcorder framework and the svscan framework. Could these be incorporated into the daemontools and djbdns ports as permanent goodness? I'll give them a try-out myself, pronto. (Might also investigate clockspeed, per Jan's suggestiong, too.) Cheers, Andrew