Bug#985787: init-system-helpers: deb-systemd-helper - incoherent enable after WantedBy change

Michael Biebl biebl at debian.org
Tue Mar 23 15:20:18 GMT 2021


Am 23.03.21 um 15:32 schrieb Marcin Szewczyk:
> Package: init-system-helpers
> Version: 1.56+nmu1
> Severity: normal
> 
> Hi,
> 
> I use debhelper to install and enable systemd user units. I noticed that
> after changing the `WantedBy` value from default.target to
> graphical.target the new symlink was not created.

If you change the WantedBy target, you need to do that manually on 
upgrades, i.e. manually remove the old enablement symlink and purge the 
existing i-s-h state.

This happens rarely enough, that adding explicit support for that in 
i-s-h is probably not worth the complications.
That said, if someone can come up with a clean patch to do that, I'm 
happy to take a look.

Regards,
Michael




-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20210323/4d62c116/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list