Bug#906773: systemd-login spams logs.

Peter.Chubb at data61.csiro.au Peter.Chubb at data61.csiro.au
Mon Aug 20 23:35:50 BST 2018


Package: systemd
Version: 239-7
Severity: minor

Dear Maintainer,
On a busy server, systemd-logind spams the logs with lots and lots of
messages about user sessions.

These are not interactive sessions --- they're started by cron 
from watchdog and backup servers.  But I see:

Aug 21 08:10:01 cellar systemd[1]: Started User Manager for UID 0.
Aug 21 08:10:01 cellar systemd[1]: user-runtime-dir at 0.service: Unit not needed a
nymore. Stopping.
Aug 21 08:10:01 cellar systemd[1]: Stopping User Manager for UID 0...
Aug 21 08:10:01 cellar systemd[56661]: Stopped target Default.
Aug 21 08:10:01 cellar systemd[56661]: Stopped target Basic System.
Aug 21 08:10:01 cellar systemd[56661]: Stopped target Timers.
Aug 21 08:10:01 cellar systemd[56661]: Stopped target Sockets.
Aug 21 08:10:01 cellar systemd[56661]: Closed GnuPG cryptographic agent and pass
phrase cache.
Aug 21 08:10:01 cellar systemd[56661]: Closed GnuPG cryptographic agent and pass
phrase cache (access for web browsers).
Aug 21 08:10:01 cellar systemd[56661]: Closed GnuPG cryptographic agent and pass
phrase cache (restricted).
Aug 21 08:10:01 cellar systemd[56661]: Closed GnuPG cryptographic agent (ssh-age
nt emulation).
Aug 21 08:10:01 cellar systemd[56661]: Stopped target Paths.
Aug 21 08:10:01 cellar systemd[56661]: Closed GnuPG network certificate manageme
nt daemon.
Aug 21 08:10:01 cellar systemd[56661]: Closed D-Bus User Message Bus Socket.
Aug 21 08:10:01 cellar systemd[56661]: Reached target Shutdown.
Aug 21 08:10:01 cellar systemd[56661]: Starting Exit the Session...
Aug 21 08:10:01 cellar systemd[1]: user-runtime-dir at 0.service: Unit not needed anymore. Stopping.
Aug 21 08:10:01 cellar systemd[1]: Stopped User Manager for UID 0.
Aug 21 08:10:01 cellar systemd[1]: user-runtime-dir at 0.service: Unit not needed anymore. Stopping.
Aug 21 08:10:01 cellar systemd[1]: Stopping /run/user/0 mount wrapper...
Aug 21 08:10:01 cellar systemd[1]: Removed slice User Slice of UID 0.
Aug 21 08:10:01 cellar systemd[1]: Stopped /run/user/0 mount wrapper.

or similar every few seconds in the logs.  The default behaviour should be 
to be silent unless there's something wrong.  Plus, it seems to be doing a lot
of work that's unnecessary for a non-interactive ssh-initiated session.

Peter C


-- Package-specific info:

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-2-amd64 (SMP w/56 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  adduser          3.117
ii  libacl1          2.2.52-3+b1
ii  libapparmor1     2.13-8
ii  libaudit1        1:2.8.3-1+b1
ii  libblkid1        2.32.1-0.1
ii  libc6            2.27-5
ii  libcap2          1:2.25-1.2
ii  libcryptsetup12  2:2.0.4-2
ii  libgcrypt20      1.8.3-1
ii  libgnutls30      3.5.19-1
ii  libgpg-error0    1.32-1
ii  libidn11         1.33-2.2
ii  libip4tc0        1.6.2-1.1
ii  libkmod2         25-1
ii  liblz4-1         1.8.2-1
ii  liblzma5         5.2.2-1.3
ii  libmount1        2.32.1-0.1
ii  libpam0g         1.1.8-3.8
ii  libseccomp2      2.3.3-3
ii  libselinux1      2.8-1+b1
ii  libsystemd0      239-7
ii  mount            2.32.1-0.1
ii  procps           2:3.3.15-2
ii  util-linux       2.32.1-0.1

Versions of packages systemd recommends:
ii  dbus            1.12.10-1
ii  libpam-systemd  239-7

Versions of packages systemd suggests:
ii  policykit-1        0.105-21
pn  systemd-container  <none>

Versions of packages systemd is related to:
pn  dracut           <none>
ii  initramfs-tools  0.132
ii  udev             239-7

-- no debconf information

-- 
Dr Peter Chubb         Tel: +61 2 9490 5852      http://ts.data61.csiro.au/
Trustworthy Systems Group                     Data61, CSIRO (formerly NICTA)


More information about the Pkg-systemd-maintainers mailing list