New Hardware, new install: Boot takes long time

Hi,
I bought a new hardware; ASRock B550M Steel Legend Mobo, AMD Ryzen 5600G, 2x8 GB RAM, Samsung 1TB nvme SSD.
I just installed Opensuse 15.3 MATE and need help.
Boot process takes long. Look at 14:53:25 then 14:53:49. Something in the network takes long, desktop or router? IPV6 (I don’t use it)?

Mar 15 14:53:24 ASR5600G systemd[1]: Starting System Logging Service...
Mar 15 14:53:24 ASR5600G rsyslogd[1745]: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd.  [v8.2106.0]
Mar 15 14:53:24 ASR5600G rsyslogd[1745]: [origin software="rsyslogd" swVersion="8.2106.0" x-pid="1745" x-info="https://www.rsyslog.com"] start
Mar 15 14:53:24 ASR5600G systemd[1]: Started System Logging Service.
Mar 15 14:53:25 ASR5600G avahi-daemon[1125]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::7285:c2ff:fe94:4da7.
Mar 15 14:53:25 ASR5600G avahi-daemon[1125]: New relevant interface eth0.IPv6 for mDNS.
Mar 15 14:53:25 ASR5600G avahi-daemon[1125]: Registering new address record for fe80::7285:c2ff:fe94:4da7 on eth0.*.
Mar 15 14:53:49 ASR5600G wicked[1261]: lo              up
Mar 15 14:53:49 ASR5600G wicked[1261]: eth0            setup-in-progress
Mar 15 14:53:49 ASR5600G systemd[1]: Finished wicked managed network interfaces.
Mar 15 14:53:49 ASR5600G systemd[1]: Reached target Network.
Mar 15 14:53:49 ASR5600G systemd[1]: Reached target Network is Online.
Mar 15 14:53:49 ASR5600G systemd[1]: Starting Automounts filesystems on demand...
Mar 15 14:53:49 ASR5600G systemd[1]: Starting NTP client/server...
Mar 15 14:53:49 ASR5600G systemd[1]: Starting Permit User Sessions...
Mar 15 14:53:49 ASR5600G systemd[1]: Finished Permit User Sessions.
Mar 15 14:53:49 ASR5600G systemd[1]: Starting Hold until boot process finishes up...
Mar 15 14:53:49 ASR5600G chronyd[1759]: chronyd version 3.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP -SCFILTER +SECHASH -SIGND +ASYNCDNS +IPV6 -DEBUG)
Mar 15 14:53:49 ASR5600G chronyd[1759]: Frequency 5.602 +/- 1.218 ppm read from /var/lib/chrony/drift
Mar 15 14:53:49 ASR5600G systemd[1]: tmp-autoF3BipS.mount: Succeeded.
Mar 15 14:53:49 ASR5600G systemd[1]: tmp-autoqvnlCT.mount: Succeeded.
Mar 15 14:53:49 ASR5600G systemd[1]: Started Automounts filesystems on demand.
Mar 15 14:53:49 ASR5600G systemd[1]: Starting User Login Management...
Mar 15 14:53:49 ASR5600G systemd[1]: Started NTP client/server.
Mar 15 14:53:49 ASR5600G systemd[1]: Reached target System Time Synchronized.
Mar 15 14:53:49 ASR5600G systemd[1]: Started Backup of RPM database.
Mar 15 14:53:49 ASR5600G systemd[1]: Started Backup of /etc/sysconfig.
Mar 15 14:53:49 ASR5600G systemd[1]: Started Balance block groups on a btrfs filesystem.
Mar 15 14:53:49 ASR5600G systemd[1]: Started Defragment file data and/or directory metadata.
Mar 15 14:53:49 ASR5600G systemd[1]: Started Scrub btrfs filesystem, verify block checksums.
Mar 15 14:53:49 ASR5600G systemd[1]: Started Discard unused blocks on a mounted filesystem.
Mar 15 14:53:49 ASR5600G systemd[1]: Started Check if mainboard battery is Ok.
Mar 15 14:53:49 ASR5600G systemd[1]: Started Discard unused blocks once a week.
Mar 15 14:53:49 ASR5600G systemd[1]: Started Daily rotation of log files.
Mar 15 14:53:49 ASR5600G systemd[1]: Started Do daily mandb update.
Mar 15 14:53:49 ASR5600G systemd[1]: Started Timeline of Snapper Snapshots.
Mar 15 14:53:49 ASR5600G systemd[1]: Reached target Timers.
Mar 15 14:53:49 ASR5600G systemd[1]: Starting Postfix Mail Transport Agent...
Mar 15 14:53:49 ASR5600G echo[1791]: Starting mail service (Postfix)
Mar 15 14:53:49 ASR5600G systemd-logind[1769]: New seat seat0.
Mar 15 14:53:49 ASR5600G systemd-logind[1769]: Watching system buttons on /dev/input/event5 (Power Button)
Mar 15 14:53:49 ASR5600G systemd-logind[1769]: Watching system buttons on /dev/input/event4 (Power Button)
Mar 15 14:53:49 ASR5600G systemd-logind[1769]: Watching system buttons on /dev/input/event2 (ASRock LED Controller)
Mar 15 14:53:49 ASR5600G systemd-logind[1769]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard)
Mar 15 14:53:49 ASR5600G systemd[1]: Started User Login Management.
Mar 15 14:53:49 ASR5600G systemd[1]: Starting X Display Manager...
Mar 15 14:53:49 ASR5600G display-manager[1830]: /etc/vconsole.conf available
Mar 15 14:53:49 ASR5600G display-manager[1830]: KEYMAP: uk
Mar 15 14:53:49 ASR5600G display-manager[1830]: Command: localectl set-keymap uk
Mar 15 14:53:49 ASR5600G display-manager[1830]: I: Using systemd /usr/share/systemd/kbd-model-map mapping
Mar 15 14:53:49 ASR5600G dbus-daemon[1127]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by '>
Mar 15 14:53:49 ASR5600G systemd[1]: Starting Locale Service...
Mar 15 14:53:49 ASR5600G dbus-daemon[1127]: [system] Successfully activated service 'org.freedesktop.locale1'


