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

Re: RFC: fix for daemon start on package install/upgrade out-of-runlevel



On Sun, Sep 10, 2000 at 09:19:10AM -0300, Henrique M Holschuh wrote:
> On Sun, 10 Sep 2000, Herbert Xu wrote:
>
> > Which is why it should only be killed in prerm/preinst.
> 
> Which makes all the supposed simple "restart" solution for the runlevel
> problem fail in _all_ cases. Thank you for reminding me of the prerm issue,
> nearly all daemon-providing packages stop the daemon in prerm. All of these
> packages would have to stop doing this (at least on upgrades) for a
> "restart" solution to the "runlevel" problem to work.

Huh? If what you want is an "only start this in runlevel X,Y,Z", then this
certainly can be done with stopping the daemon in prerm, and restarting it
in postinst if we're in the correct runlevel.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: