From owner-freebsd-stable Thu Sep 21 9:10:15 2000 Delivered-To: freebsd-stable@freebsd.org Received: from ns1.sunesi.net (ns1.sunesi.net [196.15.192.194]) by hub.freebsd.org (Postfix) with ESMTP id 50B8837B440 for ; Thu, 21 Sep 2000 09:09:59 -0700 (PDT) Received: from nbm by ns1.sunesi.net with local (Exim 3.03 #1) id 13c3K9-00035e-00; Thu, 21 Sep 2000 12:11:25 +0200 Date: Thu, 21 Sep 2000 12:11:24 +0200 From: Neil Blakey-Milner To: cjclark@alum.mit.edu Cc: "Chad R. Larson" , jmutter , freebsd-stable@FreeBSD.ORG Subject: Re: New periodic.conf (was Re: SysV Style Init?) Message-ID: <20000921121124.A11779@mithrandr.moria.org> References: <200009210327.UAA03936@freeway.dcfinc.com> <20000920234002.X367@149.211.6.64.reflexcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000920234002.X367@149.211.6.64.reflexcom.com>; from cjclark@reflexnet.net on Wed, Sep 20, 2000 at 11:40:02PM -0700 Organization: Sunesi Clinical Systems X-Operating-System: FreeBSD 3.3-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed 2000-09-20 (23:40), Crist J . Clark wrote: > /Now/ we have a set up where we have all of these individual files, > but one central file that sets all kinds of defaults for _all_ of the > files (or potentially all of them). So, we went from centralized > single scripts, to a pack of small distributed scripts, and now we > have a whole bunch of small scripts configured from a central file. If > you want to change how disks are done, you need to examine > /etc/periodic/daily/400.status-disks and /etc/defaults/periodic.conf > simultaneously and hope that your changes just require mods to the > values that they let you customize. Then you drop the changes in > /etc/periodic.conf. Otherwise, you need to hack the file and this new > setup just makes life a hassle. Well, hopefully one can just read the documentation - periodic.conf(5), &c. > I think the distributed script files with a centralized configuration > file is kind of an awkward construction. You're going to _love_ the NetBSD dependency-based rc system I'm currently porting! (: The 'defaults' system isn't likely to go away - it saves us endless hassles, and makes changing defaults, adding new configuration directives, and so forth, easy to do for administrators and for us. Centralised configuration is rated as one of the coolest features of FreeBSD by the people I show it to - /etc/init.d/network/scripts/if-eth0 is bad. ;) It also makes writing an installer and configurator easier, although there are still a few things holding up a 'libconf'. > That said, I was thinking of breaking /etc/security into an assortment > of scripts. I would think it is frequently hacked by users. I have a > Tripwire check for example. It be great if I did not have to manually > merge that whole thing each time /etc/security changes. There is no > reason it should not be done the same way the other periodic scripts > are. But with this new /etc/periodic.conf has kind of quenched my > enthusiasm. I believe either brian or ben were working on doing this. Neil -- Neil Blakey-Milner Sunesi Clinical Systems nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message