Thanks

Hi
Use the following commands to see what’s occurring;


systemd-analyze blame | head -n 10
systemd-analyze critical-chain

I normally reduce network manager timing, likewise disable ipv6 and edit postfixes main.cf to only use ipv4.

If Wicked then –

  • Wicked will correctly wait until the IPv6 address has been correctly resolved – takes time because, the DHCP Server (for private human beings, usually the Router to your ISP) needs some time to confirm the IPv6 address of the host being booted.
  • Network Manager actually does the same but, it’s not so noticeable …

The other thing which may take some time to settle down is, the synchronisation of the system’s clock to the (stable) clocks out there in the network –

  • Examples here with a 55 Mb/s DSL connection and 1 Gb/s LAN –

 # journalctl -b 0 --output=short-monotonic --no-hostname | grep -Ei 'r8169|8168h|8111h|eth0|wicked|network|DHCP|chrony|nfs|dns|ntp'
    0.320339] kernel: Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    1.689627] kernel: drop_monitor: Initializing network drop monitor service
    1.923505] systemd-udevd[281]: Network interface NamePolicy= disabled by default.
    5.914704] systemd[1]: Mounting NFSD configuration filesystem...
    5.968912] kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
    5.846773] systemd-udevd[536]: Network interface NamePolicy= disabled by default.
    5.859372] systemd[1]: Mounted NFSD configuration filesystem.
    6.022334] kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    6.388559] kernel: libphy: r8169: probed
    6.388719] kernel: r8169 0000:03:00.0 eth0: RTL8168h/8111h, d4:5d:64:a5:f5:0e, XID 541, IRQ 70
    6.388721] kernel: r8169 0000:03:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
    9.165166] udevadm[548]: systemd-udev-settle.service is deprecated. Please fix wickedd.service, tpm2-abrmd.service not to pull it in.
    9.358946] systemd[1]: Starting NFSv4 ID-name mapping service...
    9.359151] systemd[1]: Condition check resulted in RPC security service for NFS client and server being skipped.
    9.359276] systemd[1]: Condition check resulted in RPC security service for NFS server being skipped.
    9.359393] systemd[1]: Reached target NFS client services.
    9.359647] systemd[1]: Started NFSv4 ID-name mapping service.
    9.399904] systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    9.404184] systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
    9.415141] systemd[1]: Starting Alias for NFS client...
    9.433170] systemd[1]: Finished Alias for NFS client.
    9.457145] systemd[1]: Reached target Host and Network Name Lookups.
    9.499074] systemd[1]: Started Avahi mDNS/DNS-SD Stack.
    9.500996] avahi-daemon[1184]: Network interface enumeration completed.
    9.977944] systemd[1]: Reached target Network (Pre).
    9.979181] systemd[1]: Starting wicked AutoIPv4 supplicant service...
    9.979998] systemd[1]: Starting wicked DHCPv4 supplicant service...
    9.980841] systemd[1]: Starting wicked DHCPv6 supplicant service...
   10.013029] systemd[1]: Started wicked DHCPv6 supplicant service.
   10.014256] systemd[1]: Started wicked DHCPv4 supplicant service.
   10.014490] systemd[1]: Started wicked AutoIPv4 supplicant service.
   10.015372] systemd[1]: Starting wicked network management service daemon...
   10.032710] systemd[1]: Started wicked network management service daemon.
   10.033615] systemd[1]: Starting wicked network nanny service...
   10.048318] systemd[1]: Started wicked network nanny service.
   10.049165] systemd[1]: Starting wicked managed network interfaces...
   11.406299] kernel: Generic FE-GE Realtek PHY r8169-300:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-300:00, irq=IGNORE)
   11.582702] kernel: r8169 0000:03:00.0 eth0: Link is Down
   14.679917] kernel: r8169 0000:03:00.0 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
   14.679935] kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
   14.526135] wickedd-dhcp4[1317]: eth0: Request to acquire DHCPv4 lease with UUID c13d3062-0b66-0400-2c05-000005000000
   14.528243] wickedd-dhcp6[1318]: eth0: Request to acquire DHCPv6 lease with UUID c13d3062-0b66-0400-2c05-000006000000 in mode auto
   15.550463] avahi-daemon[1184]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::d65d:64ff:fea5:f50e.
   15.551082] avahi-daemon[1184]: New relevant interface eth0.IPv6 for mDNS.
   15.551189] avahi-daemon[1184]: Registering new address record for fe80::d65d:64ff:fea5:f50e on eth0.*.
   19.930428] wickedd-dhcp4[1317]: eth0: Committed DHCPv4 lease with address 192.168.178.27 (lease time 864000 sec, renew in 432000 sec, rebind in 756000 sec)
   20.046333] avahi-daemon[1184]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.178.27.
   20.046913] avahi-daemon[1184]: New relevant interface eth0.IPv4 for mDNS.
   20.047027] avahi-daemon[1184]: Registering new address record for 192.168.178.27 on eth0.IPv4.
   21.438489] avahi-daemon[1184]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::d65d:64ff:fea5:f50e.
   21.439082] avahi-daemon[1184]: Joining mDNS multicast group on interface eth0.IPv6 with address 2001:9e8:34b9:e800:c4f4:a437:57a1:8bd2.
   21.439187] avahi-daemon[1184]: Registering new address record for 2001:9e8:34b9:e800:c4f4:a437:57a1:8bd2 on eth0.*.
   21.439290] avahi-daemon[1184]: Withdrawing address record for fe80::d65d:64ff:fea5:f50e on eth0.
   21.558092] wickedd-dhcp6[1318]: eth0: Committing empty DHCPv6 lease
   21.566472] avahi-daemon[1184]: Registering new address record for 2001:9e8:34b9:e800:d65d:64ff:fea5:f50e on eth0.*.
   21.782201] wicked[1338]: lo              up
   21.782201] wicked[1338]: eth0            up
   21.782763] systemd[1]: Finished wicked managed network interfaces.
   21.783078] systemd[1]: Reached target Network.
   21.783172] systemd[1]: Reached target Network is Online.
   21.783847] systemd[1]: Starting NTP client/server...
   21.785510] systemd[1]: Starting NFS Mount Daemon...
   21.786279] systemd[1]: Starting NFS status monitor for NFSv2/3 locking....
   21.799576] chronyd[2033]: chronyd version 3.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP -SCFILTER +SECHASH -SIGND +ASYNCDNS +IPV6 -DEBUG)
   21.802015] systemd[1]: Started NFS Mount Daemon.
   21.810048] chronyd[2033]: Frequency 5.430 +/- 1.479 ppm read from /var/lib/chrony/drift
   21.834343] systemd[1]: Started NFS status monitor for NFSv2/3 locking..
   21.835494] systemd[1]: Starting NFS server and services...
   21.842602] systemd[1]: Started NTP client/server.
   21.843359] systemd[1]: Starting Wait for chrony to synchronize system clock...
   23.112677] kernel: NFSD: Using UMH upcall client tracking operations.
   23.112681] kernel: NFSD: starting 90-second grace period (net f0000098)
   22.949470] systemd[1]: Finished NFS server and services.
   22.951685] systemd[1]: Starting Notify NFS peers of a restart...
   22.957312] systemd[1]: Started Notify NFS peers of a restart.
   34.234750] chronyd[2033]: Selected source 195.186.1.101
   44.164220] systemd[1]: Finished Wait for chrony to synchronize system clock.
  164.149662] chronyd[2033]: Selected source 131.188.3.223

