Bug#1060389: systemd: logind: HandlePowerKeyLongPress doesn't appear to work

наб nabijaczleweli at nabijaczleweli.xyz
Wed Jan 10 14:26:18 GMT 2024


Package: systemd
Version: 255.2-4
Severity: normal

Dear Maintainer,

As you can see in my logind.conf,
I have re-mapped the power key to suspend,
and long-pressing the power key to hibernate.

When I click the power key the machine suspends instantly
(and under X I see XF86PowerOff).
But this actually happens no matter how long I hold the button for,
and hibernation never occurs.

Best,
наб

-- Package-specific info:

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.9-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  libacl1            2.3.1-4
ii  libapparmor1       3.0.12-1+b2
ii  libaudit1          1:3.1.2-1
ii  libblkid1          2.39.3-6
ii  libc6              2.37-13
ii  libcap2            1:2.66-4+b2
ii  libcryptsetup12    2:2.6.1-6+b1
ii  libfdisk1          2.39.3-6
ii  libgcrypt20        1.10.3-2
ii  libkmod2           31-1
ii  liblz4-1           1.9.4-1+b2
ii  liblzma5           5.4.5-0.3
ii  libmount1          2.39.3-6
ii  libpam0g           1.5.2-9.1+b1
ii  libseccomp2        2.5.5-1
ii  libselinux1        3.5-1+b2
ii  libssl3            3.1.4-2
ii  libsystemd-shared  255.2-4
ii  libsystemd0        255.2-4
ii  libzstd1           1.5.5+dfsg2-2
ii  mount              2.39.3-6
ii  systemd-dev        255.2-4

Versions of packages systemd recommends:
ii  dbus [default-dbus-system-bus]   1.14.10-3+b1
ii  systemd-timesyncd [time-daemon]  255.2-4

Versions of packages systemd suggests:
ii  libfido2-1            1.14.0-1
pn  libip4tc2             <none>
ii  libp11-kit0           0.25.3-4
pn  libqrencode4          <none>
pn  libtss2-esys-3.0.2-0  <none>
pn  libtss2-mu0           <none>
pn  libtss2-rc0           <none>
ii  polkitd               123-3
pn  systemd-boot          <none>
pn  systemd-container     <none>
pn  systemd-homed         <none>
pn  systemd-resolved      <none>
pn  systemd-userdbd       <none>

Versions of packages systemd is related to:
ii  dbus-user-session  1.14.10-3+b1
pn  dracut             <none>
ii  initramfs-tools    0.142
ii  libnss-systemd     255.2-4
ii  libpam-systemd     255.2-4
ii  udev               255.2-4

-- Configuration Files:
/etc/systemd/logind.conf changed:
[Login]
HandlePowerKey=suspend
HandlePowerKeyLongPress=hibernate
HandleSuspendKey=ignore
HandleSuspendKeyLongPress=ignore


-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240110/0396db27/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list