Re: Bug#426877: dpkg: Option "--oknodo" should be the default behaviour for "start-stop-daemon" (LSB specs)
El Jueves, 3 de Julio de 2008, Raphael Hertzog escribió:
> I'm reluctant to change the default behaviour of start-stop-daemon at this
> point. What do other people think of making --oknodo the default behaviour
> and adding a new option to force the current default behaviour (exit with
> failure if nothing had to be done)?
> The alternative is to change policy and/or lintian to ensure that packages
> are using --oknodo unless they have a good reason not to.
> >  LSB specifications about init script actions:
> > http://www.linux-foundation.org/spec/refspecs/LSB_3.0.0/LSB-Core-generic/
I think being LSB compliant is good for Debian.
Also, sincerely I think nobody gives importance to the return code of init
scripts ("1" in case of starting an already started service) because most of
people start services manually or they are started when the system swithes
on, so return code is not so important.
But in case of service daemon (as HeartBeat that handles when to start or stop
a service) these return code becomes important and being LSB compliant is,
IMHO, the best way.
Just my opinion. Regards.
Iñaki Baz Castillo