I prefer network to setup itself when I start computer, but I prefer to boot earlier and have network connect while I type my password and so on.
Sadly, according to systemd-analyze critical-chain
I am waiting for NetworkManager.service
startup during boot.
Is there a way to change that so that it still does its network things and it is not delaying boot?
graphical.target @8.083s
└─multi-user.target @8.083s
└─postfix.service @8.075s +7ms
└─postfix@-.service @3.904s +4.169s
└─network-online.target @3.880s
└─network.target @3.880s
└─NetworkManager.service @3.495s +384ms
└─dbus.service @3.492s
└─basic.target @3.472s
└─sockets.target @3.472s
└─docker.socket @3.469s +2ms
└─sysinit.target @3.464s
└─snapd.apparmor.service @3.131s +332ms
└─apparmor.service @2.990s +136ms
└─local-fs.target @2.989s
└─run-snapd-ns-cups.mnt.mount @5.417s
└─run-snapd-ns.mount @4.544s
└─local-fs-pre.target @528ms
└─keyboard-setup.service @376ms +152ms
└─systemd-journald.socket @361ms
└─system.slice @354ms
└─-.slice @354ms
Though if that postfix service is the same postfix as one described as "Postfix is the default Mail Transfer Agent" then I will also need to find way to start it without delaying boot. It is absurd that I wait for this service to start, it should load while I type password.
Good catch.
– reducing activity Jan 25 '23 at 17:44--no-daemon
from/lib/systemd/system/NetworkManager.service
? Not sure how this affects other services, and, if it works, I bet there is a "right"TM place to do that change. This is so much easier in OpenRC... – Quasímodo Feb 01 '23 at 18:20Though I really want to play with it, it is absurd that modern computers still need multiple seconds to boot. I suspect that relatively simple configuration changes can reduce boot time by more than 95%.
– reducing activity Feb 02 '23 at 08:08Sadly, this is not really true. Also, it is possible that 95% improvements are possible with my specific configuration but this does not generalize
Boot time is still horrible, performance of computers is bad despite hardware getting amazingly better in last 30 years.
– reducing activity Feb 13 '23 at 18:39