From 2f20878dbf940af873fe495e1eac07526c35207e Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 10 Apr 2020 14:49:44 +0200 Subject: [PATCH] man: fix obsolete references to monitor-connection-files in manual pages monitor-connection-files was deprecated and disabled by default for a long time. In the meantime, it has no effect at all. Remove references from the manual pages. --- .../org.freedesktop.NetworkManager.Settings.xml | 10 +++------- man/NetworkManager.conf.xml | 4 +++- man/nm-settings-ifcfg-rh.xsl | 4 +--- man/nm-settings-keyfile.xsl | 4 +--- man/nmcli.xml | 9 +++------ 5 files changed, 11 insertions(+), 20 deletions(-) diff --git a/introspection/org.freedesktop.NetworkManager.Settings.xml b/introspection/org.freedesktop.NetworkManager.Settings.xml index 0587db5f45..42e6f1ef85 100644 --- a/introspection/org.freedesktop.NetworkManager.Settings.xml +++ b/introspection/org.freedesktop.NetworkManager.Settings.xml @@ -107,9 +107,8 @@ Loads or reloads the indicated connections from disk. You should call this after making changes directly to an on-disk connection file to make sure - that NetworkManager sees the changes. (If "monitor-connection-files" in - NetworkManager.conf is "true", then this will have no real effect, but is - harmless.) As with AddConnection(), this operation does not necessarily + that NetworkManager sees the changes. + As with AddConnection(), this operation does not necessarily start the network connection. --> @@ -123,10 +122,7 @@ @status: This always returns %TRUE. Tells NetworkManager to reload all connection files from disk, including - noticing any added or deleted connection files. By default, connections - are re-read automatically any time they change, so you only need to use - this command if you have set "monitor-connection-files=false" in - NetworkManager.conf. + noticing any added or deleted connection files. --> diff --git a/man/NetworkManager.conf.xml b/man/NetworkManager.conf.xml index 782f1ab52b..6aa0398e64 100644 --- a/man/NetworkManager.conf.xml +++ b/man/NetworkManager.conf.xml @@ -153,7 +153,9 @@ plugins-=remove-me monitor-connection-files - This setting is deprecated and has no effect. + This setting is deprecated and has no effect. Profiles + from disk are never automatically reloaded. Use for example nmcli connection (re)load + for that. auth-polkit diff --git a/man/nm-settings-ifcfg-rh.xsl b/man/nm-settings-ifcfg-rh.xsl index aef30fd104..eac6b0a15d 100644 --- a/man/nm-settings-ifcfg-rh.xsl +++ b/man/nm-settings-ifcfg-rh.xsl @@ -72,9 +72,7 @@ Users can create or modify the ifcfg-rh connection files manually, even if that is not the recommended way of managing the profiles. However, if they choose to do that, they must inform NetworkManager about - their changes (see monitor-connection-file in - nm-settings5 - , and nmcli con (re)load). + their changes (for example via nmcli con (re)load). Some <emphasis>ifcfg-rh</emphasis> configuration examples: diff --git a/man/nm-settings-keyfile.xsl b/man/nm-settings-keyfile.xsl index ce4328cc2c..c22bd4fc04 100644 --- a/man/nm-settings-keyfile.xsl +++ b/man/nm-settings-keyfile.xsl @@ -74,9 +74,7 @@ Users can create or modify the keyfile connection files manually, even if that is not the recommended way of managing the profiles. However, if they choose to do that, they must inform NetworkManager about - their changes (see monitor-connection-file in - nm-settings5 - and nmcli con (re)load). + their changes (for example via nmcli con (re)load). Examples of <emphasis>keyfile</emphasis> configuration diff --git a/man/nmcli.xml b/man/nmcli.xml index fc36f4e0e3..cded9ab6cb 100644 --- a/man/nmcli.xml +++ b/man/nmcli.xml @@ -1147,13 +1147,10 @@ Reload all connection files from disk. - NetworkManager does not monitor changes to connection - files by default. So you need to use this command in order to tell + NetworkManager does not monitor changes to connection. + So you need to use this command in order to tell NetworkManager to re-read the connection profiles from - disk when a change was made to them. However, the auto-loading feature can be - enabled and then NetworkManager will reload connection - files any time they change (monitor-connection-files=true in - NetworkManager.conf5). + disk when a change was made to them.