From owner-freebsd-questions Wed Nov 27 23:39:39 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA10832 for questions-outgoing; Wed, 27 Nov 1996 23:39:39 -0800 (PST) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA10827 for ; Wed, 27 Nov 1996 23:39:36 -0800 (PST) Received: from mekong.biomath.jussieu.fr (mekong.biomath.jussieu.fr [134.157.72.87]) by shiva.jussieu.fr (8.8.3/jtpda-5.2) with SMTP id IAA15596 ; Thu, 28 Nov 1996 08:38:17 +0100 (MET) Received: from iaka.biomath.jussieu.fr (iaka) by mekong.biomath.jussieu.fr (5.67b/jn930126+af960928(mailhost)) at Thu, 28 Nov 1996 08:37:55 +0100 Received: by iaka.biomath.jussieu.fr (5.67b/jf930126) at Thu, 28 Nov 1996 08:37:54 +0100 From: af@biomath.jussieu.fr (Alain FAUCONNET) Message-Id: <199611280737.AA02115@iaka.biomath.jussieu.fr> Subject: Re: /usr/local/etc/*.d... To: mcgovern@spoon.beta.com (Brian J. McGovern) Date: Thu, 28 Nov 1996 08:37:54 +0100 (GMT+0100) Cc: questions@freebsd.org In-Reply-To: <199611280347.WAA00626@spoon.beta.com> from "Brian J. McGovern" at "Nov 27, 96 10:47:51 pm" X-Mailer: ELM [version 2.4ME+ PL19 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Brian J. McGovern wrote / a ecrit: > I was just tinkering around with 2.2-ALPHA, and noticed that some startup > information had been shifted from /etc/rc.local into individual shells > in /usr/local/etc/rc.d (and others, for X11 for instance). > > Now, although I think this is a neat idea. I'm not real keen on the location > of the files.... > > As I run several FreeBSD boxes, I tend to keep one as a "server", and then > a series of clients. The "server" machine is the one with the big disk, and > maintains most of the binaries (ie - /usr/local/bin). The server also runs > most of the services - mail, the web server, anonymous ftp, the databases, etc. > (...) > Now, I'm a little hesitant to conform to this "new standard", as, if I migrate > from using /etc/rc.local to the rc.* directories, these directories will now > be common across all machines (which is bad). > > Wouldn't it make more sense to stick it under /etc somplace, rather than in > /usr/local/etc (which, I know, has always been a rather stupid name for a > directory you're most likely going to export?), so its not a "common place". > Either that, or change the standard path for user installed binaries to be > something other than /usr/local (perhaps /usr/export - more like the Sun > naming scheme). I absolutely second that. In my opinion, /usr/local should remain under the total control of the local sysadmin, the standard uncustomized version of the O/S should not touch it. On my site, /usr/local is also shared by machines so it would be a real pain. I like the way it is done by HP-UX 10.*, keeping scripts in /sbin/*.d directories and configuration files sourced by those scripts in /etc/rc.config.d. I know that this might look a bit too SystemV-ish for people here, but it's certainly easy to manage across upgrades. At the very least, I agree with Brian that startup files should remain in the / filesystem. Just my 0.10 FF (at the current US dollar rate) Have a nice day, _Alain_ -- Alain FAUCONNET Ingenieur systeme - System Manager AP-HP/SIM Public Health 91 bld de l'Hopital 75013 PARIS FRANCE Medical Computing Research Labs Mail: af@biomath.jussieu.fr Tel: (+33) (0)1-40-77-96-19 Fax: (+33) (0)1-45-86-80-68 I've RTFMed. It says: "Refer to your system administrator" But... I *am* the system administrator :-]