Please be aware that, I prefer to have accurate time-keeping –


 # chronyc tracking 
Reference ID    : 83BC03DF (ntp3.rrze.uni-erlangen.de)
Stratum         : 2
Ref time (UTC)  : Tue Mar 15 16:55:20 2022
System time     : 0.000140285 seconds slow of NTP time
Last offset     : +0.000034424 seconds
RMS offset      : 0.000082366 seconds
Frequency       : 1.630 ppm fast
Residual freq   : -0.003 ppm
Skew            : 0.031 ppm
Root delay      : 0.012491375 seconds
Root dispersion : 0.001456755 seconds
Update interval : 516.1 seconds
Leap status     : Normal
 # chronyc sources
210 Number of sources = 21
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
^- gw01-dd.uitserv.de            3  10   377   510  +2323us+2358us] +/-   51ms
^+ tanss.it-risch.de             2  10   377   961  -1409us-1447us] +/-   16ms
^+ mail.fraho.eu                 2   9   377   105   +505us +505us] +/-   12ms
^+ electrode.felixc.at           3   9   377   241    +80us  +80us] +/-   27ms
^- ntp-d.0x5e.se                 2   9   377   370   +247us +281us] +/-   41ms
^+ stratum2-2.NTP.TechFak.N>     2   9   377   207   +514us +514us] +/-   12ms
^- delcatty.itu.ch               2   9   377   232  +2007us+2007us] +/-   46ms
^+ server1b.meinberg.de          2   9   377     8  +8887ns+8887ns] +/- 8099us
^+ fritz.box                     3   6   377    40   +868us +868us] +/-   18ms
^* ntp3.rrze.uni-erlangen.de     1   9   377   367   +246us +280us] +/- 7329us
^+ fluffykins.positive-inte>     2  10   377   335  +2101us+2101us] +/-   20ms
^+ svl1.ntp.netnod.se            1  10   377   357  -3606us-3606us] +/-   27ms
^- ns1.fibertelecom.it           2  10   377    14   +277us +277us] +/-   52ms
^+ 2003:a:87f:c37c::2            2  10   377   121   -533us -533us] +/-   13ms
^- time01.leardev.de             2   9   377   390   +173us +208us] +/-   55ms
^- 183-150-172-163.instance>     3  10   377   768   +389us +428us] +/-   77ms
^+ ntp1.doorhan.ru               2  10   377   709    +13ms  +13ms] +/-   37ms
^+ bwntp1pool.bluewin.ch         2   9   377   399    +85us +120us] +/-   26ms
^- time2.mediainvent.at          2  10   177   956  -1738us-1775us] +/-   41ms
^- ip99.mikrocom.sk              2  10   377   726   -690us -652us] +/-   47ms
^+ ntp20.inet.dk.net             2   9   377   241  -3004us-3004us] +/-   19ms
 # 

