Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1154055

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

From Michael Biebl <biebl@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1040943: systemd-logind: 'HandlePowerKey=ignore' works in logind.conf, not in logind.conf.d/custom.conf
Date 2023-07-13 19:20 +0200
Message-ID <GR88V-uLQ-3@gated-at.bofh.it> (permalink)
References <GQN4t-eJf-5@gated-at.bofh.it> <GQN4t-eJf-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1040943: systemd-logind: 'HandlePowerKey=ignore' works in logind.conf, not in logind.conf.d/custom.conf Diederik de Haas <didi.debian@cknow.org> - 2023-07-12 20:50 +0200
  Bug#1040943: systemd-logind: 'HandlePowerKey=ignore' works in logind.conf, not in logind.conf.d/custom.conf Michael Biebl <biebl@debian.org> - 2023-07-13 19:20 +0200
  Bug#1040943: marked as done (systemd-logind: 'HandlePowerKey=ignore' works in logind.conf, not in logind.conf.d/custom.conf) Michael Biebl <biebl@debian.org> - 2023-07-13 20:10 +0200
    Bug#1040943: systemd-logind: 'HandlePowerKey=ignore' works in logind.conf, not in logind.conf.d/custom.conf Diederik de Haas <didi.debian@cknow.org> - 2023-07-14 00:40 +0200
  Bug#1040943: systemd-logind: 'HandlePowerKey=ignore' works in logind.conf, not in logind.conf.d/custom.conf Diederik de Haas <didi.debian@cknow.org> - 2023-07-15 12:00 +0200
    Bug#1040943: systemd-logind: 'HandlePowerKey=ignore' works in logind.conf, not in logind.conf.d/custom.conf Diederik de Haas <didi.debian@cknow.org> - 2023-07-15 12:10 +0200
    Bug#1040943: systemd-logind: 'HandlePowerKey=ignore' works in logind.conf, not in logind.conf.d/custom.conf Michael Biebl <biebl@debian.org> - 2023-07-17 01:30 +0200
      Bug#1040943: systemd-logind: 'HandlePowerKey=ignore' works in logind.conf, not in logind.conf.d/custom.conf Diederik de Haas <didi.debian@cknow.org> - 2023-07-17 02:10 +0200
        Bug#1040943: systemd-logind: 'HandlePowerKey=ignore' works in logind.conf, not in logind.conf.d/custom.conf Michael Biebl <biebl@debian.org> - 2023-07-17 07:50 +0200

csiph-web