Am 13.07.2016 um 18:24 schrieb Michael Biebl:
> Turns out the problem is in init-system-helpers.
> In 1.35, invoke-rc.d was changed to use systemctl is-enabled.
> This doesn't work for sysv init scripts with v215.
> As init-system-helpers is unpacked before systemd has been updated (and
> restarted), this turns invoke-rc.d rpcbind stop into a nop, i.e. the old
> process is never stopped.
> 
> We need to replace is-enabled with something which also works for
> sysv-only services (with v215).

v230 for a sysv only service

$ systemctl is-enabled minissdpd.service
minissdpd.service is not a native service, redirecting to
systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install is-enabled minissdpd
enabled
$ echo $?
0

v215 for a sysv only service
$ systemctl is-enabled rpcbind
Failed to get unit file state for rpcbind.service: No such file or directory
$ echo $?
1
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to