Bug#782077: systemd: /etc/systemd/logind.conf HandleLidSwitchDocked not honred

Eric Valette eric2.valette at orange.com
Tue Apr 7 13:27:02 BST 2015


Package: systemd
Version: 219-6
Severity: important

Dear Maintainer,


When upgrading to the latests version of systemd, I was asked if I wanted to
keep my own modified version of /etc/systemd/logind.conf were I had been
forced to add

HandleLidSwitch=ignore

To be eable to work with my laptop when docked, the default been suspend
I guess. Doing the diff with the new version, I noticed a new flags was
available:

HandleLidSwitchDocked=ignore

so I modified my config to have

HandleLidSwitch=suspend
HandleLidSwitchDocked=ignore

Expecting to ignore the lid switch when docked but unfortunately, it
imeedaitely suspend after boot when docked. Opening the lid swictch brough
it back but it is not as expected.

Is it normal? How does systemd detect the docked status?


-- Package-specific info:

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.3 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  adduser         3.113+nmu3
ii  initscripts     2.88dsf-59
ii  libacl1         2.2.52-2
ii  libapparmor1    2.9.0-3+exp1
ii  libaudit1       1:2.4-1+b1
ii  libblkid1       2.25.2-6
ii  libc6           2.21-0experimental0
ii  libcap2         1:2.24-8
ii  libcap2-bin     1:2.24-8
ii  libcryptsetup4  2:1.6.6-5
ii  libgcrypt20     1.6.3-2
ii  libkmod2        20-1
ii  liblzma5        5.1.1alpha+20120614-2+b3
ii  libmount1       2.25.2-6
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.3-2
ii  libsystemd0     219-6
ii  mount           2.25.2-6
ii  sysv-rc         2.88dsf-59
ii  udev            219-6
ii  util-linux      2.25.2-6

Versions of packages systemd recommends:
ii  dbus            1.9.14-1
ii  libpam-systemd  219-6

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