tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc RC scripts



Ignatios Souvatzis <is%netbsd.org@localhost> writes:

> On Mon, Oct 05, 2009 at 06:36:25PM +0200, Joerg Sonnenberger wrote:
>> On Mon, Oct 05, 2009 at 06:26:13PM +0200, Ignatios Souvatzis wrote:
>> > On Sat, Oct 03, 2009 at 11:48:11PM +0200, Joerg Sonnenberger wrote:
>> > > Hi all,
>> > > I am consider to make the RC script support in pkgsrc a bit more useful
>> > > out of the box with the following changes:
>> > > 
>> > > (1) Install pkgsrc RC scripts by default into /etc/rc.pkg.d, not
>> > > /etc/rc.d and adjust the default value for rc_directories accordingly.
>> > > This keeps the logical separation between base and pkgsrc RC scripts
>> > > and still allows /usr (or /usr/pkg) to be on a separate filesystem.
>> > 
>> > I don't like that - this messes up installing on shared /usr/pkg systems.
>> 
>> It isn't any worse than the current status.
>
> It is, from my POV. (I use shared /, with the exception of parts of /var 
> and /etc) 
>
> I prefer that packages do not touch /etc when being installed or
> deinstalled, and let me do that work when I activate/configure
> them. 

Sorry? How do packages touch PREFIX/etc/rc.d? You have to copy files
manually or _explicitly_ ask pkgsrc to copy them for you.

> Shared /usr/pkg systems make this even more urgent. I don't necessarily
> have the same configuration on the clients as on the server, and I 
> don't necessarily export the servers's own /etc to the clients.

You still have to configure such system, the overhead is minimal,
if exists at all.


-- 
HE CE3OH...



Home | Main Index | Thread Index | Old Index