Bug#830982: dist-upgrade from jessie to stretch fails: rpcbind.socket fails to start

Michael Biebl biebl at debian.org
Wed Jul 13 17:28:18 BST 2016


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160713/f97ba6b5/attachment-0005.sig>


More information about the Pkg-systemd-maintainers mailing list