[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 Fri, 29 Mar 2019 16:37:22 +0000
with message-id <E1h9uVO-000DF6-VZ@fasolo.debian.org>
and subject line Bug#925160: fixed in im-config 0.42-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.42-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 00:55:07 +0900
Source: im-config
Binary: im-config
Architecture: source all
Version: 0.42-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
Changes:
 im-config (0.42-1) unstable; urgency=medium
 .
   * Better fix to reopened #925160 by:
     - Fix glob to use "*-*-*"
     - Use "emulate -R sh" trick (not script with "find") for zsh
     - Save environment variables to avoid running the problematic
       slow code twice
     - Check the existence of ibus-daemon to disable
       systemd.environment-generator script.
     - Separate wayland code from Xsession ones.
     - Move one line code from desktop to separated wayland code.
   * The above combination.  Closes: #925160
Checksums-Sha1:
 1126a0e6641be2d83e749e45df409a43f65ec244 1887 im-config_0.42-1.dsc
 6bf12342243076af7af7f9a5ee3a4720492e5724 45136 im-config_0.42.orig.tar.xz
 ba007bbed3d5ffd0f41e5f5667394c171324d8ef 8948 im-config_0.42-1.debian.tar.xz
 7bf8b4e1f7c32069bde140b52e50fce301202e05 55832 im-config_0.42-1_all.deb
 85080d72a06aa03fb27507140ca489ca0fc75ac5 5490 im-config_0.42-1_amd64.buildinfo
Checksums-Sha256:
 6da17eead5f513d5817fe3771eb5c1f1c08bac29c758628967f5b94f921abdf4 1887 im-config_0.42-1.dsc
 396cd1721519dda2edfc3bb1d4e1dd3f80db4876edd1533404c72115fcdef145 45136 im-config_0.42.orig.tar.xz
 93fbf4cbbef658c54e1ff323d06306dadf0256e6d69b7a2963207e5687ec3cdf 8948 im-config_0.42-1.debian.tar.xz
 4613cb2f2f5d12a3c6bb62c7a17476372323ce9ec7e149d68bc7287eaf8fa602 55832 im-config_0.42-1_all.deb
 de1e429a28839b237ca961b831cd72ad25558c380aedc406724f3c21af0479b8 5490 im-config_0.42-1_amd64.buildinfo
Files:
 6056d5d59e6823531ef3f9cb36864292 1887 x11 optional im-config_0.42-1.dsc
 5829d27cb9a12da26f38616fba4c0b5c 45136 x11 optional im-config_0.42.orig.tar.xz
 74fa522d3a43000d43b5b4dad0732727 8948 x11 optional im-config_0.42-1.debian.tar.xz
 83c094e751ab4ea3e1bc7533a439e903 55832 x11 optional im-config_0.42-1_all.deb
 e24e04ec42abb56efaf6cf1dbab033a6 5490 x11 optional im-config_0.42-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEMTNyTWIHiBV56V1iHhNWiB3Y15EFAlyeRIgACgkQHhNWiB3Y
15EigA//V8uo7jGWmUP5ijlLCpHE4200rpAJRs7tTxJbnvMXypVThDHOSUEXn/e1
1yiIiJDTil8SMMHdjwF2+CCknx/H2jWJHcTosXtvkPGznbZagNOdVnufnpvMgcCp
HmnD71ftz16QU/6LLHojLVBDG4yd3uie9fJ8Gn/05FmKPhRx2FsnFbxF6oWH8SEn
Icvv505CJTTmiQu+S344oK0TnFr5twKwCghaGz6FMwy0pvmpftq1pEFXBG4Y5IbZ
IT1hLVQp6u6mmR4dK5O7OTWqErQpxu8N+tcr0lODDhyfjPsNhDOy61n28D2bRYMn
HN40YlrmX3X9LR/p6aJM76G9WIKQTue1tiqfu5J60hrybXRmvozlRmUh2e1mGhlj
YpXrH0cSZHb2XJuXfdp4YqaM1rsAOB12G6sGggJqUj+uxFGMw4KnCi3pROMhXPLs
4f2xxJAjDoPVDqsofVQTCsi7qSvFy3dx57ZnHbUGaQ8m07fFIJdJrgh/lxu10ZPq
fvgFCUlhlF26btm8en57e9yLE6QL11aWBkqDfBrxzzoXfoPSd/snqv0lKCjF/Ukb
747kVuVfdbgBS+c7mcR0dPyb+VmtwXMqwl9WgFW/wF8+RhxCqtAoFlSE/a09y6I9
2CBBoCKqPI9ChCdwqoGNm0ZB5ZNiVBiaIxMfH3UQqp/Gg33MkMo=
=W16v
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: