[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#925160: marked as done (systemd: user session slow to start (11 seconds))



Your message dated Sat, 23 Mar 2019 20:50:57 +0000
with message-id <E1h7nbV-0001pM-4U@fasolo.debian.org>
and subject line Bug#925160: fixed in im-config 0.40-1
has caused the Debian Bug report #925160,
regarding systemd: user session slow to start (11 seconds)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
925160: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925160
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: systemd
Version: 241-2
Severity: important


Dear Maintainer,

on this system, an initial ssh connection needs 11 seconds to complete (as root or any other user).  Further connections are fast.
This is not a slow boot problem because it occurs even when the machine has been booted for days.

It comes from a slow start of the user's session as can be seen in this log:

Mar 20 15:06:27 hostname sshd[172771]: Accepted publickey for root from 193.55.51.153 port 53702 ssh2: RSA SHA256:wmFQ70BsRjT4uCWua2ddnbfFv7kiMecLHVNtZMw0KMk
Mar 20 15:06:27 hostname sshd[172771]: pam_unix(sshd:session): session opened for user root by (uid=0)
Mar 20 15:06:27 hostname systemd-logind[743]: New session 3373 of user root.
Mar 20 15:06:27 hostname systemd[1]: Starting User Manager for UID 0...
Mar 20 15:06:27 hostname systemd[172774]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
[11 seconds gap]
Mar 20 15:06:38 hostname systemd[172774]: Listening on GnuPG network certificate management daemon.
Mar 20 15:06:38 hostname systemd[172774]: Reached target Timers.
Mar 20 15:06:38 hostname systemd[172774]: Listening on GnuPG cryptographic agent and passphrase cache.
Mar 20 15:06:38 hostname systemd[172774]: Reached target Paths.
Mar 20 15:06:38 hostname systemd[172774]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Mar 20 15:06:38 hostname systemd[172774]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Mar 20 15:06:38 hostname systemd[172774]: Listening on Multimedia System.
Mar 20 15:06:38 hostname systemd[172774]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Mar 20 15:06:38 hostname systemd[172774]: Condition check resulted in Sound System being skipped.
Mar 20 15:06:38 hostname systemd[172774]: Starting D-Bus User Message Bus Socket.
Mar 20 15:06:38 hostname systemd[172774]: Listening on D-Bus User Message Bus Socket.
Mar 20 15:06:38 hostname systemd[172774]: Reached target Sockets.
Mar 20 15:06:38 hostname systemd[172774]: Reached target Basic System.
Mar 20 15:06:38 hostname systemd[172774]: Reached target Default.
Mar 20 15:06:38 hostname systemd[172774]: Startup finished in 11.151s.
Mar 20 15:06:38 hostname systemd[1]: Started User Manager for UID 0.
Mar 20 15:06:38 hostname systemd[1]: Started Session 3373 of user root.

The problem can also be seen here:

# systemd-analyze --user
Startup finished in 11.151s (userspace) 
default.target reached after 11.151s in userspace

# systemd-analyze --user blame
             7ms dbus.socket

# systemd-analyze --user critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

default.target @11.151s
└─basic.target @11.150s
  └─sockets.target @11.150s
    └─dbus.socket @11.143s +7ms
      └─run-user-0.mount @11.137s
        └─-.mount @11.137s
          └─-.slice @11.137s

In a further e-mail I will send the output of this command:

# systemd-analyze --user dump


-- Package-specific info:

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

Kernel: Linux 4.19.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.
UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  adduser          3.118
ii  libacl1          2.2.53-4
ii  libapparmor1     2.13.2-9
ii  libaudit1        1:2.8.4-2
ii  libblkid1        2.33.1-0.1
ii  libc6            2.28-8
ii  libcap2          1:2.25-2
ii  libcryptsetup12  2:2.1.0-2
ii  libgcrypt20      1.8.4-5
ii  libgnutls30      3.6.6-3
ii  libgpg-error0    1.36-1
ii  libidn11         1.33-2.2
ii  libip4tc0        1.8.2-4
ii  libkmod2         26-1
ii  liblz4-1         1.8.3-1
ii  liblzma5         5.2.4-1
ii  libmount1        2.33.1-0.1
ii  libpam0g         1.3.1-5
ii  libseccomp2      2.3.3-4
ii  libselinux1      2.9-1
ii  libsystemd0      241-2
ii  mount            2.33.1-0.1
ii  util-linux       2.33.1-0.1

Versions of packages systemd recommends:
ii  dbus            1.13.8-1
ii  libpam-systemd  241-2

Versions of packages systemd suggests:
ii  policykit-1        0.115-3
ii  systemd-container  241-2

Versions of packages systemd is related to:
pn  dracut           <none>
ii  initramfs-tools  0.133
ii  udev             241-2

-- no debconf information

-- 
Laurent.

--- End Message ---
--- Begin Message ---
Source: im-config
Source-Version: 0.40-1

We believe that the bug you reported is fixed in the latest version of
im-config, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 925160@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Osamu Aoki <osamu@debian.org> (supplier of updated im-config package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 24 Mar 2019 05:03:35 +0900
Source: im-config
Binary: im-config
Architecture: source all
Version: 0.40-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Osamu Aoki <osamu@debian.org>
Description:
 im-config  - Input method configuration framework
Closes: 877312 925160
Changes:
 im-config (0.40-1) unstable; urgency=medium
 .
   [ YOSHINO Yoshihito ]
   * Speed up by avoid using "find" but work around ddm+zsh
     problem originally reported at Bug#905129.
 .
   [ Osamu Aoki ]
   * Disable im-config for Gnome on wayland by default.
     Closes: #925160, #877312
   * Add im-launch-wayland to simplify code.
   * Avoid running time consuming code section twice.
Checksums-Sha1:
 4a4e8519604f6d4e75529dbea62acc7389910f53 1864 im-config_0.40-1.dsc
 1981ea7fb6d2a7727ef17523aff90320895dfbcc 45240 im-config_0.40.orig.tar.xz
 b3b31a09cdf3dd8046cad6a81a7de9cdf9f84649 8740 im-config_0.40-1.debian.tar.xz
 e57beab851ca2a3026cbd6e72855346c8982e58e 55816 im-config_0.40-1_all.deb
 8e7563aae63f3e653df6375057d2f44352d68eca 5490 im-config_0.40-1_amd64.buildinfo
Checksums-Sha256:
 12445711ae6e82eff7a3a1f3990775eb423b0184977fe63946c36ebbf6976a74 1864 im-config_0.40-1.dsc
 24e82e8b001e18a4c54bad4b7f6178f2b20287f16690a13fa0bd4c561858a5ea 45240 im-config_0.40.orig.tar.xz
 c04da580e3da75f79d081d909b88e16efacd8ce69ac42ea9d0583c1e73bdc84a 8740 im-config_0.40-1.debian.tar.xz
 6d5a0e17512059a699eb557265ec6a78ff6762c0d6c5a5e22421105a3672c9a6 55816 im-config_0.40-1_all.deb
 313308f63888af9c22d4afcddacf5ca0c44eeef9d176a715c49f63f253e5c352 5490 im-config_0.40-1_amd64.buildinfo
Files:
 32e2cc499f97ba8f13dd31016be6039a 1864 x11 optional im-config_0.40-1.dsc
 b584e230f1def0f731e0231d2b304348 45240 x11 optional im-config_0.40.orig.tar.xz
 cd17e3164358de10cfa6f1e99709456a 8740 x11 optional im-config_0.40-1.debian.tar.xz
 dafd75400ab84510167cd2678709bcf6 55816 x11 optional im-config_0.40-1_all.deb
 d5236f6b3102821bef28688624e1d8b0 5490 x11 optional im-config_0.40-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIyBAEBCgAdFiEEMTNyTWIHiBV56V1iHhNWiB3Y15EFAlyWkjsACgkQHhNWiB3Y
15HARw/4zfcITsrXTVbcaOG1LhZ+HahosyQy1a4/EzTNOvhexm3R5PUMHSH9uU1P
WBaf9WaNoCHaPxWTUngfhPN/4rWlWl7Sk8ASSuQR/Dv/HtX7IhKumdgBt5nCv1Bj
58V/3i6zTj5wuApP0Lu5ypKMDMrDEiMoqjajyQWkjauzdsX85vwaBU5yrhtJUClk
rOJVQVPGRn3V3KlPbJVmTYtnDxP6LKqLrT+EXqHRFG1wRgHRdNQ5afTAsbFTj80k
uB70R01NWlHkWbRSdg7VG63cjQ+mMo/Iatkx4/3TsMQ3aLzFJuj0LXyChdmbKHZF
yVS9TPAvut5sNBp9vxU4rOE6pBxlemjDgAUnPX2HqHwcr6yygQEEWbQkIxr62BGz
AvC6FE0gH8xRHR3ZYvUmKM0wNbWdSFRdp3DWe9rF0rgA1eeKSU0b3eFp7k6auUXo
9PY7JWkTO4z3houwIzudDeYNOhyrSRGTzkqTZdHEjfjy80gMgaVEzNpdWOgwa6q3
zuBWXhLku6bpJQXfHhcaaEhWtngclffk/KxPTQ3kkYspVerHnqXasPI64caUKSHd
EN/MEO5nJGC4LVKu2rF+uxpPgWNrLhwept3GLkbqqu8PAMd/75souNgs4UGMDSVj
bZYX7VzCdbi2DLw8YytBK+F+nu8MvdJjIuCrEDPRD6iIDR157Q==
=wJue
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: