From owner-cvs-all Sun Mar 17 17: 0:11 2002 Delivered-To: cvs-all@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id A886B37B404; Sun, 17 Mar 2002 16:59:57 -0800 (PST) Received: from 12-234-22-238.client.attbi.com ([12.234.22.238]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020318005957.TCGK2626.rwcrmhc51.attbi.com@12-234-22-238.client.attbi.com>; Mon, 18 Mar 2002 00:59:57 +0000 Received: from master.gorean.org (master.gorean.org [10.0.0.2]) by 12-234-22-238.client.attbi.com (8.11.6/8.11.6) with ESMTP id g2I0xrh56213; Sun, 17 Mar 2002 16:59:53 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from master.gorean.org (localhost [127.0.0.1]) by master.gorean.org (8.12.2/8.12.2) with ESMTP id g2I0xqYm000368; Sun, 17 Mar 2002 16:59:52 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from localhost (doug@localhost) by master.gorean.org (8.12.2/8.12.2/Submit) with ESMTP id g2I0xnjp000365; Sun, 17 Mar 2002 16:59:49 -0800 (PST) X-Authentication-Warning: master.gorean.org: doug owned process doing -bs Date: Sun, 17 Mar 2002 16:59:49 -0800 (PST) From: Doug Barton X-X-Sender: doug@master.gorean.org To: "Crist J. Clark" Cc: Makoto Matsushita , , , Subject: Re: cvs commit: src/etc rc In-Reply-To: <20020317151113.W29705@blossom.cjclark.org> Message-ID: <20020317163932.Q3758-100000@master.gorean.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 17 Mar 2002, Crist J. Clark wrote: > On Sun, Mar 17, 2002 at 12:15:27PM -0800, Doug Barton wrote: > > On Sun, 17 Mar 2002, Makoto Matsushita wrote: > > > > > > > > dougb> Modified files: > > > dougb> etc rc > > > dougb> Log: > > > dougb> Add a late rc.sysctl pass to catch sysctl's for things that were > > > dougb> not loaded yet on the first pass. > > > > > > Are there any chances that we can distinguish "the early phase" and > > > "the latter phase" inside /etc/rc.sysctl? > > > > Well, I was trying to keep it simple, but take a look at the latest > > version. Just remember, you asked for it. :) > > I still kind of like the idea of breaking /etc/sysctl.conf into > sections The problem with that approach is that it requires users to know at which stages in the process different mibs are available to twiddle. I think that's asking too much. Quite frankly, I think the whole argument against setting things twice is silly, but given that it's fairly easy to fix (at the risk of obfuscating the code) I suppose it's better to have it clean. However, if someone else wants to make a groups-friendly version that doesn't require users to get things in the right group to get stuff set, I won't object. > But I should also point out, doug, that if this is the kind of thing > you are thinking about by adding those 'first' and 'last' arguments, > it won't work the way it is written. Thanks. I had the fixed version in /etc, but forgot to copy it to my tree before committing. Mea culpa. -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message