Bug#764607: systemd: systemctl does not re-create display-manager.service symlink

Michael Biebl biebl at debian.org
Sun Feb 2 19:45:29 GMT 2020


Am 02.02.20 um 16:13 schrieb Yves-Alexis Perez:
> On Sat, 2020-02-01 at 03:21 +0100, Michael Biebl wrote:
>> They should also add a
> 
>> [Install]
>> Alias=display-manager.service
> 
>> section
> 
>> to their service file. Which will make sure that if you run
>> "systemctl enable foo.service", display-manager.service will point at
>> the desired display manager.
> 
> Hi Michael, I tried that, but it seems that it has the side effect of making
> lightdm restart when upgrading, which is not really a good idea when you're
> actually in a X session.
> 
> Any idea how to prevent that?

Can you show me the (complete) postinst code?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20200202/916b3dfe/attachment-0003.sig>


More information about the pkg-gnome-maintainers mailing list