Your message dated Mon, 13 Oct 2014 22:31:59 +0200
with message-id <[email protected]>
and subject line Re: Bug#765183: systemd: ignores user settings and shuts
systemd down when power button is pressed
has caused the Debian Bug report #765183,
regarding systemd: ignores user settings and shuts systemd down when power
button is pressed
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
765183: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765183
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Am 13.10.2014 um 22:21 schrieb Salvo Tomaselli:
> 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.
>
That's a misunderstanding.
If KDE, GNOME or XFCE are active they'll use the systemd inhibit
interface [1] and you define in your desktop session what should happen
when the power button is pressed.
If no-one is logged into a desktop environment or you use the console,
the default is indeed to power off the system (just as was the default
with acpid+acpi-support-base).
You can change that behaviour if you want in logind.conf or run
systemd-inhibit manually.
[1] http://www.freedesktop.org/wiki/Software/systemd/inhibit/
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
--- End Message ---
_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers