From 1e5977b62f896e844b548c3007ace9e1dfa7f9ed Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 11 Apr 2020 21:28:04 +0200 Subject: New upstream version 1.23.90 --- docs/api/html/nm-online.html | 46 ++++++++++++++++++++++++++++++++------------ 1 file changed, 34 insertions(+), 12 deletions(-) (limited to 'docs/api/html/nm-online.html') diff --git a/docs/api/html/nm-online.html b/docs/api/html/nm-online.html index bc91ee24..e84e865f 100644 --- a/docs/api/html/nm-online.html +++ b/docs/api/html/nm-online.html @@ -8,7 +8,7 @@ - + @@ -39,12 +39,17 @@ nm-online waits until NetworkManager reports an active connection, or specified timeout expires. On exit, the returned status code should be checked (see the return codes below).

-

By default NetworkManager waits for IPv4 dynamic addressing to complete - but does not wait for the auto IPv6 dynamic addressing. To - wait for IPv6 addressing to complete, either (1) change the network - connection's IPv6 may-fail setting to no, - and/or (2) change the IPv6 addressing method to manual or - dhcp, to indicate that IPv6 connectivity is expected.

+

This tool is not very useful to call directly. It is however used by + NetworkManager-wait-online.service with + --wait-for-startup argument. This is used to delay + the service and indirectly network-online.target, + until networking is up. Don't order your own systemd services after + NetworkManager-wait-online.service directly. Instead + if necessary, order your services after network-online.target. + Even better is to have your services react to network changes dynamically + and don't order them with respect to network-online.target + at all. +

Options

@@ -64,13 +69,30 @@

-s | --wait-for-startup

-

Wait for NetworkManager startup to complete, rather than waiting for + +

Wait for NetworkManager startup to complete, rather than waiting for network connectivity specifically. Startup is considered complete once NetworkManager has activated (or attempted to activate) every auto-activate - connection which is available given the current network state. (This is - generally only useful at boot time; after startup has completed, + connection which is available given the current network state. This corresponds + to the moment when NetworkManager logs "startup complete". + This mode is generally only useful at boot time. After startup has completed, nm-online -s will just return immediately, regardless of the - current network state.)

+ current network state.

+

There are various ways to affect when startup complete is reached. + For example, by setting a connection profile to autoconnect, such a profile + possibly will activate during startup and thus delay startup complete being reached. + Also, a profile is considered ready when it fully reached the logical connected + state in NetworkManager. That means, properties like ipv4.may-fail and ipv6.may-fail + affect whether a certain address family is required. Also, the connection property + connection.wait-device-timeout affects whether to wait for + the driver to detect a certain device. Generally, a failure of NetworkManager-wait-online.service + indicates a configuration error, where NetworkManager won't be able to reach the + desired connectivity state during startup. An example for that are bridge or bond master + profiles, that get autoconnected but without activating any slaves. Such master devices + hang in activating state indefinitely, and cause NetworkManager-wait-online.service + to fail. +

+

@@ -119,6 +141,6 @@

+
Generated by GTK-Doc V1.32.1 \ No newline at end of file -- cgit 1.3.0-6-gf8a5