[Pkg-nagios-devel] Bug#721704: pnp4nagios-bin: init script exits 0 when it should exit 3 with unconfigured service

Markus Frosch markus at lazyfrosch.de
Mon Oct 27 13:28:48 UTC 2014


Hi Joerg,
I just noticed that ticket and gave it some thought.

There is no real good way to change that exit code without migrating
away from the RUN="no" setting in /etc/default/

E.g. the postinst will simply fail without proper handling here.

The way rsync does it is to split handling between sysVinit and systemd.
But it will still exit with 0 in sysv.

I think I'll do the same, but in jessie+1 as the importance is not that
high.

But thanks for your notes :)

Markus

-- 
Markus Frosch
markus at lazyfrosch.de
http://www.lazyfrosch.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20141027/de9f891a/attachment.sig>


More information about the Pkg-nagios-devel mailing list