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

Re: runlevel and package installation



On Fri, May 18, 2001 at 11:39:40AM +0200, Stefano Zacchiroli wrote:
> When a package is installed or upgraded and it require a startup script,
> update-rc.d is invoked to set up the appropriate links in the runlevels
> to start the service at bootime.
> 
> If a user want to install a package but he don't want to start up the
> related service at boot time, he have to invoke "update-rc.d -f
> <script_name> remove".
> But if now he upgrade the related package, the start up links in the
> various runlevel are created again !

not if you leave at least one link in place.  one K link in runlevel
0 or 6 will do just fine.  

> We can wonder about why a user have to install a package and not to
> startup the service, but "why he can't do such a thing" ?

he can

> We can add a database to update-rc.d that record the user preference and
> use it as a run-level manager.
> 
> What do you think about it ?

no need.  

enhancing update-rc.d to include an option to only remove S links or
something like that could be useful.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpMuMAVtTnFq.pgp
Description: PGP signature


Reply to: