From owner-freebsd-questions@FreeBSD.ORG Fri Dec 5 22:11:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCD29106567A for ; Fri, 5 Dec 2008 22:11:17 +0000 (UTC) (envelope-from fbsd06+4K=17e8c03f@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 8D8EF8FC1A for ; Fri, 5 Dec 2008 22:11:17 +0000 (UTC) (envelope-from fbsd06+4K=17e8c03f@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 0C72923E3F7 for ; Fri, 5 Dec 2008 17:11:15 -0500 (EST) Date: Fri, 5 Dec 2008 22:11:13 +0000 From: RW To: freebsd-questions@freebsd.org 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> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: named and ntpd start order in rc.d X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2008 22:11:17 -0000 On Fri, 5 Dec 2008 13:22:29 -0800 "Nerius Landys" 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.