fix lsb hook reload for masked services

Andreas Henriksson andreas at fatal.se
Wed Nov 25 11:32:52 GMT 2015


Control: reassign -1 systemd
Control: tags -1 + patch

Hello!

Please see the attached patch which should avoid the case
where *only* reload is possible (and which will apparently
screw with your system in some cases) when the user directly
invokes the sysvinit script.

(What the patch does is basically 1. move prog= and service= earlier
since we're going to use it earlier. 2. move LoadState=masked check
earlier and change it to use exit 0 instead of return 0 since it's
no longer used in a function.)

Regards,
Andreas Henriksson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lib-lsb-init-functions.d-40-systemd-don-t-reload-mas.patch
Type: text/x-diff
Size: 2680 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20151125/9b975920/attachment.patch>


More information about the Pkg-systemd-maintainers mailing list