Bug#778464: systemd: HandleLidSwitch=suspend in /etc/systemd/logind.conf ignored since one of the recent uploads

Axel Beckert abe at debian.org
Sun Feb 15 12:59:36 GMT 2015

Package: systemd
Version: 215-12
Severity: grave
Justification: Unexpected behaviour change during freeze which may lead to hardware damage

Dear Maintainer,

   * What led up to the situation?

After 50 days of uptime I recently rebooted my Thinkpad X240. Last two
reboots were on:

# uprecords -Bm2
     #               Uptime | System                                     Boot up
->   1     0 days, 15:02:01 | Linux 3.18.0-trunk-amd64  Sat Feb 14 22:54:17 2015
     2    50 days, 22:14:05 | Linux 3.18.0-trunk-amd64  Sun Dec 21 12:33:48 2014

   * What exactly did you do (or not do) that was effective (or

I have HandleLidSwitch=suspend set in /etc/systemd/logind.conf.

Full diff of logind.conf against default contents:

$ diff /etc/systemd/logind.conf.dpkg-dist /etc/systemd/logind.conf
> #Controllers=
> #ResetControllers=cpu
< #HandleLidSwitch=suspend
> HandleLidSwitch=suspend
< #RuntimeDirectorySize=10%
< #RemoveIPC=yes

   * What was the outcome of this action?

Until the last reboot, the laptop went to sleep if I closed the
lid. Since that reboot it no more does so since the reboot which made it
stay running inside its sleeve and starting to heat up.

I can't tell if it would have happened with just systemd upgraded from
215-11 to 215-12 as that happened just 10 minutes before the reboot. So
this issue may be present for a longer time in systemd if only a reboot
actually makes the change effective.

   * What outcome did you expect instead?

Still going to sleep as it did for many months, at least since the start
of the freeze.

-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150215/906d8c0d/attachment.ksh>
-------------- next part --------------

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental'), (109, 'buildd-unstable'), (109, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.18.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  acl             2.2.52-2
ii  adduser         3.113+nmu3
ii  initscripts     2.88dsf-58
ii  libacl1         2.2.52-2
ii  libaudit1       1:2.4-1+b1
ii  libblkid1       2.25.2-5
ii  libc6           2.19-15
ii  libcap2         1:2.24-6
ii  libcap2-bin     1:2.24-6
ii  libcryptsetup4  2:1.6.6-5
ii  libgcrypt20     1.6.2-4+b1
ii  libkmod2        18-3
ii  liblzma5        5.1.1alpha+20120614-2+b3
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.3-2
ii  libsystemd0     215-12
ii  mount           2.25.2-5
ii  sysv-rc         2.88dsf-58
ii  udev            215-12
ii  util-linux      2.25.2-5

Versions of packages systemd recommends:
ii  dbus            1.8.16-1
ii  libpam-systemd  215-12

Versions of packages systemd suggests:
ii  systemd-ui  3-2

-- Configuration Files:
/etc/systemd/logind.conf changed:

-- no debconf information

More information about the Pkg-systemd-maintainers mailing list