My ISP supplies only IPv6 on the DSL stream, which also carries our VoIP telephone traffic – IPv4 runs via a DS-Lite-Tunnel –

  • AFAICS, my IPv4 address is shared with other customers of our ISP – it’s geolocation is quite different to the geolocation of my Router’s IPv6 address …

Operating System: openSUSE Leap 15.3
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7
Kernel Version: 5.3.18-150300.59.54-default
OS Type: 64-bit
Processors: 8 × AMD Ryzen 5 3400G with Radeon Vega Graphics
Memory: 13,6 GiB

[HR][/HR]Please be aware that, I am an IPv6 advocate –

  • This planet has limited resources and, IPv4 address space is one of the (very) limited resources … >:)

Hi
AFAIK time sync is a parallel process outside of booting… I use my own gps/pps timeserver :wink:


systemd-analyze Startup finished in 853ms (kernel) + 1.606s (initrd) + 3.531s (userspace) = 5.991s 
graphical.target reached after 3.522s in userspace


   12.752544] chronyd[1519]: Selected source 192.168.10.100

I bring up 8 network interfaces (2 bridges, 2 unconfigured and eth2 my primary interface) via wicked…


    4.398822] wicked[1057]: lo              setup-in-progress
    4.398822] wicked[1057]: br0             setup-in-progress
    4.398822] wicked[1057]: br1             setup-in-progress
    4.398822] wicked[1057]: eth0            enslaved
    4.398822] wicked[1057]: eth1            enslaved
    4.398822] wicked[1057]: eth2            setup-in-progress
    4.398822] wicked[1057]: eth3            no-device
    4.398822] wicked[1057]: eth4            no-device
    4.399577] systemd[1]: Finished wicked managed network interfaces

NTP needs a functioning network interface, provided that, you do not have a reliable time source directly connected to the system …

  • Therefore, the Chrony wait in my boot – waiting for some reasonably local NTP pool clocks – via IPv6 …

[HR][/HR]Before IPv6, I used to have reasonably fast boot times –

  • Unfortunately, due to the rather large address space, IPv6 needs a little bit of time to confirm the assigned IPv6 addresses …

Hardware bought in 2016:

**erlangen:~ #** systemd-analyze              
Startup finished in 790ms (kernel) + 1.761s (initrd) + 1.576s (userspace) = 4.128s  
graphical.target reached after 1.576s in userspace 
**erlangen:~ #**

Network: Network Management With Systemd - openSUSE Wiki

**erlangen:~ #** systemd-analyze critical-chain network.target 
The time when unit became active or started is printed after the "@" character. 
The time the unit took to start is printed after the "+" character. 

network.target @791ms 
└─**systemd-resolved.service @710ms +80ms**
  └─**systemd-tmpfiles-setup.service @674ms +31ms**
    └─**systemd-journal-flush.service @410ms +263ms**
      └─**var.mount @403ms +5ms**
        └─local-fs-pre.target @394ms 
          └─**systemd-tmpfiles-setup-dev.service @380ms +13ms**
            └─**kmod-static-nodes.service @364ms +8ms**
              └─systemd-journald.socket 
                └─system.slice 
                  └─-.slice 
