Subject: Re: Handling 3rd party rc scripts
To: Luke Mewburn <firstname.lastname@example.org>
From: Nate Johnston <email@example.com>
Date: 02/07/2002 14:43:03
Luke Mewburn spake thus: (Wed, Feb 06, 2002 at 11:17:28AM +1100)
> On Tue, Feb 05, 2002 at 05:17:14PM -0500, Lars Kellogg-Stedman wrote:
> | The original question was:
> | > One thing I notice is that the scripts don't seem to chain
> | > to /usr/pkg/etc or /usr/local/etc.
> | >
> | > Is there an official way to do this? If not, how do the
> | > rest of you handle it?
> | But as Amitai Schlair pointed out, /usr may not be mounted
> | when rcorder is run.
> My take (as the main architect and implementor of / target of flame
> mail regarding) the rc.d system is that we only look in /etc/rc.d
> for scripts in the default install, and nowhere else (especially not
> on /usr).
This leaves me with just one question: my /usr/pkg is NFS mounted, and
now I have packages installing files in /etc, which I am not now nor
ever will I NFS mount, not even a subdirectory. I have PKG_DBDIR set to
/usr/pkg/db. So how do I maintain consistency for all 300 machines that
centrally mount /usr/pkg?
As best I can tell, I either need a two-stage rc (the first cut of which
I posted in a reply to the earlier thread), or this issue will need a
work-around hack. I'm sure this scenario has figured into your
thoughts, and I ask you what comment you have on this scenario.
P.S. Thank you for your dedication to pkgsrc. It is a dream come true.