Subject: Re: more work in rc.d [was Re: rc, rc.shutdown proposed change]
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
From: None <itojun@iijlab.net>
List: tech-userlevel
Date: 03/13/2000 08:33:07
> > This is a lose. Once the user installs a package, he shouldn't have
> > to copy stuff around to make it go. I think this is going to be a serious
> > negative for our pkg system.
Please don't try to start daemons automatically, some of pkgsrc needs
careful configuration to be secure/work properly.
> I agree with what you are saying, but we have conflicting requirements.
> What are the choices?
> 3) copy/ln -s from /etc/rc.d to /usr/pkg/etc/rc.d
> PRO: configure info is in /etc.
> clients have entire package
> CON: users have to do something
>
> I prefer #3. Perhaps the link from /etc/rc.d to /usr/pkg/etc/rc.d
>should occur automatically on "make install" for pkgsrc. Then, on the client
>(if there is one) the link has to be made if desired. This is a no-op for
>machines with a private /usr/pkg. Maybe we should have "pkg_enable foo"
>to do this for us, and perhaps create any accounts, etc. (ssh host key...) that
>is required.
I vote for 3, without automatic symbolic links (user needs to
something). pkg_enable sounds good to me.
itojun