Subject: Re: pkg/etc/rc.d and /etc/rc.donf (Was: Re: BIND DoS and remote compromise issues)
To: Jon Buller <email@example.com>
From: David Laight <firstname.lastname@example.org>
Date: 11/14/2002 08:24:27
> Because one of the first things in the rcorder'd list of rc.d
> scripts is to mount /usr which then allows all the later scripts
> to use /usr/bin, /usr/pkg/bin, etc. But the rcorder itself is done
> before /usr is mounted, so you can't include the /usr/pkg/etc/rc.d
> scripts in that list (unless /usr is on the root partition).
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.
David Laight: email@example.com