Bug#968014: systemd 246 postinst script should restart systemd-logind.service

Michael Biebl biebl at debian.org
Thu Aug 6 19:05:25 BST 2020

Am 06.08.20 um 19:41 schrieb Zygmunt Krynicki:
>> Unfortunately logind can't be restarted safely. Xorg (and Wayland) still
>> don't handle that properly and crash.
>> If you want to pursue getting those fixed, this would be very much
>> welcome. Otherwise I can't really do anything about that in systemd.
> I see, this is quite unfortunate.
> Could the postinst script refer the current set of blocking issues?
> Could the postinst script restart logind if neither X nor wayland is employed? 

I'm uncertain how to safely detect this. This would need someone testing
the various desktop environments / Xorg / Wayland compositors / display
managers *and* keep that list up to date.

In my configuration it is really affecting CI systems that are all headless.

I guess in your case you can simply automate the restart of logind on
systemd upgrades.

-------------- 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-systemd-maintainers/attachments/20200806/b34ad04f/attachment.sig>

More information about the Pkg-systemd-maintainers mailing list