Bug#768025: systemd-logind: default configuration breaks any existing ACPI button handling

Bjørn Mork bjorn at mork.no
Tue Nov 4 09:51:21 GMT 2014


Package: systemd
Version: 215-5+b1
Severity: critical
Justification: breaks unrelated software

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

systemd-logind breaks acpid by default.

Merely installing systemd with default configuration causes it to start
handling the PowerKey, LidSwitch, HibernateKey and SuspendKey without
considering existing acpid configuration.  This completely breaks those
events to break due to the double handling (pressing either of these
buttons two times does not give the desired result).

acpid and systemd are unrelated according to dependencies.  The breakage
is therefore unexpected.

Note that this bug affects systems using sysvinit as well. systemd is
dragged in by policykit, and systemd-logind will be started by dbus on
request regardless of the init system being used.


Bjørn

- -- Package-specific info:

- -- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable'), (500, 'testing-updates'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.0-rc3 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.2-2
ii  libc6           2.19-12
ii  libcap2         1:2.24-6
ii  libcap2-bin     1:2.24-6
ii  libcryptsetup4  2:1.6.6-3
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.2-2

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:
[Login]
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore


- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRYoZYACgkQ10rqkowbIskBEACdGQyrci0zI+0RV4QkbP/5H7M1
wXEAnj7CqasQJWzW+C1BqUwPv+sHJ8e5
=sFS0
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemd-delta.txt
Type: text/x-diff
Size: 22746 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20141104/21431f35/attachment-0001.diff>
-------------- next part --------------
==> /var/lib/systemd/deb-systemd-helper-enabled/ssh.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/ssh.service
/etc/systemd/system/sshd.service

==> /var/lib/systemd/deb-systemd-helper-enabled/sshd.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/dbus-org.freedesktop.ModemManager1.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/inetd.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/inetd.service

==> /var/lib/systemd/deb-systemd-helper-enabled/smartd.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/smartd.service

==> /var/lib/systemd/deb-systemd-helper-enabled/atd.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/atd.service

==> /var/lib/systemd/deb-systemd-helper-enabled/binfmt-support.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/binfmt-support.service

==> /var/lib/systemd/deb-systemd-helper-enabled/cups.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/cups.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/docker.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/docker.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/gpsd.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/gpsd.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/rsyslog.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/syslog.service

==> /var/lib/systemd/deb-systemd-helper-enabled/cups.service.dsh-also <==
/etc/systemd/system/sockets.target.wants/cups.socket
/etc/systemd/system/paths.target.wants/cups.path
/etc/systemd/system/printer.target.wants/cups.service

==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/docker.socket <==

==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/gpsd.socket <==

==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/cups.socket <==

==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/acpid.socket <==

==> /var/lib/systemd/deb-systemd-helper-enabled/cgmanager.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/cgmanager.service

==> /var/lib/systemd/deb-systemd-helper-enabled/printer.target.wants/cups.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/cups.path.dsh-also <==
/etc/systemd/system/paths.target.wants/cups.path

==> /var/lib/systemd/deb-systemd-helper-enabled/gpsd.service.dsh-also <==
/etc/systemd/system/sockets.target.wants/gpsd.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/acpid.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/acpid.service

==> /var/lib/systemd/deb-systemd-helper-enabled/bluetooth.service.dsh-also <==
/etc/systemd/system/bluetooth.target.wants/bluetooth.service
/etc/systemd/system/dbus-org.bluez.service

==> /var/lib/systemd/deb-systemd-helper-enabled/dbus-org.bluez.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/fstrim.timer.dsh-also <==
/etc/systemd/system/multi-user.target.wants/fstrim.timer

==> /var/lib/systemd/deb-systemd-helper-enabled/bind9.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/bind9.service

==> /var/lib/systemd/deb-systemd-helper-enabled/lm-sensors.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/lm-sensors.service

==> /var/lib/systemd/deb-systemd-helper-enabled/cron.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/cron.service

==> /var/lib/systemd/deb-systemd-helper-enabled/anacron.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/anacron.service

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/inetd.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/rsyslog.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/cups.path <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/fstrim.timer <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/lm-sensors.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/bind9.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/smartd.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/anacron.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/atd.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ModemManager.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ssh.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/cron.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/binfmt-support.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/pppd-dns.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/redis-server.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/bind9-resolvconf.service.dsh-also <==
/etc/systemd/system/bind9.service.wants/bind9-resolvconf.service

==> /var/lib/systemd/deb-systemd-helper-enabled/docker.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/docker.service

==> /var/lib/systemd/deb-systemd-helper-enabled/ModemManager.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/ModemManager.service
/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service

