From owner-freebsd-rc@FreeBSD.ORG Wed May 30 07:28:09 2007 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD86316A473 for ; Wed, 30 May 2007 07:28:09 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 6376513C469 for ; Wed, 30 May 2007 07:28:09 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 22990 invoked by uid 399); 30 May 2007 07:28:06 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 30 May 2007 07:28:06 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <465D2780.206@FreeBSD.org> Date: Wed, 30 May 2007 00:28:00 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Danny Braniss References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org Subject: Re: rcorder blues 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: Wed, 30 May 2007 07:28:09 -0000 Danny Braniss wrote: >>> hi all, >>> Under 6.2 I set early_late_divider to amd, and since local_rc >>> points to an 'automounted directory', rcorder will include the rc-files >>> from my shared-local/etc/rc.d. >> In theory there should be nothing wrong with doing this, however amd >> happens pretty late in the default rcorder, so it is pretty likely >> that something is going to get rearranged when you start including >> your local files. >> > by removing some dependencies in amd, i managed to get it to run > earlier - but was not easy, it does depend on many things. Yeah, I took a quick look, and decided there weren't any quick fixes. > I don't think it's realistic to expect that by setting/modifying the > PROVIDE, REQUIRE, and BEFORE list, one can forsee the result :-) > it's more a wish, and rcoder decides :-) Unless you create a circular dependency (which it will complain about) it actually does what you tell it to, the trick is to tell it to do the right thing. :) >> Please note that (at least on my system) there is a "mostly harmless" >> bug in our current ordering that causes the resolv script to be >> ordered very late without including /usr/local stuff, and first after >> it is included, which means it is never run on my system. If you see >> that issue, don't worry about it, it's on the list of things that >> should be fixed someday, but isn't a priority. > > it's not harmless for me, since amd needs hostname :-( > I added resolv to NETWORK's REQUIRE:. That's probably a good idea, I'll do some more testing on that and commit the result if it works. > BTW, I also added to abi PROVIDE: linux, this way i can have > some linux depend on it. I'll let someone more knowledgeable comment on that one. The abi script is kind of hairy. Doug -- This .signature sanitized for your protection