Bug#1040943: systemd-logind: 'HandlePowerKey=ignore' works in logind.conf, not in logind.conf.d/custom.conf
Michael Biebl
biebl at debian.org
Thu Jul 13 18:11:12 BST 2023
Am 12.07.23 um 20:39 schrieb Diederik de Haas:
> Package: systemd
> Version: 253.5-1
> Severity: normal
>
> I'm working on a Debian system/image for Pine64's PineTab2 (tablet) and
> by default when I (short) press the power button, the device powers off.
> Right now I'm not using any DE, so it's a CLI only system.
>
> When I created /etc/systemd/logind.conf.d/custom.conf with
> HandlePowerKey=ignore
If this is the whole content of /etc/systemd/logind.conf.d/custom.conf,
you are missing a [Login] section at the top of the file
Rule of thumb: Please always attach such configuration data verbatim to
the bug report.
Makes it much easier for us.
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/20230713/014a8d07/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list