Bug#919694: elogind triggers ACPI suspend on laptop lid close, contrary to prior acpi-support configuration

Thorsten Glaser tg at mirbsd.de
Tue Aug 20 22:19:30 BST 2019


Package: elogind
Version: 241.3-1+debian1
Followup-For: Bug #919694

Mark Hindley wrote:

>I think you might need
>
>HandleLidSwitch=lock
>
>in /etc/elogind/logind.conf for that behaviour.

I’ve made a few adjustments following that suggestion (see
below), dist-upgraded sid to ensure I’ve got the latest
version of everything, rebooted (there was a new kernel to
update to anyway), and… still no lock for both console and
X11 sessions.

Running xlock -mode blank manually works, so this is a
regression from when I only had the ACPI stuff installed.

In case it’s relevant, X11 is ran by “exec startx” after
logging in.

-- System Information:
Debian Release: bullseye/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages elogind depends on:
ii  dbus         1.12.16-1
ii  debconf      1.5.73
ii  libacl1      2.2.53-4
ii  libc6        2.28-10
ii  libcap2      1:2.25-2
ii  libelogind0  241.3-1+debian1
ii  libselinux1  2.9-2+b2
ii  libudev1     241-7
ii  lsb-base     11.1.0

Versions of packages elogind recommends:
ii  policykit-1  0.105-26

elogind suggests no packages.

-- Configuration Files:
/etc/elogind/logind.conf changed:
[Login]
HandlePowerKey=poweroff
HandleLidSwitch=lock
HandleLidSwitchExternalPower=lock
HandleLidSwitchDocked=lock
[Sleep]


-- no debconf information


More information about the Debian-init-diversity mailing list