**erlangen:~ #**
**erlangen:~ #** journalctl -b -u systemd-networkd.service -u systemd-resolved.service -o short-monotonic              
    3.224420] erlangen systemd[1]: Starting Network Configuration... 
    3.224481] erlangen systemd-networkd[689]: lo: Link UP 
    3.245255] erlangen systemd-networkd[689]: lo: Gained carrier 
    3.245404] erlangen systemd-networkd[689]: Enumeration completed 
    3.245453] erlangen systemd[1]: Started Network Configuration. 
    3.263263] erlangen systemd[1]: Starting Network Name Resolution... 
    3.328841] erlangen systemd-resolved[731]: Positive Trust Anchors: 
    3.335984] erlangen systemd-resolved[731]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d 
    3.336047] erlangen systemd-resolved[731]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.>
    3.342630] erlangen systemd-resolved[731]: Using system hostname 'erlangen'. 
    3.343677] erlangen systemd[1]: Started Network Name Resolution. 
    4.009930] erlangen systemd-networkd[689]: eth0: Link UP 
    6.632616] erlangen systemd-networkd[689]: eth0: Gained carrier 
    8.045945] erlangen systemd-networkd[689]: eth0: Gained IPv6LL 
   12.441858] erlangen systemd-networkd[689]: eth0: DHCPv4 address 192.168.178.30/24 via 192.168.178.1 
**erlangen:~ #**

It seems that, somehow, the news that, there ain’t no more IPv4 addresses available, hasn’t reached some of the human beings on this planet – yet … >:)

Hi
That’s why RTC is there for that time period :wink: My RPi acting as the time server has a pps gps and RTC present. But as shown it’s a process that takes place elsewhere and does not affect the booting of the system as such.

Is that 15.3, or TW? 15.3 looks much different here on a newer PC, with neither firmware nor loader in yours:

# systemd-analyze
Startup finished in 12.427s (firmware) + 12.226s (loader) + 1.137s (kernel) + 1.226s (initrd) + 2.437s (userspace) = 29.455s
graphical.target reached after 2.431s in userspace
# inxi -SICyz
System:
  Kernel: 5.3.18-150300.59.49-default x86_64 bits: 64 Desktop: Trinity
    Distro: openSUSE Leap 15.3
CPU:
  Info: 6-core model: 11th Gen Intel Core i5-11400 bits: 64 type: MT MCP
    cache: L2: 3 MiB
  Speed (MHz): avg: 801 min/max: 800/4400 cores: 1: 801 2: 802 3: 802 4: 802
    5: 801 6: 801 7: 801 8: 801 9: 802 10: 802 11: 800 12: 801
Info:
  Processes: 256 Uptime: 0h 3m Memory: 15.33 GiB used: 889 MiB (5.7%)
  Shell: Bash inxi: 3.3.13
# systemd-analyze critical-chain network.target
...
network.target @521ms
└─systemd-networkd.service @381ms +139ms
  └─systemd-udevd.service @217ms +142ms
    └─systemd-tmpfiles-setup-dev.service @202ms +7ms
      └─kmod-static-nodes.service @182ms +8ms
        └─systemd-journald.socket
          └─system.slice
            └─-.slice
# journalctl -b -u systemd-networkd.service systemd-resolvd.service -o short-monotonic
Failed to add match 'systemd-resolvd.service': Invalid argument
# journalctl -b -u systemd-networkd.service -o short-monotonic
-- Logs begin at Thu 2021-03-25 02:06:14 EDT, end at Tue 2022-03-15 19:46:11 EDT. --
    2.748042] ab560 systemd[1]: Starting Network Service...
    2.885250] ab560 systemd-networkd[559]: Enumeration completed
    2.885888] ab560 systemd[1]: Started Network Service.
    3.962850] ab560 systemd-networkd[559]: eth0: Link UP
    6.833335] ab560 systemd-networkd[559]: eth0: Gained carrier
#

Even older hardware bought in 2014:

**Leap-15-3:~ #** systemd-analyze 
Startup finished in 3.845s (firmware) + 443ms (loader) + 1.355s (kernel) + 2.483s (initrd) + 2.303s (userspace) = 10.431s  
graphical.target reached after 2.296s in userspace 
**Leap-15-3:~ #** inxi -SICz      
**System:    Kernel:** 5.3.18-150300.59.49-default x86_64 **bits:** 64 **Console:** tty 1 **Distro:** openSUSE Leap 15.3  
**CPU:       Topology:** Dual Core **model:** Intel Core i3-4130 **bits:** 64 **type:** MT MCP **L2 cache:** 3072 KiB  
           **Speed:** 3103 MHz **min/max:** 800/3400 MHz **Core speeds (MHz):****1:** 3233 **2:** 3153 **3:** 3355 **4:** 3282  
**Info:      Processes:** 213 **Uptime:** N/A **Memory:** 15.30 GiB **used:** 908.5 MiB (5.8%) **Shell:** bash **inxi:** 3.1.00  
**Leap-15-3:~ #**  systemd-analyze critical-chain network.target 
...
network.target @922ms 
└─**systemd-resolved.service @709ms +212ms**
  └─**systemd-networkd.service @633ms +74ms**
    └─**systemd-udevd.service @419ms +212ms**
      └─**systemd-tmpfiles-setup-dev.service @388ms +14ms**
        └─**kmod-static-nodes.service @368ms +10ms**
          └─systemd-journald.socket 
            └─-.mount 
              └─system.slice 
                └─-.slice 
