[PATCH 00/11] fixes and new features for init-d-script (v3)

Trek trek00 at inbox.ru
Fri Sep 18 23:46:17 BST 2020


On Wed, 16 Sep 2020 15:29:08 +0200
Trek <trek00 at inbox.ru> wrote:

> I think this time it is ready to be committed :)

famous last words :P

I've found just another bug, which actually is an undocumented behavior
of start-stop-daemon, because on success it returns the daemon exit
status instead of its own. This could mislead the status check inside
the do_start function, for example dnsmasq returns 1 on configuration
errors, but do_start expects 1 if the daemon was already running.

I've added a fix and a test about this issue on my ids3 branch

https://salsa.debian.org/trek-guest/sysvinit/-/tree/ids3

ciao!



More information about the Debian-init-diversity mailing list