Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2002 21:18:32 -0800
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        "David O'Brien" <obrien@FreeBSD.org>
Cc:        Doug Barton <DougB@FreeBSD.org>, Makoto Matsushita <matusita@jp.FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, imp@FreeBSD.org
Subject:   Re: cvs commit: src/etc rc
Message-ID:  <20020318211832.F60554@blossom.cjclark.org>
In-Reply-To: <20020318194237.A18907@dragon.nuxi.com>; from obrien@FreeBSD.org on Mon, Mar 18, 2002 at 07:42:37PM -0800
References:  <20020317151113.W29705@blossom.cjclark.org> <20020317163932.Q3758-100000@master.gorean.org> <20020318194237.A18907@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 18, 2002 at 07:42:37PM -0800, David O'Brien wrote:
> On Sun, Mar 17, 2002 at 04:59:49PM -0800, Doug Barton wrote:
> > > 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.
> 
> Totally agreed.  I guess the fix to that, though, is for someone to
> create a config file that seperated the MIB entries into "sections".
> Thus "/etc/rc.sysctl first" would know to DTRT w/o the user having to.

I wouldn't expect the administrator to know or care about the exact
order. I think in the vast majority of cases, they can be grouped in
other ways, perhaps by functionality. For example, you could group all
of the NFS related ones in one place. Then the developers who
(supposedly) know what order things need to be done in can stick the,

  /etc/rc.sysctl nfs

Command in the best place in the scripts.

But this kind of arrangement breaks down when the user wants to add
sysctl(8) knobs that don't fit into existing groupings.

This might be something the NetBSD rc.d system might be helpful
with. Perhaps burning brain cells on that might be more useful than
trying to patch up the existing FreeBSD scripts.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020318211832.F60554>