Package: debhelper
Version: 8.0.0
Severity: wishlist

LSB has some definitions about exit[1] codes for init scripts.

Note that the policy currently has a different view about exit status 5,
but there have been ideas to change that[2].

In any case it would not hurt if debhelper would support the LSB exit
codes. This could be done for instance by treating various exit codes as
if they were 0.

A package which comes with an unconfigured daemon should be returning 6
according to LSB. This currently makes postinst fail leaving the system
in an undesired state. I suggest that the postinst code added by
dh_installinit should not fail upon seeing exit status 6.

The same could be done for exit status 5 even though this status is
currently prohibited by the debian policy.

Helmut

[1] 
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html.
[2] http://bugs.debian.org/208010



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to