[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 Sun, 31 Mar 2019 14:47:51 +0000
with message-id <E1hAbkV-0006Yy-K6@fasolo.debian.org>
and subject line Bug#925160: fixed in im-config 0.43-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.43-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: Sat, 30 Mar 2019 21:06:10 +0900
Source: im-config
Binary: im-config
Architecture: source all
Version: 0.43-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: 925160 926016
Changes:
 im-config (0.43-1) unstable; urgency=medium
 .
   * Minimal change from the testing 0.39-1 upload aiming for buster release.
   * The slow execution #925160 bug is addressed by disabling useless
     checks by imconfig_find_files_with_prefixpath_glob.
   * The 0.39-1 upload caused regression on the most common Gnome wayland
     system with ibus since Gnome also tries to set up input method.
     This regression is fixed by making 70-im-config and
     im-launch.desktop conditional to the existence of ibus-daemon.
     Closes: #925160
   * The 0.39-1 upload caused another regression of lost $HOME value.
     This regression is fixed by adding HOME to the env command argument
     in im-launch.
   * House keeping to erase conffile introduced by some unstable packages
     using dpkg-maintscript-helper.  Closes: #926016
Checksums-Sha1:
 593e97e315e925920ad96560ae9f986589d4c201 1864 im-config_0.43-1.dsc
 d941fb1f52c8041d06095e20cdcecfebd42ea9f0 45124 im-config_0.43.orig.tar.xz
 9c68185b17b33e4493ec346057d24600c8ecdcfe 9296 im-config_0.43-1.debian.tar.xz
 cf8ae87d7fb76d543e0336b07222e47006ad9697 55964 im-config_0.43-1_all.deb
 0e69347281b4e5158290d7a4e9aaa690eb5ad258 5490 im-config_0.43-1_amd64.buildinfo
Checksums-Sha256:
 696c7a2d8de927c3c6af24095fd3de51f600819d2d1d42f049299f98015812af 1864 im-config_0.43-1.dsc
 acfe16cc0c5b77e2d047626f7b1d73420e423c66664e23fc78b22bae7618e173 45124 im-config_0.43.orig.tar.xz
 0f1d497b6f3d1dc8911dc1a2bf1feb37111c1d07ee01c1f47e2874e9dd68bc6a 9296 im-config_0.43-1.debian.tar.xz
 81ff3a5fff6dd9f97f7b962fa9eaacb31dc37289699c198b96e832252dc82eb6 55964 im-config_0.43-1_all.deb
 ff1c77e56048304fdfe12439e99f1d32d7f81aac0636ae5d3855a7305f26b9c7 5490 im-config_0.43-1_amd64.buildinfo
Files:
 61fe314604383886b2a350aac7145389 1864 x11 optional im-config_0.43-1.dsc
 7a45a7e0fe66be16526ee41f81fffd79 45124 x11 optional im-config_0.43.orig.tar.xz
 fa86dc9b9b0fbbcc4a1bd39e963f13c7 9296 x11 optional im-config_0.43-1.debian.tar.xz
 ba4bb8f8a9770288fc31a7fe126eb063 55964 x11 optional im-config_0.43-1_all.deb
 e278a357928c8b43301e82657bbf06ae 5490 x11 optional im-config_0.43-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEMTNyTWIHiBV56V1iHhNWiB3Y15EFAlygy4gACgkQHhNWiB3Y
15HQdg//cWKn3mdD4XYu246ETcsAeZKvGqbEmFKTvA2OzQXHS4SW49Lo+98BukEJ
MlyTW91wF9ptxj4SOWWCtMxvmkA0LhrgCZuG46txt3f5L2sE3caYJsAxCpVwvo9Q
oeA9q41jZSL3u5gO+o8sLaMXx5FKkygfMy8L5duuc7OLecwmPR5nkQntiux3UvTQ
L+LtPDVKhtP00Gv9HsALWqrrQux+esvzOumESNL1GT8OXAFp6XxRAIQWtD79qM+C
tXBqs5fGJbjbN5PaotZHUZiZjCTrDEPyoMCBxv1ueWM8XZVocp1k2/SOWmZ9nbhE
bNCS0xg0JNGytfCzaBqtfgpgjUPUebNnpQOuua6Cga/5FeXMn9pnxgj2fnO/YP3D
hY8IyAPDf/ep/bTePeMnG1t2lqaloaR0k/ENF453jkNR3rkBX85JKzhaEf6jPD8h
4rqmGNt/lGeZdt5lYEVbJzz7BAxKcduiO9qaGh84YH5XHLLDrtp8dRrAx4BBHZP7
wY0b+I+20jrCHS4jm5LYobQTDrnL5q5DLjTul4kU3dImhlxv89qogDHhZDhJsmCo
83ejv87uV/B96DeIrIQsPRhMqw3ZnEemE/r1w2l4+963EkfSV3F26qfd8whJPG9a
93nEeBTtHkJcmvEMqCvRnWBznCZ5dIPjBTmtGwP+ojZUNi/ll5I=
=eBzn
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: