Package: systemd
Version: 252.6-1
Severity: normal
Tags: newcomer
X-Debbugs-Cc: ali...@outlook.com

Dear Maintainer,

after upgrade to debian 12 from debian 11, the system boots using almost ~2min
to prompt login.

after check for systemd-analyze, get info:

root@vm:~# systemd-analyze time
Startup finished in 2.246s (kernel) + 2min 3.788s (userspace) = 2min 6.035s 
graphical.target reached after 2min 3.610s in userspace.

root@vm:~# systemd-analyze blame
2min 189ms systemd-networkd-wait-online.service
    4.253s kdump-tools.service
    1.910s apparmor.service
    1.267s ifupdown-pre.service
    ...

in my machine there is not using systemd-networked, and no interfaces managed by
networkd.

so i search for it online, and there was an issue in systemd's github:
systemd-networkd-wait-online waits undefinitely if no networkd managed 
interfaces
https://github.com/systemd/systemd/issues/25813

and fixed in systemd 253, with release note:

      systemd-networkd-wait-online exits successfully when all interfaces
      are ready or unmanaged. Previously, if neither '--any' nor
      '--interface=' options were used, at least one interface had to be in
      configured state. This change allows the case where systemd-networkd
      is enabled, but no interfaces are configured, to be handled
      gracefully. It may occur in particular when a different network
      manager is also enabled and used.

so i try to install systemd 253 from experimental, it fixes the long boot.

please consider patch it to debian 12 bookworm, thanks.

-- Package-specific info:

-- System Information:
Debian Release: 12.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-22-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  libacl1            2.3.1-3
ii  libaudit1          1:3.0.9-1
ii  libblkid1          2.38.1-5+b1
ii  libc6              2.36-9
ii  libcap2            1:2.66-4
ii  libcryptsetup12    2:2.6.1-4~deb12u1
ii  libfdisk1          2.38.1-5+b1
ii  libgcrypt20        1.10.1-3
ii  libkmod2           30+20221128-1
ii  liblz4-1           1.9.4-1
ii  liblzma5           5.4.1-0.2
ii  libmount1          2.38.1-5+b1
ii  libp11-kit0        0.24.1-2
ii  libseccomp2        2.5.4-1+b3
ii  libselinux1        3.4-1+b6
ii  libssl3            3.0.9-1
ii  libsystemd-shared  252.6-1
ii  libsystemd0        252.6-1
ii  libzstd1           1.5.4+dfsg2-5
ii  mount              2.38.1-5+b1

Versions of packages systemd recommends:
ii  dbus [default-dbus-system-bus]   1.14.6-1
ii  systemd-timesyncd [time-daemon]  252.6-1

Versions of packages systemd suggests:
ii  libfido2-1             1.12.0-2+b1
pn  libqrencode4           <none>
pn  libtss2-esys-3.0.2-0   <none>
pn  libtss2-mu0            <none>
pn  libtss2-rc0            <none>
pn  polkitd | policykit-1  <none>
pn  systemd-boot           <none>
pn  systemd-container      <none>
pn  systemd-homed          <none>
pn  systemd-resolved       <none>
pn  systemd-userdbd        <none>

Versions of packages systemd is related to:
ii  dbus-user-session  1.14.6-1
pn  dracut             <none>
ii  initramfs-tools    0.142
ii  libnss-systemd     252.6-1
ii  libpam-systemd     252.6-1
ii  udev               252.6-1

-- no debconf information

Reply via email to