Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2004 23:07:55 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        current@freebsd.org
Subject:   Re: RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg)
Message-ID:  <20040817060755.GA24819@odin.ac.hmc.edu>
In-Reply-To: <20040817055826.GC942@frogger.jeffnet>
References:  <20040816155653.GA2405@rogue.acs-et.com> <6B9BDB86-EFD9-11D8-924A-00039312D914@fillmore-labs.com> <20040817055826.GC942@frogger.jeffnet>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Aug 17, 2004 at 07:58:26AM +0200, Jeff Fisher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tue, Aug 17, 2004 at 01:10:09AM +0200, Oliver Eikemeier wrote:
> > 
> > There is no compelling reason *not* to let ports script participate in 
> > rcorder(8).
> > 
> 
> I'm back on 4.x, so I don't have this man page...  However, why not use
> S###name.sh, and let the shell wildcard order them for you?  It's simple,
> effective, and matches what almost everybody else does, which makes it easier
> to manage.  

It's also hard to maintain by virtue of attempting to may a simple but
correction model (dependencies) into an even simpler, but wrong one
(linear ordering).  Please spend some time learning about the system
before bitching.  There are plenty of resource to learn about the new
system including this writeup:

http://www.daemonnews.org/200108/rcdsystem.html

and of course lukem's origional paper:

http://www.cs.rmit.edu.au/~lukem/papers/rc.d.pdf

For that matter you can read any freebsd manpage with a simple query
like:

http://www.freebsd.org/cgi/man.cgi?query=rcorder

> Dependencies are handled by having a standard on what number to choose; i.e.
> S1xx = Adding libraries to ldpath or essential system daemons, S2xx =
> Non-essential daemons with no dependencies, S3xx = Non-essential daemons with
> dependencies, etc.... Someone would be the maintaner of the numbers, and give
> everybody their unique number.  It's not perfect, but is relatively easy to
> manage.

<puke>  Real dependencies are much easier to manage (speaking as someone
who admin'd Solaris for many years.)

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBIaC7XY6L6fI4GtQRAgm7AKCnrTsvARPu6EqCgT2JcbU/sEuoYgCg2jLa
4YMZlbCJm5Qbhypg94w6RfY=
=nhX9
-----END PGP SIGNATURE-----
help

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