[Pkg-systemd-maintainers] Bug#717661: New suspend functionality causes double-suspend for environments not supporting the inhibit API
Michael Biebl
biebl at debian.org
Tue Jul 23 15:44:32 BST 2013
Package: systemd
Version: 204-1
Severity: normal
Starting with systemd v183, systemd will handle power events, e.g.
{power,sleep,hibernate} button presses, lid switch events and react
accordindly.
Desktop environments, which want to handle power events themselves, are
supposed to use the inhibit API [1], to tell logind which keys they want
to handle on their own.
KDE 4.10 (in sid) and GNOME 3.8 (currently in experimental) have support
for that inhibit API.
For other environments, this react to power events themselves, this
means that we will get a double-suspend if such an event happens.
Logind has a configuration file [1], which allows to configure how
logind reacts on those various events and it has a command line tool
systemd-inhibit, which can be used to tell logind to not react on power
events.
We could ask alternative desktop environments, to ship an xdg autostart
file for their particular DE, running systemd-inhibit, if they want to
handle power management themselves.
We could also ship an autostart file in systemd itself, which runs
everywhere besides GNOME and KDE
Idea, suggestions?
Michael
[1] http://www.freedesktop.org/wiki/Software/systemd/inhibit/
[2] http://cgit.freedesktop.org/systemd/systemd/tree/src/login/logind.conf
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages systemd depends on:
ii initscripts 2.88dsf-43
ii libacl1 2.2.52-1
ii libaudit0 1:1.7.18-1.1
ii libc6 2.17-7
ii libcap2 1:2.22-1.2
ii libcryptsetup4 2:1.6.1-1
ii libdbus-1-3 1.6.12-1
ii libgcrypt11 1.5.2-3
ii libkmod2 9-3
ii liblzma5 5.1.1alpha+20120614-2
ii libpam0g 1.1.3-9
ii libselinux1 2.1.13-2
ii libsystemd-daemon0 204-1
ii libsystemd-journal0 204-1
ii libudev1 204-1
ii libwrap0 7.6.q-24
ii udev 204-1
ii util-linux 2.20.1-5.5
Versions of packages systemd recommends:
ii libpam-systemd 204-1
Versions of packages systemd suggests:
ii systemd-ui 2-2
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list