Subject: Re: pkg/etc/rc.d and /etc/rc.conf
To: David Laight <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 11/14/2002 14:48:44
[ On Thursday, November 14, 2002 at 08:24:27 (+0000), David Laight wrote: ]
> Subject: Re: pkg/etc/rc.d and /etc/rc.donf (Was: Re: BIND DoS and remote compromise issues)
> It might be possible for rcorder to feed the scripts one at a time
> to the shell via a pipe (instead of writing the names to a file).
> Then a second pipe could be used to pass additional script
> directories into rcorder while it is a active.
> That way /usr/pkg/etc/rc.d (with its own rc.conf file) could be added
> (if required) just after filesystem is mounted.
That is WAY too complicated! And for no good reason at all.
Just run rcorder again on your secondary directory(ies) (if you want to
use rcorder to do their dependency ordering, that is). You can even
trivially implement that as a primary /etc/rc.d script.
If you want to mix the dependencies all into one list then you really
need to read all the scripts immediately with the first (and only)
invocation of rcorder which means either keeping all your scripts in
/etc/rc.d, or at least keeping all the rc.d-like directories on your
root filesystem. Why is this so hard to understand and/or accept?
Greg A. Woods
+1 416 218-0098; <email@example.com>; <firstname.lastname@example.org>
Planix, Inc. <email@example.com>; VE3TCP; Secrets of the Weird <firstname.lastname@example.org>