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

Martin Pitt mpitt at debian.org
Thu Jul 14 14:46:12 BST 2016


Control: tag -1 patch

Hello Michael,

Michael Biebl [2016-07-13 18:28 +0200]:
> > We need to replace is-enabled with something which also works for
> > sysv-only services (with v215).
> [...]
> v215 for a sysv only service
> $ systemctl is-enabled rpcbind
> Failed to get unit file state for rpcbind.service: No such file or directory

This works in >= 220-1 via the systemd-sysv-install wrapper, but not
before. WDYT about the attached patch? I tested that in a Jessie
container. This is more relaxed than the SLINK/SSLINK= further down as
it does not rely on `runlevel`.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-invoke-rc.d-Add-SysV-fallback-for-systemctl-is-enabl.patch
Type: text/x-diff
Size: 1553 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160714/ac402bb5/attachment.patch>


More information about the Pkg-systemd-maintainers mailing list