From owner-freebsd-hackers Fri Jul 11 02:07:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA27853 for hackers-outgoing; Fri, 11 Jul 1997 02:07:52 -0700 (PDT) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA27846 for ; Fri, 11 Jul 1997 02:07:48 -0700 (PDT) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12) with ESMTP id LAA09667; Fri, 11 Jul 1997 11:07:56 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.8.5/8.6.9) id LAA16639; Fri, 11 Jul 1997 11:11:01 +0200 (MEST) Message-ID: <19970711111101.30909@gil.physik.rwth-aachen.de> Date: Fri, 11 Jul 1997 11:11:01 +0200 From: Christoph Kukulies To: Sebastian Lederer Cc: Joerg Wunsch , freebsd-hackers@FreeBSD.ORG, Vadim Kolontsov Subject: Re: /etc/init.d/ References: <19970711093543.62687@tversu.ac.ru> <19970711084614.RJ19398@uriah.heep.sax.de> <33C5EFC1.41C67EA6@bonn-online.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.75e In-Reply-To: <33C5EFC1.41C67EA6@bonn-online.com>; from Sebastian Lederer on Fri, Jul 11, 1997 at 10:33:05AM +0200 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, Jul 11, 1997 at 10:33:05AM +0200, Sebastian Lederer wrote: > J Wunsch wrote: > > > > Well, seriously, we've got a good number of rc.something scripts > > already done. It seems David Nugent is finally committing the idea of [...] > > Let me first say that I am very pleased with the direction the > FreeBSD /etc/rc model is moving. It provides the possibility > for additional software packages to install startup scripts without > fiddling with existing files, but it does not have the > (mostly useless) overkill complexity of the SystemV model. > > But I would suggest that the /usr/local/etc/rc.d directory is > moved to /etc/rc.d. > > Imagine a server machine running the apache httpd, which is > started from /usr/local/etc/rc.d, and several diskless clients, > nfs-mounting their filesystems (including /usr/local) from the This is exactly what was annoying me here some time ago when I installed apache on a NIS/NFS server machine. Suddenly all clients were running httpds and I had to disable manually on all clients to leave out /usr/local/etc/rc.d in $local_startup (/etc/rc.conf) I agree with moving it to /etc/rc.d unless a better FreeBSD diskless/NFS concept is being developed from ground up. Actually there ain't any diskless strategy right now, afaik. > server. The /etc/rc script on the clients will then see the > apache startup script in /usr/local/etc/rc.d. So you will > have a httpd process running on each client, except if you > modify the /etc/rc script on each client, which is > not excactly what you want. > > Moving the rc.d directory to /etc would avoid this problem, > since /etc is (usually) private to a single machine. > > Best regards, > Sebastian Lederer > > -- > Sebastian Lederer > lederer@bonn-online.com -- --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de