Bug#822753: /lib/init/init-d-script: exit 0 at end of script prevents all other exit codes

Jonathan de Boyne Pollard J.deBoynePollard-newsgroups at NTLWorld.COM
Sat Nov 24 14:20:01 GMT 2018

Michael Biebl:
> fwiw, this is why I suggested to provide a C implementation of 
> init-d-script which can be used as an interpreter

That's how it was addressed in 2007.



The OpenRC people have already learned many of the lessons through 
experience here, long since.  There are the difficulties in handling rc 
scripts that people have symbolically linked to a common worker script, 
for example.  They also went through the exit code of the interpreter 
thing in a minor way with exit 0 when starting a service in 2008 and 
again in more detail in 2011.

* https://bugs.gentoo.org/show_bug.cgi?id=351160

More information about the Debian-init-diversity mailing list