I have a laptop upgraded from 15.4 to 15.5. Now the boot process is a hit-and-miss. When the boot process is a miss postfix.services takes 3m 813ms to launch. The other blame factor is the network-wait-online.target with 25s. That the network-wait-online.target is taking some time is not unexpected, but should not be the case when only connected by wi-fi. When this does slow boot occurs load openSUSE is not loading the drivers for the audio and wi-fi thus not able to connect and I’m not able to restart these services unless I do a successful reboot.
In the hit scenario I get into KDE plasma without a glitch and am asked to enter the passphrase to access the wi-fi.
I have set the wi-fi to only use IPv4, but have no clue as to why this irregular behavior exists and why postfix would be taking 3m to start.
Postfix starts up fast on infamous hosts erlangen and 3400g:
3400g:~ # journalctl -b -u postfix.service -o short-monotonic
[ 7.782045] 3400g systemd[1]: Starting Postfix Mail Transport Agent...
[ 7.812221] 3400g echo[991]: Starting mail service (Postfix)
[ 7.864264] 3400g (storecon)[1005]: postfix.service: Executable /sbin/restorecon missing, skipping: No such file or directory
[ 8.261924] 3400g postfix[1130]: postfix/postlog: starting the Postfix mail system
[ 8.262154] 3400g postfix/postfix-script[1130]: starting the Postfix mail system
[ 8.267613] 3400g postfix/master[1132]: daemon started -- version 3.8.1, configuration /etc/postfix
[ 8.375397] 3400g systemd[1]: Started Postfix Mail Transport Agent.
3400g:~ #
You may show start of units on your system:
3400g:~ # journalctl -b -u init.scope -g Started -o short-monotonic --no-pager
[ 2.838096] 3400g systemd[1]: Started Rule-based Manager for Device Events and Files.
[ 3.161031] 3400g systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 6.470339] 3400g systemd[1]: Started Rule-based Manager for Device Events and Files.
[ 7.328609] 3400g systemd[1]: Started Watch /etc/sysconfig/btrfsmaintenance.
[ 7.328926] 3400g systemd[1]: Started Watch for changes in CA certificates.
[ 7.329753] 3400g systemd[1]: Started CUPS Scheduler.
[ 7.329822] 3400g systemd[1]: Started Watch for changes in issue snippets.
[ 7.330030] 3400g systemd[1]: Started Watch for changes in smartmontools sysconfig file.
[ 7.330119] 3400g systemd[1]: Started Daily Cleanup of Snapper Snapshots.
[ 7.330183] 3400g systemd[1]: Started Daily Cleanup of Temporary Directories.
[ 7.332177] 3400g systemd[1]: Started Disable backup HDD.
[ 7.339236] 3400g systemd[1]: Started hd-idle disk spindown service.
[ 7.340678] 3400g systemd[1]: Started irqbalance daemon.
[ 7.396510] 3400g systemd[1]: Started D-Bus System Message Bus.
[ 7.398414] 3400g systemd[1]: Started User Login Management.
[ 7.557364] 3400g systemd[1]: Started Machine Check Exception Logging Daemon.
[ 7.557798] 3400g systemd[1]: Started Avahi mDNS/DNS-SD Stack.
[ 7.557913] 3400g systemd[1]: Started Authorization Manager.
[ 7.628565] 3400g systemd[1]: Started Network Manager.
[ 7.630340] 3400g systemd[1]: Started Modem Manager.
[ 7.669643] 3400g systemd[1]: Started MiniDLNA is a DLNA/UPnP-AV server software.
[ 7.725843] 3400g systemd[1]: Started Hostname Service.
[ 7.754799] 3400g systemd[1]: Started Network Manager Script Dispatcher Service.
[ 7.773431] 3400g systemd[1]: Started NTP client/server.
[ 7.774146] 3400g systemd[1]: Started Backup of /home.
[ 7.774324] 3400g systemd[1]: Started Backup of RPM database.
[ 7.774509] 3400g systemd[1]: Started Backup of /etc/sysconfig.
[ 7.774746] 3400g systemd[1]: Started Balance block groups on a btrfs filesystem.
[ 7.774983] 3400g systemd[1]: Started Defragment file data and/or directory metadata.
[ 7.775218] 3400g systemd[1]: Started Scrub btrfs filesystem, verify block checksums.
[ 7.775449] 3400g systemd[1]: Started Discard unused blocks on a mounted filesystem.
[ 7.776103] 3400g systemd[1]: Started Daily dist-upgrade.
[ 7.776330] 3400g systemd[1]: Started Discard unused blocks once a week.
[ 7.776504] 3400g systemd[1]: Started Daily rotation of log files.
[ 7.776823] 3400g systemd[1]: Started Daily man-db regeneration.
[ 7.777004] 3400g systemd[1]: Started Daily locate database update.
[ 7.777163] 3400g systemd[1]: Started Timeline of Snapper Snapshots.
[ 7.786311] 3400g systemd[1]: Started CUPS Scheduler.
[ 7.977555] 3400g systemd[1]: Started OpenSSH Daemon.
[ 8.032498] 3400g systemd[1]: Started The Apache Webserver.
[ 8.036664] 3400g systemd[1]: Started Getty on tty1.
[ 8.375397] 3400g systemd[1]: Started Postfix Mail Transport Agent.
[ 8.574744] 3400g systemd[1]: Started X Display Manager.
[ 9.274511] 3400g systemd[1]: Started User Manager for UID 477.
[ 9.275273] 3400g systemd[1]: Started Session 1 of User sddm.
[ 9.840635] 3400g systemd[1]: Started Disk Manager.
[ 9.889445] 3400g systemd[1]: Started Daemon for power management.
[ 11.852332] 3400g systemd[1]: Started A remote-mail retrieval utility.
[ 19.115147] 3400g systemd[1]: Started User Manager for UID 1000.
[ 19.115532] 3400g systemd[1]: Started Session 3 of User karl.
...
3400g:~ #
Jun 22 13:38:21 JK-Laptop systemd[1]: Starting Postfix Mail Transport Agent…
Jun 22 13:38:21 JK-Laptop echo[1299]: Starting mail service (Postfix)
Jun 22 13:39:51 JK-Laptop systemd[1]: postfix.service: start-pre operation timed out. Terminating.
Jun 22 13:39:51 JK-Laptop systemd[1]: postfix.service: Control process exited, code=killed, status=15/TERM
Jun 22 13:41:22 JK-Laptop systemd[1]: postfix.service: State ‘stop-post’ timed out. Terminating.
Jun 22 13:41:22 JK-Laptop systemd[1]: postfix.service: Control process exited, code=killed, status=15/TERM
Jun 22 13:41:22 JK-Laptop systemd[1]: postfix.service: Failed with result ‘timeout’.
Jun 22 13:41:22 JK-Laptop systemd[1]: postfix.service: Unit process 1374 (postconf) remains running after unit stopped.
Jun 22 13:41:22 JK-Laptop systemd[1]: postfix.service: Unit process 3008 (postconf) remains running after unit stopped.
Jun 22 13:41:22 JK-Laptop systemd[1]: Failed to start Postfix Mail Transport Agent.
It seems 1 in 2 boot sequences does give me the bad behavior.
Bus 002 Device 005: ID 0cf3:3004 Qualcomm Atheros Communications AR3012 Bluetooth 4.0
Bus 002 Device 003: ID 13d3:5727 IMC Networks Lenovo EasyCamera
Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc. Root Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc. Root Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I just rebooted 6-times without issue. The above is the result of a successful boot. When I revert back to 15.4 through snapper all issues are resolved. So it has something to do with 15.5 in combination with the hardware/ driver, but I’m not sure where to look.