tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc RC scripts
On Mon, Oct 05, 2009 at 07:17:06PM +0100, David Brownlee wrote:
> 2009/10/5 Hauke Fath <hauke%espresso.rhein-neckar.de@localhost>
> >
> > At 19:56 Uhr +0700 4.10.2009, Robert Elz wrote:
> > > | (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
> > >
> > >That's not a desirable goal.
> >
> > I'll have to second this. What applies to one /var and one /etc ("system
> > {state,config} in one place") applies to rc.d scripts. Spreading out start
> > scripts by arbitrary criteria violates POLA, and is not helpful for systems
> > maintenance.
> >
> > At least, please make the new directory optional.
>
> Maybe they should be installed into PREFIX/etc/rc.d and we can have a
> pkg_install option (which may default to on) which manages a set of
> symlinks from /etc/rc.d to PREFIX/etc/rc.d/ (iff they are different
> locations). Creates symlink on install, removes before uninstall.
>
> Could do copy rather than symlink if people prefer...
That will still not work if PREFIX is not on the / filesystem.
Bernd
P.S. I would like to see a /etc/rc.pkg.d and not copying the files into
/etc/rc.d
Home |
Main Index |
Thread Index |
Old Index