Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 1996 08:37:54 +0100 (GMT+0100)
From:      af@biomath.jussieu.fr (Alain FAUCONNET)
To:        mcgovern@spoon.beta.com (Brian J. McGovern)
Cc:        questions@freebsd.org
Subject:   Re: /usr/local/etc/*.d...
Message-ID:  <199611280737.AA02115@iaka.biomath.jussieu.fr>
In-Reply-To: <199611280347.WAA00626@spoon.beta.com> from "Brian J. McGovern" at "Nov 27, 96 10:47:51 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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 :-]



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