Subject: Re: /usr/pkg/etc/rc.d and /etc
To: Randy Beaudreault <>
From: Greg A. Woods <>
List: tech-pkg
Date: 11/14/2002 18:55:51
[ On Thursday, November 14, 2002 at 15:24:05 (-0800), Randy Beaudreault wrote: ]
> Subject: /usr/pkg/etc/rc.d and /etc
> I think I found a solution that could work.
> Using rc_rcorder_flags="/etc/pkg/rc.d/*" in rc.conf or adding 
> /etc/pkg/rc.d/* to the rcorder line in rc would be the thing that 
> would satisfy me here.

Yes, that should work.  I'm pretty sure I posted patches some time ago
which implement this kind of solution a whole lot more elegantly.  :-)
(if they're not easily found I can re-post/send my /etc/rc)

>  By putting the package(s) startup 
> configuration files in there own /etc/pkg/rc.d directory, I can feel 
> better about the pkg system remaining seperate from the rest of the 
> system yet allow for rcorder parsing on startup when /usr may not be 
> mounted.

Why do you think the pkg system needs to remain separate from the rest
of the system?

My changes to /etc/rc are only intended for keeping /usr/local stuff
isolated from the base system and managed packages.

The entire idea of a package management system eliminates almost all the
need for such separation (the remaining bit being the teaching of the
package management system about the base system's files, which can sort
of be done now, but not quite automatically).

								Greg A. Woods

+1 416 218-0098;            <>;           <>
Planix, Inc. <>; VE3TCP; Secrets of the Weird <>