Subject: Re: pkg/etc/rc.d and /etc/rc.donf (Was: Re: BIND DoS and remote compromise issues)
To: Randy Beaudreault <>
From: Jon Buller <>
List: tech-pkg
Date: 11/13/2002 15:42:02
In message <a05200e00b9f88ff66df5@[]>, Randy Beaudreault writes:

>/usr needs to be mounted to run anything in /usr/pkg/bin or sbin 
>anyways.  Why add the hassle of mv'ing or cp'ing the rcorder scripts 
>into /etc/rc?

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).

The traditional solutions have been to make rc.local rcorder
/usr/pkg/etc/rc.d/* and run them (possibly adding a fake DAEMON
script since it's already been run or removing that REQUIRES part
in all the other scripts), copy/link the /usr/pkg/etc/rc.d scripts
into /etc/rc.d, or not have a /usr partition.