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

Michael Biebl biebl at debian.org
Wed Jul 13 17:24:59 BST 2016


Control: reassign -1 init-system-helpers
Control: found -1 1.35

On Wed, 13 Jul 2016 16:15:56 +0200 Michael Biebl <biebl at debian.org> wrote:
> Package: rpcbind
> Version: 0.2.3-0.5
> Severity: serious
> 
> During a dist-upgrade from jessie to stretch, the rpcbind package failed
> to upgrade cleanly:
> 
> dpkg: error processing package rpcbind (--configure):
>  subprocess installed post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of nfs-common:
>  nfs-common depends on rpcbind; however:
>   Package rpcbind is not configured yet.
> 
> dpkg: error processing package nfs-common (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  rpcbind
>  nfs-common
> 
> The problem seems to be the proper transition from the old sysv based
> service to the native service file using a socket file.
> 
> Full output of systemctl status rpcbind.service rpcbind.socket attached.

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).


Michael

-- 
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://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160713/8790079f/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list