**Leap-15-3:~ #** journalctl -b -u systemd-networkd.service -o short-monotonic 
-- Logs begin at Fri 2021-08-06 10:17:37 CEST, end at Wed 2022-03-16 06:40:26 CET. -- 
    4.472514] Leap-15-3 systemd[1]: Starting Network Service... 
    4.546982] Leap-15-3 systemd-networkd[477]: Enumeration completed 
    4.547354] Leap-15-3 systemd[1]: Started Network Service. 
    5.493503] Leap-15-3 systemd-networkd[477]: **wlan0: found matching network '/etc/systemd/network/wlan.network', based on potentially unpredictable ifname**
    5.493649] Leap-15-3 systemd-networkd[477]: wlan0: IPv6 successfully enabled 
    5.507167] Leap-15-3 systemd-networkd[477]: wlan0: Link UP 
    6.621632] Leap-15-3 systemd-networkd[477]: wlan0: Gained carrier 
    6.622109] Leap-15-3 systemd-networkd[477]: wlan0: Connected WiFi access point: FRITZ!Box Karl Mistelberger (xx:xx:xx:xx:xx:xx) 
    6.622186] Leap-15-3 systemd-networkd[477]: **wlan0: found matching network '/etc/systemd/network/wlan.network', based on potentially unpredictable ifname**
    7.659707] Leap-15-3 systemd-networkd[477]: wlan0: DHCPv4 address 192.168.178.24/24 via 192.168.178.1 
    7.796024] Leap-15-3 systemd-networkd[477]: wlan0: Gained IPv6LL 
**Leap-15-3:~ #**

Tumbleweed network is faster:

**i3-4130:~ #** journalctl -b -o short-monotonic -u systemd-networkd.service              
**    2.685265] i3-4130 systemd[1]: Starting Network Configuration... **
    2.808850] i3-4130 systemd-networkd[616]: lo: Link UP 
    2.809192] i3-4130 systemd-networkd[616]: lo: Gained carrier 
    2.810700] i3-4130 systemd-networkd[616]: Enumeration completed 
    2.811815] i3-4130 systemd[1]: Started Network Configuration. 
    3.534325] i3-4130 systemd-networkd[616]: **wlan0: found matching network '/etc/systemd/network/wlan.network', based on potentially unpredictable interface name.**
    3.552442] i3-4130 systemd-networkd[616]: wlan0: Link UP 
    4.455837] i3-4130 systemd-networkd[616]: wlan0: Connected WiFi access point: FRITZ!Box Karl Mistelberger [FONT=monospace](xx:xx:xx:xx:xx:xx) 
    4.456091] i3-4130 systemd-networkd[616]: **wlan0: found matching network '/etc/systemd/network/wlan.network', based on potentially unpredictable interface name.**
**    4.549430] i3-4130 systemd-networkd[616]: wlan0: Gained carrier **
    5.573005] i3-4130 systemd-networkd[616]: wlan0: DHCPv4 address 192.168.178.31/24 via 192.168.178.1 
    6.005090] i3-4130 systemd-networkd[616]: wlan0: Gained IPv6LL 
**i3-4130:~ #**[/FONT]
~> systemd-analyze blame | head -n 10
30.043s wicked.service                                                                           
 8.212s backup-rpmdb.service                                                                     
 1.443s systemd-udev-settle.service                                                              
 1.282s dracut-initqueue.service                                                                 
  679ms display-manager.service                                                                  
  407ms smartd.service                                                                           
  331ms apparmor.service                                                                         
  249ms firewalld.service                                                                        
  244ms initrd-switch-root.service                                                               
  165ms plymouth-quit-wait.service                                                               

~> systemd-analyze
Startup finished in 16.440s (firmware) + 8.404s (loader) + 2.857s (kernel) + 1.737s (initrd) + 32.743s (userspace) = 1min 2.183s 
graphical.target reached after 32.736s in userspace

~> systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @32.736s
└─display-manager.service @32.056s +679ms
  └─systemd-logind.service @32.034s +21ms
    └─autofs.service @32.019s +13ms
      └─network.target @32.010s
        └─wicked.service @1.966s +30.043s
          └─wickedd-nanny.service @1.959s +6ms
            └─wickedd.service @1.945s +13ms
              └─wickedd-auto4.service @1.932s +11ms
                └─network-pre.target @1.931s
                  └─firewalld.service @1.682s +249ms
                    └─polkit.service @1.646s +35ms
                      └─basic.target @1.637s
                        └─sockets.target @1.637s
                          └─pcscd.socket @1.637s
                            └─sysinit.target @1.626s
                              └─systemd-udev-settle.service @182ms +1.443s
                                └─systemd-udev-trigger.service @142ms +38ms
                                  └─systemd-udevd-kernel.socket @136ms
                                    └─system.slice
                                      └─-.slice

