[Networkmanager] Does "startup complete" imply connection activation?

Andrei Borzenkov arvidjaar at gmail.com
Wed Apr 26 11:44:30 UTC 2023


Yes, I know the nm-online manual :)

I recently helped in troubleshooting startup issues and was rather
surprised that NetworkManager reports "startup complete" before it
starts activating any connection.

Full log is here:

https://paste.opensuse.org/pastes/840930d8954d

Apr 25 20:37:07 smolevo NetworkManager[1079]: <info>
[1682451427.6067] NetworkManager (version 1.32.12) is starting... (for
the first time)
...
Apr 25 20:37:08 smolevo NetworkManager[1079]: <info>
[1682451428.3381] manager: (p2p-dev-wlan0): new 802.11 Wi-Fi P2P
device (/org/freedesktop/NetworkManager/Devices/3)
Apr 25 20:37:08 smolevo NetworkManager[1079]: <info>
[1682451428.3384] device (p2p-dev-wlan0): state change: unmanaged ->
unavailable (reason 'managed', sys-iface-state: 'external')
Apr 25 20:37:08 smolevo NetworkManager[1079]: <info>
[1682451428.3390] device (wlan0): state change: unavailable ->
disconnected (reason 'supplicant-available', sys-iface-state:
'managed')
Apr 25 20:37:08 smolevo NetworkManager[1079]: <info>
[1682451428.3423] device (p2p-dev-wlan0): state change: unavailable ->
disconnected (reason 'none', sys-iface-state: 'managed')
Apr 25 20:37:11 smolevo NetworkManager[1079]: <info>
[1682451431.7623] manager: startup complete
Apr 25 20:37:12 smolevo NetworkManager[1079]: <info>
[1682451432.7434] policy: auto-activating connection 'wlan0'
(6dd63429-8bcc-39f2-9f0d-f639a8419cc8)

That is not the first time I see reports that
NetworkManager-wait-online was not enough. It sounds like it probably
should not be using "-s" in the first place.


More information about the Networkmanager mailing list