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

Re: Bug#244908: is it OK for invoke-rc.d stop not to stop?



Henrique de Moraes Holschuh <hmh@debian.org> wrote:
> 
> --exec should never be used for stop.  If you don't have a pidfile, use
> --name and pray that you don't kill the wrong thing -- the real fix IS to
> maintain a pidfile properly.

No --name is not a substitute for --exec.  Why should you be killing
random user processes that happen to have the same name and the same
pid?

Depending on what daemon this is, the user may well have a legitimate
reason for running a private copy.

Valid alternatives do exist for --exec, such as Unix sockets, but please
do not recommend people to replace it with --name --pidfile.  It's not
much better than --pidfile.
-- 
Debian GNU/Linux 3.0 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



Reply to: