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

Michael Biebl biebl at debian.org
Wed Jul 13 17:52:25 BST 2016


Am 13.07.2016 um 18:28 schrieb Michael Biebl:
> 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

The relevant commit is 6dd9d53f4fcc0f64fa2aa9d60452ea90ee9a30d0.
Reverting that fixes the upgrade issue.

CCing Andreas, just in case he ran into issues related to services
failing to upgrade from jessie to stretch.


-- 
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/95d1ecb8/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list