Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 1996 08:37:54 +0100 (GMT+0100)
From: (Alain FAUCONNET)
To: (Brian J. McGovern)
Subject:   Re: /usr/local/etc/*.d...
Message-ID:  <>
In-Reply-To: <> 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 FAUCONNET    Ingenieur systeme - System Manager     AP-HP/SIM
Public Health                91 bld de l'Hopital 75013 PARIS FRANCE
Medical Computing Research Labs         Mail:
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: <>