RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg)

Kevin Oberman oberman at es.net
Mon Aug 16 11:15:02 PDT 2004

> Date: Mon, 16 Aug 2004 13:40:10 -0400
> From: Christopher Nehren <apeiron at comcast.net>
> Sender: owner-freebsd-current at freebsd.org
> --/04w6evG8XlLl3ft
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> On Mon, Aug 16, 2004 at 11:56:53 EDT, Mike Makonnen scribbled these
> curious markings:
> > I have thought about this considerably, and I think the best solution
> > is to have ports rc.d scripts installed to /etc/rc.d. One of the problems
> Please, no. This is in direct violation of hier(8), POLA, the concept
> of separating third-party packages from the base system, and it also
> pollutes the concept of a lean, clean, vendor-provided / file
> system. One of the things that I love about FreeBSD is that it doesn't
> make a mess of the base system like Linux does. If I wanted the mess
> that putting port scripts in /etc/rc.d would cause, I'd use Linux.
> ... well, maybe not.
> At the very least, I'd like the current way of doing things (Why does it need
> to be changed, anyway? The current way of doing things is quite close to
> perfect, IMHO.) to remain a viable option. And no, littering /etc/rc.d with
> symlinks is not the way to do it. If I wanted that, again, I'd go to Linux.
> Well, I'm fresh out of paint.
> If you'd like, you can take this message as a statement of how happy I
> am with FreeBSD :-).

As a LONG time BSD user (since at least BSD4.1, I don't see a violation of
POLA or of heir(7), although I expected that someone would claim
it. /usr/local/etc is a very recent addition and is barely mentioned in
heir(7) at all. The problem is that it defeats on of the purposes of
/etc. It was (to the best of my recollection) for systems specific
configuration files that might be needed when only / was mounted and in
single-user mode when / was read-only.

There are many local system mods that require configuration files and/or
scripts be available prior to mounting of any file system.

I do like a separation of local stuff, but it really, really should be
in the physical root partition. (And I oppose the use of symlinks, as
well. That's really ugly!)
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634

More information about the freebsd-current mailing list