Bug#1040943: systemd-logind: 'HandlePowerKey=ignore' works in logind.conf, not in logind.conf.d/custom.conf

Diederik de Haas didi.debian at cknow.org
Mon Jul 17 00:58:53 BST 2023


On Monday, 17 July 2023 01:24:43 CEST Michael Biebl wrote:
> The journald output shows long and short key presses (with logind
> reacting accordingly)
> 
> jul 15 09:17:08 pinetab2 systemd-logind[1742]: Power key pressed short.
> jul 15 09:17:08 pinetab2 systemd-logind[1742]: Suspending...
> 
> jul 15 09:18:42 pinetab2 systemd-logind[1850]: Power key pressed long.
> jul 15 09:18:42 pinetab2 systemd-logind[1850]: Powering off...
> 
> That looks all as expected and I don't understand the problem this is
> supposed to show.

The problem is that in all cases I pressed the power key equally short.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20230717/3410c7b3/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list