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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to