[Pkg-acpi-devel] Bug#783466: acpid: Please describe the interaction with systemd/logind
Vincent Lefevre
vincent at vinc17.net
Mon Apr 27 09:05:32 UTC 2015
Package: acpid
Version: 1:2.0.23-2
Severity: wishlist
The current acpid description:
Description: Advanced Configuration and Power Interface event daemon
Modern computers support the Advanced Configuration and Power Interface (ACPI)
to allow intelligent power management on your system and to query battery and
configuration status.
.
ACPID is a completely flexible, totally extensible daemon for delivering
ACPI events. It listens on netlink interface (or on the deprecated file
/proc/acpi/event), and when an event occurs, executes programs to handle the
event. The programs it executes are configured through a set of configuration
files, which can be dropped into place by packages or by the admin.
i.e. no mention of systemd and logind while
https://www.debian.org/releases/jessie/amd64/release-notes/ch-information.en.html#idp943504
says:
5.6.5. Interaction between logind and acpid
ACPI events can be handled by logind or acpid. In case both services
are configured to handle events in different ways, this can lead to
undesired results.
We recommend to migrate any non-default settings to logind and
uninstall acpid. Alternatively it is also possible to configure
logind to ignore ACPI events by adding:
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
to /etc/systemd/logind.conf. Note that this might change behaviour
of desktop environments relying on logind.
If I understand correctly: If logind is used, then it is recommended
not to have acpid installed (assuming that logind replaces acpid
completely). Describing (shortly) the interaction between logind
and acpid would give useful information to the user when wondering
whether acpid is needed or not (in particular when comparing with
old machines).
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages acpid depends on:
ii init-system-helpers 1.22
ii kmod 20-1
ii libc6 2.19-18
ii lsb-base 4.1+Debian13+nmu1
Versions of packages acpid recommends:
ii acpi-support-base 0.142-6
acpid suggests no packages.
-- no debconf information
More information about the Pkg-acpi-devel
mailing list