Bug#928919: patch: Do not hide errors from initscripts

Thorsten Glaser t.glaser at tarent.de
Thu May 16 13:47:48 BST 2019


On Thu, 16 May 2019, Dmitry Bogatov wrote:

> Having trailing ":" would result of ignoring result these "do_*" functions.

This is normally right. Initscripts must return 0 in most cases,
and only explicitly exit with a nonzero errorlevel when needed.

> Exit status of initscript does not affect boot process: see "startup()"
> from /etc/init.d/rc (no set -e):

Hmm, what was it then... this is from Policy ยง9.3.2...
but it can make package installation fail, that much is sure.

bye,
//m.




More information about the Debian-init-diversity mailing list