Bug#879473: systemd-logind: systemd process(es) consuming CPU when laptop lid closed
Glen B
lucky0106 at msn.com
Sun Oct 22 00:47:01 BST 2017
Package: systemd
Version: 232-25+deb9u1
Severity: normal
File: systemd-logind
* What led up to the situation?
It had been a while since my system was booted and connected to the internet. I started it around the beginning of October and installed multiple package updates. After doing so and leaving my laptop/server alone for awhile, I noticed the CPU fan working unusually hard. Multiple processes are found consuming lots of CPU. But if I open the laptop lid, they stop. My laptop is *not* supposed to do anything when the lid is closed.
* What exactly did you do (or not do) that was effective (or
ineffective)?
I discovered that I had renamed the logind.conf file to logind.conf.bak. If it's renamed back to logind.conf, the problem goes away.
* What outcome did you expect instead?
According to the comments in the conf file, a new one is supposed to be generated if it does not exist. This functionality does not appear to work.
Please see logind.conf-changes for a list of changes I've made to the default logind.conf file. As long as these changes are present, I don't experience the CPU consumption bug. pkgchanges.txt are a list of package changes I had done on my system since booting it in October and subsequently noticing the issue. topoutput.txt is a snapshot of top during this CPU consumption.
If I run the command dbus-monitor --system during this bug, it outputs a lot of information very quickly. Attached as dbus-monitor-system.txt is a short sample of this output.
-- Package-specific info:
-- System Information:
Debian Release: 9.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 4.9.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.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 adduser 3.115
ii libacl1 2.2.52-3+b1
ii libapparmor1 2.11.0-3
ii libaudit1 1:2.6.7-2
ii libblkid1 2.29.2-1
ii libc6 2.24-11+deb9u1
ii libcap2 1:2.25-1
ii libcryptsetup4 2:1.7.3-4
ii libgcc1 1:6.3.0-18
ii libgcrypt20 1.7.6-2+deb9u2
ii libgpg-error0 1.26-2
ii libidn11 1.33-1
ii libip4tc0 1.6.0+snapshot20161117-6
ii libkmod2 23-2
ii liblz4-1 0.0~r131-2+b1
ii liblzma5 5.2.2-1.2+b1
ii libmount1 2.29.2-1
ii libpam0g 1.1.8-3.6
ii libseccomp2 2.3.1-2.1
ii libselinux1 2.6-3+b3
ii libsystemd0 232-25+deb9u1
ii mount 2.29.2-1
ii procps 2:3.3.12-3
ii util-linux 2.29.2-1
Versions of packages systemd recommends:
ii dbus 1.10.22-0+deb9u1
ii libpam-systemd 232-25+deb9u1
Versions of packages systemd suggests:
pn policykit-1 <none>
pn systemd-container <none>
pn systemd-ui <none>
Versions of packages systemd is related to:
pn dracut <none>
ii initramfs-tools 0.130
ii udev 232-25+deb9u1
-- Configuration Files:
/etc/systemd/logind.conf [Errno 2] No such file or directory: '/etc/systemd/logind.conf'
-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20171021/60842129/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fstab
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20171021/60842129/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: systemd-delta.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20171021/60842129/attachment-0006.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: systemd-analyze-dump.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20171021/60842129/attachment-0007.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dsh-enabled.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20171021/60842129/attachment-0008.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: logind.conf-changes.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20171021/60842129/attachment-0009.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pkgchanges.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20171021/60842129/attachment-0010.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: topoutput.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20171021/60842129/attachment-0011.txt>
More information about the Pkg-systemd-maintainers
mailing list