~> sudo journalctl -b 0 --output=short-monotonic --no-hostname | grep -Ei 'r8169|8168h|8111h|eth0|wicked|network|DHCP|chrony|nfs|dns|ntp'
[sudo] password for root: 
    0.057965] kernel: Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    0.322607] kernel: drop_monitor: Initializing network drop monitor service
    3.010008] systemd-udevd[356]: Network interface NamePolicy= disabled by default.
    4.793762] systemd-udevd[575]: Network interface NamePolicy= disabled by default.
    4.950407] kernel: r8169 0000:03:00.0 eth0: RTL8125B, 70:85:c2:94:4d:a7, XID 641, IRQ 78
    4.950411] kernel: r8169 0000:03:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
    4.986050] udevadm[620]: systemd-udev-settle.service is deprecated. Please fix wickedd.service not to pull it in.
    6.232723] systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    6.234138] systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
    6.248186] systemd[1]: Reached target Host and Network Name Lookups.
    6.256886] systemd[1]: Started Avahi mDNS/DNS-SD Stack.
    6.257734] avahi-daemon[1121]: System host name is set to 'localhost'. This is not a suitable mDNS host name, looking for alternatives.
    6.257858] avahi-daemon[1121]: Network interface enumeration completed.
    6.527245] systemd[1]: Reached target Network (Pre).
    6.528115] systemd[1]: Starting wicked AutoIPv4 supplicant service...
    6.528645] systemd[1]: Starting wicked DHCPv4 supplicant service...
    6.529135] systemd[1]: Starting wicked DHCPv6 supplicant service...
    6.539895] systemd[1]: Started wicked DHCPv4 supplicant service.
    6.540012] systemd[1]: Started wicked DHCPv6 supplicant service.
    6.540058] systemd[1]: Started wicked AutoIPv4 supplicant service.
    6.540630] systemd[1]: Starting wicked network management service daemon...
    6.554238] systemd[1]: Started wicked network management service daemon.
    6.554838] systemd[1]: Starting wicked network nanny service...
    6.561345] systemd[1]: Started wicked network nanny service.
    6.561965] systemd[1]: Starting wicked managed network interfaces...
    7.340320] kernel: RTL8226B_RTL8221B 2.5Gbps PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
    7.540433] kernel: r8169 0000:03:00.0 eth0: Link is Down
   10.451878] kernel: r8169 0000:03:00.0 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
   10.451895] kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
   10.455745] wickedd-dhcp4[1234]: eth0: Request to acquire DHCPv4 lease with UUID 4ab63162-0aff-0a00-d904-000005000000
   10.456686] wickedd-dhcp6[1235]: eth0: Request to acquire DHCPv6 lease with UUID 4ab63162-0aff-0a00-d904-000006000000 in mode auto
   11.128122] wickedd-dhcp4[1234]: eth0: Committed DHCPv4 lease with address 192.168.1.120 (lease time 43200 sec, renew in 21600 sec, rebind in 37800 sec)
   11.256216] avahi-daemon[1121]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.120.
   11.256510] avahi-daemon[1121]: New relevant interface eth0.IPv4 for mDNS.
   11.256571] avahi-daemon[1121]: Registering new address record for 192.168.1.120 on eth0.IPv4.
   11.616160] avahi-daemon[1121]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::7285:c2ff:fe94:4da7.
   11.616255] avahi-daemon[1121]: New relevant interface eth0.IPv6 for mDNS.
   11.616330] avahi-daemon[1121]: Registering new address record for fe80::7285:c2ff:fe94:4da7 on eth0.*.
   36.604431] wicked[1257]: lo              up
   36.604431] wicked[1257]: eth0            setup-in-progress
   36.605457] systemd[1]: Finished wicked managed network interfaces.
   36.605808] systemd[1]: Reached target Network.
   36.605894] systemd[1]: Reached target Network is Online.
   36.616449] systemd[1]: Starting NTP client/server...
   36.622326] chronyd[1755]: chronyd version 3.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP -SCFILTER +SECHASH -SIGND +ASYNCDNS +IPV6 -DEBUG)
   36.622986] chronyd[1755]: Frequency 5.741 +/- 0.464 ppm read from /var/lib/chrony/drift
   36.635075] systemd[1]: Started NTP client/server.
   38.096156] kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
   38.121317] kernel: FS-Cache: Netfs 'nfs' registered for caching
   38.123724] kernel: Key type dns_resolver registered
   38.215820] kernel: NFS: Registering the id_resolver key type
   38.274193] systemd[1]: Starting Notify NFS peers of a restart...
   38.274668] systemd[1]: Starting NFS status monitor for NFSv2/3 locking....
   38.276304] systemd[1]: Started Notify NFS peers of a restart.
   38.296898] systemd[1]: Started NFS status monitor for NFSv2/3 locking..
   45.538770] chronyd[1755]: Selected source 52.17.231.73
   45.539186] chronyd[1755]: System clock wrong by 1.924128 seconds, adjustment started
   45.539256] chronyd[1755]: System clock was stepped by 1.924128 seconds
   46.548813] chronyd[1755]: Selected source 88.81.100.130
   63.776379] pulseaudio[2213]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
 1848.934638] chronyd[1755]: Source 2a00:1288:110:f600::1001 replaced with 138.201.90.189
 3641.559734] chronyd[1755]: Source 2a00:1288:110:f600::1000 replaced with 200.25.3.11
 5433.734520] chronyd[1755]: Source 2a01:258:fffe:f800::1 replaced with 2a00:1288:110:f600::1001
 7226.764201] chronyd[1755]: Source 2a00:1288:110:f600::1001 replaced with 94.237.52.57

