From owner-freebsd-rc@FreeBSD.ORG Tue Jun 3 22:43:39 2008 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A00141065678; Tue, 3 Jun 2008 22:43:39 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) by mx1.freebsd.org (Postfix) with ESMTP id 29EEC8FC14; Tue, 3 Jun 2008 22:43:38 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id 908FC2218BBC; Wed, 4 Jun 2008 08:43:37 +1000 (EST) X-Viruscan-Id: <4845C9190000505C65A0B0@BarNet> Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK)) by mail5.barnet.com.au (Postfix) with ESMTP id 5038A21B3474; Wed, 4 Jun 2008 08:43:37 +1000 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail5auth.barnet.com.au (Postfix) with ESMTP id F045C2218AF9; Wed, 4 Jun 2008 08:43:36 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id AB3D115C; Wed, 4 Jun 2008 08:43:36 +1000 (EST) Date: Wed, 4 Jun 2008 08:43:36 +1000 From: Edwin Groothuis To: Doug Barton Message-ID: <20080603224336.GJ89632@k7.mavetju> References: <20080601105933.GA23625@k7.mavetju> <4843696C.9070608@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4843696C.9070608@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-rc@freebsd.org Subject: Re: Startup after named X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2008 22:43:39 -0000 On Sun, Jun 01, 2008 at 08:30:52PM -0700, Doug Barton wrote: > >A certain port (net/freenet6) needs to be started up after the > >system is capable of doing DNS requests. That sounds like "REQUIRE: > >named". > > > >But what if the system doesn't have named enabled? > >What kind of require can I use for either named *or* networking? > > REQUIRE is somewhat poorly named, as it implies that the feature must > be enabled to satisfy the requirement, which is not true. It would > more properly be called AFTER since it only applies to how rcorder > arranges the scripts to be run (and therefore tested to see if they > are enabled or not). I've submitted a patch to add this information to rcorder.8: bin/124251: [patch] add BUGS section to rcorder.8 with REQUIRE explanation > Without knowing the details of what you're working on, you can > probably just REQUIRE named. Yes, that one worked fine. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/