Bug#765183: systemd: ignores user settings and shuts systemd down when power button is pressed
Salvo Tomaselli
tiposchi at tiscali.it
Mon Oct 13 21:21:18 BST 2014
Package: systemd
Version: 215-5+b1
Severity: normal
Dear Maintainer,
despite I have a script listening to events from acpid, which I use to decide which
actions to take when ACPI events occur, my system was just going off whenever I
would press the power button.
It appears that the culprit is systemd.
According to the manpage, the default values for this file /etc/systemd/logind.conf
are set so that systemd will shutdown the system in case the power button is pressed.
Once upon a time, this was done by acpid, which would first check if there were sessions
open, and then decide what to do.
If you think that systemd should take over and replace acpid, it should: behave in the same
way, by default, and provide a unix socket that lists the events, for backwards compatibility.
In any case, I think that the default values in that file are not sane, because for example,
if I tried to configure KDE to do something when the power button is pressed, systemd would
still shutdown the system.
Best, and thanks for your work!
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.4a (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages systemd depends on:
ii acl 2.2.52-2
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-53.4
ii libacl1 2.2.52-2
ii libaudit1 1:2.4-1
ii libblkid1 2.25.1-4
ii libc6 2.19-11
ii libcap2 1:2.24-6
ii libcap2-bin 1:2.24-6
ii libcryptsetup4 2:1.6.6-2
ii libgcrypt20 1.6.2-4
ii libkmod2 18-3
ii liblzma5 5.1.1alpha+20120614-2
ii libpam0g 1.1.8-3.1
ii libselinux1 2.3-2
ii libsystemd0 215-5+b1
ii sysv-rc 2.88dsf-53.4
ii udev 215-5+b1
ii util-linux 2.25.1-4
Versions of packages systemd recommends:
ii dbus 1.8.8-2
ii libpam-systemd 215-5+b1
Versions of packages systemd suggests:
pn systemd-ui <none>
-- Configuration Files:
/etc/systemd/logind.conf changed [not included]
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list