Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 1999 18:12:33 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        Brandon Gillespie <brandon@roguetrader.com>
Cc:        Robert Withrow <witr@rwwa.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: more modular rc/init/uninit system...
Message-ID:  <36B2CD01.69CFEFA8@newsguy.com>
References:  <36B1739E.1A22A983@urc.ac.ru> <199901291406.JAA27108@spooky.rwwa.com> <19990129115122.A25989@cold.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Brandon Gillespie wrote:
> 
> Following the idea of just modularizing the executable part of
> /etc/rc*, there are two options: 1) make Yet Another Standard, or
> 2. follow an existing and widely accepted standard, at least loosely.
> 
> I believe 2. to be the better option, and thus suggested putting the
> scripts in /sbin/init.d and /sbin/rc.d (symlinked to init.d).
> Furthermore, as I stated in the web page the scripts *should not be
> changed*  The only role they play is _order_.  Whether something runs
> or not is managed by the config script.  Because of this the admin
> should really _never_ have to touch the symlinks (unless they are
> making something new).

SYSV way is confusing. More than that, SYSV is a *hack*. While it
may do whatever it was supposed to do, it's deficiencies make clear
that it was, at best, a good first try. I don't see why we have to
stick to a hack just because it was the first implementation tried.

FreeBSD's way is good, though it simply does not try to solve some
of the problems SYSV way tries to. If we are going to change the
*GOOD WAY* we do things now, we better change to *ANOTHER GOOD WAY*.
SYSV way is, thus, not acceptable.

> I do like the dependancy and register parts, however.

The problem with dependencies is that you need to build a graph, so
you know how to shutdown a service, while correctly shuting down
everything that depended on it (which the service is most likely to
*not* know -- take, for instance, the networking stack).

--
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com

	Would you mind not shooting at the thermonuclear weapons?



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36B2CD01.69CFEFA8>