From owner-freebsd-rc@FreeBSD.ORG Tue Aug 29 05:34:41 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A73716A4DA; Tue, 29 Aug 2006 05:34:41 +0000 (UTC) (envelope-from duane@dwpc.dwlabs.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3595343D55; Tue, 29 Aug 2006 05:34:38 +0000 (GMT) (envelope-from duane@dwpc.dwlabs.ca) Received: from sms01.eastlink.ca ([24.222.10.26]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0J4Q00DQDVIWUC22@mta01.eastlink.ca>; Tue, 29 Aug 2006 02:35:20 -0300 (ADT) Received: from dwpc.dwlabs.ca (blk-224-199-230.eastlink.ca [24.224.199.230]) by sms01.eastlink.ca (Symantec Mail Security) with ESMTP id 3310C444015; Tue, 29 Aug 2006 02:33:42 -0400 (EDT) Received: from dwpc.dwlabs.ca (localhost [127.0.0.1]) by dwpc.dwlabs.ca (8.13.6/8.13.6) with ESMTP id k7T5TluL041409; Tue, 29 Aug 2006 02:29:47 -0300 (ADT envelope-from duane@dwpc.dwlabs.ca) Received: (from duane@localhost) by dwpc.dwlabs.ca (8.13.6/8.13.6/Submit) id k7T5TloX041408; Tue, 29 Aug 2006 02:29:47 -0300 (ADT envelope-from duane) Date: Tue, 29 Aug 2006 02:29:47 -0300 From: Duane Whitty In-reply-to: <44EABF90.2030602@FreeBSD.org> To: Doug Barton Message-id: <20060829052947.GD93062@dwpc.dwlabs.ca> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline X-Brightmail-Tracker: AAAAAA== References: <20060821075057.GA8940@garage.freebsd.pl> <44EA2784.6070209@FreeBSD.org> <20060821214609.GD12183@garage.freebsd.pl> <44EABF90.2030602@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-rc@freebsd.org Subject: Re: rc(8) out-of-date. 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, 29 Aug 2006 05:34:41 -0000 On Tue, Aug 22, 2006 at 01:25:52AM -0700, Doug Barton wrote: > Pawel Jakub Dawidek wrote: > > On Mon, Aug 21, 2006 at 02:37:08PM -0700, Doug Barton wrote: > >> Pawel Jakub Dawidek wrote: > >>> Hi. > >>> > >>> AFAIK /usr/local/etc/rc.d/ is using rcorder(8) now. Could someone update > >>> rc(8) manual page? > >> I thought I had done that, at least in HEAD. What branch are you seeing the > >> omission in? > > > > On: > > > > > uname -v > > FreeBSD 7.0-CURRENT #9: Thu Aug 10 23:56:04 CEST 2006 root@anger.dawidek.net:/usr/obj/usr/src/sys/ANGER > > > > I see this: > > > > o The scripts within each directory are executed in lexicographical > > order. If a specific order is required, numbers may be used as a > > prefix to the existing filenames, so for example 100.foo would be > > executed before 200.bar; without the numeric prefixes the opposite > > would be true. > > > > I thought this is not longer true, is it? > > > > I see now. :) You missed the header at the top of that section that says, > "The following key points apply to old-style scripts in > /usr/local/etc/rc.d." Scripts that don't use rc.d (PROVIDE, REQUIRE, etc.) > are still handled in the manner described. > Hi, On 6.X I've done some testing and, unless I misunderstood, it seems that scripts using the rcorder framework with the same dependencies, i.e., with the same REQUIRE: elements, are processed lexicographically unless overridden with the BEFORE: element. If BEFORE: is used then the script is {called|executed}? before the script named in the BEFORE: statement. Lexicographical processing is then resumed within the constraints established by the REQUIRE: statements. Maybe that's what you already said though, or maybe I'm mistaken and it doesn't work like this? If so please feel free to ignore me. :) Best Regards, Duane Whitty > If we get all (?) the scripts in ports converted to rc.d we might deprecate > this behavior for 7-RELEASE, but it will stay for 6.x-RELEASE for sure, and > probably won't be deprecated until 8-RELEASE. > > hth, > > Doug > > -- > > This .signature sanitized for your protection > _______________________________________________ > freebsd-rc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-rc > To unsubscribe, send any mail to "freebsd-rc-unsubscribe@freebsd.org"