==> /var/lib/systemd/deb-systemd-helper-enabled/syslog.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/redis-server.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/redis-server.service

==> /var/lib/systemd/deb-systemd-helper-enabled/ssh.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/ssh.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/pppd-dns.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/pppd-dns.service

==> /var/lib/systemd/deb-systemd-helper-enabled/cgproxy.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/cgproxy.service

==> /var/lib/systemd/deb-systemd-helper-enabled/acpid.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/acpid.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/bluetooth.target.wants/bluetooth.service <==
-------------- next part --------------
# /etc/fstab: static file system information.
# $Id: fstab,v 1.30 2014/07/22 06:58:53 bjorn Exp $
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
#
# / was on /dev/sda2 during installation
UUID=134f61b8-0385-4706-bfc5-184df8fea3c7	/               ext4    noatime,errors=remount-ro	0       1
# swap was on /dev/sda3 during installation
UUID=5cfcfb13-d9d5-476e-8a54-96783ec9f507	none            swap    sw				0       0

proc						/proc		proc		defaults			0	0
/dev/cdrom					/cdrom		udf,iso9660	user,noauto			0	0

# pseudo fs - auto mount since we always mount it anyways....
debug	/sys/kernel/debug	debugfs	mode=0700


# Gult nett
//134.47.162.106/TBS-Data$ /mnt/f cifs noauto,ro,workgroup=TELENOR,uid=bjorn,credentials=/home/bjorn/pw/gul

# kopiert fra "net use" på Windows:
//tns-fbu-2f-004.corp.telenor.no/Networks-enhet1$	/mnt/g	cifs	noauto,rw,workgroup=TELENOR,uid=bjorn,credentials=/home/bjorn/pw/gul,user
//tns-fbu-2f-125.corp.telenor.no/User-125$/t526562	/mnt/h	cifs	noauto,rw,workgroup=TELENOR,uid=bjorn,credentials=/home/bjorn/pw/gul,user
//tns-fbu-2f-018.corp.telenor.no/Global$		/mnt/i	cifs	noauto,rw,workgroup=TELENOR,uid=bjorn,credentials=/home/bjorn/pw/gul,user
//tns-fbu-22-816.corp.telenor.no/Prog			/mnt/p	cifs	noauto,rw,workgroup=TELENOR,uid=bjorn,credentials=/home/bjorn/pw/gul,user

# edok - for nedlasting av midlertidige filer. krever samtidig webaksess
//edok-web/dl_fileload /mnt/edok cifs noauto,ro,workgroup=TELENOR,uid=bjorn,credentials=/home/bjorn/pw/gul

## fuse file systems
# W880i over bluetooth - needs channel (7) specified
obexfs#-b00-1B-59-6F-1F-7C\040-B7    /mnt/w880i    fuse    user,allow_other,noauto
# K810i over bluetooth - needs channel (7) specified
obexfs#-b00-1C-A4-57-12-04\040-B7    /mnt/k810i    fuse    user,allow_other,noauto

## alternate mobile phone mounts
/dev/sdb1			/mnt/x10-usb	vfat	defaults,user,noauto,noatime,shortname=lower
/dev/sdc1			/mnt/k810i-usb	vfat	user,noauto,noatime,shortname=lower

# Western Digital 250GB USB disk
UUID=f971f594-a60f-4668-b915-1391269dc5a7	/mnt/wd250usb	ext3		noatime,noauto

# Western Digital My PAssport Ultra 2TB USB3 disk
UUID=a670a5ce-e118-4a60-a9ee-7b5b5794c058	/mnt/ultra2TB	ext3		noatime,noauto


# GoPro Hero3+ black
##UUID=006A-8B41					/mnt/gopro	exfat		ro,noauto,noatime
/dev/disk/by-id/usb-GoPro_Storage_123456789ABC-0:0-part1	/mnt/gopro	exfat		ro,noauto,noatime

# diverse film-greier
canardo.mork.no:/mnt/media		/mnt/film	nfs	proto=tcp,soft,user,noauto,noatime
canardo.mork.no:/mnt/media/Music/CDs	/mnt/rip/CDs	nfs	nfsvers=3,proto=tcp,soft,user,noauto,noatime,rw
canardo.mork.no:/mnt/media/Video/DVDs	/mnt/rip/DVDs	nfs	nfsvers=3,proto=tcp,soft,user,noauto,noatime,rw

# kamera
gphotofs /mnt/camera fuse users,rw,noauto,defaults 0   0




More information about the Pkg-systemd-maintainers mailing list