~> chronyc tracking
Reference ID    : 58516482 (brenbox.westnet.ie)
Stratum         : 2
Ref time (UTC)  : Wed Mar 16 12:38:48 2022
System time     : 0.000264241 seconds slow of NTP time
Last offset     : -0.000010732 seconds
RMS offset      : 0.000248545 seconds
Frequency       : 5.490 ppm fast
Residual freq   : +0.000 ppm
Skew            : 0.165 ppm
Root delay      : 0.013766684 seconds
Root dispersion : 0.001553724 seconds
Update interval : 2066.7 seconds
Leap status     : Normal

~> chronyc sources
210 Number of sources = 12
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
^- t1.time.ir2.yahoo.com         2  10   377   33m  -1039us-1052us] +/-   17ms
^- meg.magnet.ie                 2  10   377   646  -1403us-1414us] +/-   34ms
^+ time.cloudflare.com           3  10   377    75  -2800us-2800us] +/-   16ms
^- ntp16.kashra-server.com       2  10    47   127  +5640us+5640us] +/-   37ms
^+ time.cloudflare.com           3  10   377   619   +810us +799us] +/-   19ms
^* brenbox.westnet.ie            1  10   377   513   -882us -893us] +/- 8213us
^- 1.co.ntp.edgeuno.com          2  10   377   594  -2156us-2167us] +/-  168ms
^- dns.enkirton.de               3  10   377   707  -2861us-2872us] +/-   58ms
^- 193.1.12.167                  2  10   377   652  -1351us-1362us] +/-   29ms
^- bray.walcz.net                2  10   377  1036  +1048us+1036us] +/-   27ms
^+ ec2-52-17-231-73.eu-west>     2  10   337   450    -13ms  -13ms] +/-   18ms
^- rilian.whisker.org.uk         2   8   377   124  -1674us-1674us] +/-   29ms


Let me know if you need more
Thanks

Hi
So as root user edit the file /etc/sysconfig/network/config and change (default is 30) WAIT_FOR_INTERFACES=“1”.

You should see the wicked.service change from ~30s to ~1s.

Some are transient, like the rpmdb rebuild, purge kernels etc, but should see a drop in time.

Done.
In the GUI, Global Options > IPv6 Protocol Settings > Enable IPv6 is enable. Should I disable it?

Hi
If not using ipv6, sure :wink: However, you need to edit /etc/postfix/main.cf file as well… Change line ~706 intet_protocols = all to inet_protocols = ipv4 and save.

Before doing a big mistake, please could you confirm with the following info, that IPv6 is not used.
I have a Linksys WRT32X modem/router firmware OpenWRT. ISP is from a wireless aerial on the roof with PoE.
There is a network between the router and aerial (255.255.255.252). Another network for home LAN.
I have 2 interfaces for WAN, 1 for IPv4 1 for IPv6. IPv6 is “not started on boot” and all IPv6 setting a empty.
In IPv4, IPv6 assignment length is disabled.

I thing I could delete the IPv6 interface but it’s working, I leave it. Don’t touch it!
So with that I guess IPv6 is not used.
Do you agree?
If yes, I’ll change Leap in the GUI and the file as you explained.

Hi
Sounds like your good to go with disabling then… remember, you can always change it back :wink:

You need to check the link via the aerial on the roof to your ISP –

  • That link may be using IPv6 because, that’s the way you ISP possibly/probably wants it.
  • You’ll also have to check if, there’s an IPv4 tunnel to your ISP.

Then, you need to check if, your modem/router supports IPv4 only on the LAN/WLAN interfaces given that, your ISP probably/possibly wants to use IPv6 on the interface supporting the link via the wireless aerial on your roof …

Hi
How does network infrastructure affect a computer that is getting a valid ipv4 address, routing etc… I think you need to stay focused on the users computer and end use.

The simple fact is, Wicked is taking about 30 seconds to complete it’s setup – which is way too long for an “IPv4 only” system.

And, as we can see, it ain’t an “IPv4 only” system – there’s IPv6 in there as well.

  • And, even with IPv6 enabled, 30 seconds is a little bit too long for the IPv6 address resolution …

[HR][/HR]And, what’s this, which we can all see?

    6.257734] avahi-daemon[1121]: *System host name is set to 'localhost'*. This is not a suitable mDNS host name, looking for alternatives.

@MrNice:

Please set your system’s local host name to something other than “localhost”.

  • Either set it via YaST or, set it in ‘/etc/hostname’ …
    N.B.: ‘/etc/HOSTNAME’ is a link to ‘/etc/hostname’ – both the file and the link are provided by the RPM package “netcfg”.

If you really want to disable IPv6 on your LAN/WLAN then, you need to disable (and, possibly, mask) the “wickedd-dhcp6.service”.