Upgrade to 1.33.3 release (development)
Resolves: #1996582 Resolves: #1949127 Signed-off-by: Ana Cabral <acabral@redhat.com>
This commit is contained in:
parent
fa877a6d08
commit
fdd21ee4af
1
.gitignore
vendored
1
.gitignore
vendored
@ -393,3 +393,4 @@ network-manager-applet-0.8.1.tar.bz2
|
|||||||
/NetworkManager-1.32.6.tar.xz
|
/NetworkManager-1.32.6.tar.xz
|
||||||
/NetworkManager-1.32.8.tar.xz
|
/NetworkManager-1.32.8.tar.xz
|
||||||
/NetworkManager-1.32.10.tar.xz
|
/NetworkManager-1.32.10.tar.xz
|
||||||
|
/NetworkManager-1.33.3.tar.xz
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
From af06ca8b1190240146f746f8aeca6fd11bfbe6ad Mon Sep 17 00:00:00 2001
|
|
||||||
From: Thomas Haller <thaller@redhat.com>
|
|
||||||
Date: Thu, 19 Aug 2021 13:35:27 +0200
|
|
||||||
Subject: [PATCH] platform: fix capturing addresses from platform for assuming
|
|
||||||
after restart
|
|
||||||
|
|
||||||
Commit c631aa48f034 ('platform: capture NMIP[46]Config from platform
|
|
||||||
with correct (reversed) order of IP addresses') changed this for IPv6
|
|
||||||
and IPv4, but it's not correct for IPv4.
|
|
||||||
|
|
||||||
For IPv6, later `ip addr add` calls adds a new primary address, which
|
|
||||||
is also listed in `ip addr show` first. Hence, as NMIP6Config tracks
|
|
||||||
addresses in increasing priority, while NMPlatform tracks them as
|
|
||||||
exposed by kernel, the order when appending addresses form platform
|
|
||||||
to NMIP6Config must be reversed.
|
|
||||||
|
|
||||||
That is not the case for IPv4. For IPv4, later `ip addr add` calls
|
|
||||||
add a secondary IP address. Also, in `ip addr show` output they are
|
|
||||||
appended. Consequently, IPv4 addresses are tracked by NMPlatform with
|
|
||||||
decreasing priority (in the reverse order than for IPv6).
|
|
||||||
|
|
||||||
Fix constructing the NMIP4Config by fixing the address order. This is
|
|
||||||
important, because during restart devices get assumed and our code would
|
|
||||||
configure the order of addresses as it finds them.
|
|
||||||
|
|
||||||
Fixes: c631aa48f034 ('platform: capture NMIP[46]Config from platform with correct (reversed) order of IP addresses')
|
|
||||||
(cherry picked from commit c380893dc6757e30b429f968bc90bc1edda68998)
|
|
||||||
(cherry picked from commit 605373b38ab463826bd7eb80408fb2cfae07ee91)
|
|
||||||
---
|
|
||||||
src/core/nm-ip4-config.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/core/nm-ip4-config.c b/src/core/nm-ip4-config.c
|
|
||||||
index 90531d0291..52a8faa791 100644
|
|
||||||
--- a/src/core/nm-ip4-config.c
|
|
||||||
+++ b/src/core/nm-ip4-config.c
|
|
||||||
@@ -543,7 +543,7 @@ nm_ip4_config_capture(NMDedupMultiIndex *multi_idx, NMPlatform *platform, int if
|
|
||||||
|
|
||||||
head_entry = nm_platform_lookup_object(platform, NMP_OBJECT_TYPE_IP4_ADDRESS, ifindex);
|
|
||||||
if (head_entry) {
|
|
||||||
- nmp_cache_iter_for_each_reverse (&iter, head_entry, &plobj) {
|
|
||||||
+ nmp_cache_iter_for_each (&iter, head_entry, &plobj) {
|
|
||||||
if (!_nm_ip_config_add_obj(priv->multi_idx,
|
|
||||||
&priv->idx_ip4_addresses_,
|
|
||||||
ifindex,
|
|
||||||
--
|
|
||||||
2.26.3
|
|
||||||
|
|
@ -1,59 +0,0 @@
|
|||||||
From d0ba892917461659b5b1e429fb217218ff204379 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Thomas Haller <thaller@redhat.com>
|
|
||||||
Date: Thu, 19 Aug 2021 13:53:29 +0200
|
|
||||||
Subject: [PATCH] nmcli/docs: fix address order in ipv46.addresses
|
|
||||||
documentation for `man nm-settings-nmcli`
|
|
||||||
|
|
||||||
For IPv4, the order is not like for IPv6. Of course not.
|
|
||||||
|
|
||||||
Fixes: 7aa4ad0fa22c ('nmcli/docs: better describe ipv[46].addresses in `man nm-settings-nmcli`')
|
|
||||||
(cherry picked from commit 2f3c2647d2263bf565fd21d14a3db56f6a063b91)
|
|
||||||
(cherry picked from commit dd8bc31fdb37acc2780f94defeb54e80bb1acf53)
|
|
||||||
---
|
|
||||||
src/libnm-core-impl/nm-setting-ip4-config.c | 2 +-
|
|
||||||
src/libnmc-setting/settings-docs.h.in | 2 +-
|
|
||||||
src/nmcli/generate-docs-nm-settings-nmcli.xml.in | 2 +-
|
|
||||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/libnm-core-impl/nm-setting-ip4-config.c b/src/libnm-core-impl/nm-setting-ip4-config.c
|
|
||||||
index b3a18bcae7..a24ebcfb5c 100644
|
|
||||||
--- a/src/libnm-core-impl/nm-setting-ip4-config.c
|
|
||||||
+++ b/src/libnm-core-impl/nm-setting-ip4-config.c
|
|
||||||
@@ -967,7 +967,7 @@ nm_setting_ip4_config_class_init(NMSettingIP4ConfigClass *klass)
|
|
||||||
* format: a comma separated list of addresses
|
|
||||||
* description: A list of IPv4 addresses and their prefix length. Multiple addresses
|
|
||||||
* can be separated by comma. For example "192.168.1.5/24, 10.1.0.5/24".
|
|
||||||
- * The addresses are listed in increasing priority, meaning the last address will
|
|
||||||
+ * The addresses are listed in decreasing priority, meaning the first address will
|
|
||||||
* be the primary address.
|
|
||||||
* ---end---
|
|
||||||
*/
|
|
||||||
diff --git a/src/libnmc-setting/settings-docs.h.in b/src/libnmc-setting/settings-docs.h.in
|
|
||||||
index 12625d4459..85c5aca1e4 100644
|
|
||||||
--- a/src/libnmc-setting/settings-docs.h.in
|
|
||||||
+++ b/src/libnmc-setting/settings-docs.h.in
|
|
||||||
@@ -226,7 +226,7 @@
|
|
||||||
#define DESCRIBE_DOC_NM_SETTING_IP_TUNNEL_REMOTE N_("The remote endpoint of the tunnel; the value must contain an IPv4 or IPv6 address.")
|
|
||||||
#define DESCRIBE_DOC_NM_SETTING_IP_TUNNEL_TOS N_("The type of service (IPv4) or traffic class (IPv6) field to be set on tunneled packets.")
|
|
||||||
#define DESCRIBE_DOC_NM_SETTING_IP_TUNNEL_TTL N_("The TTL to assign to tunneled packets. 0 is a special value meaning that packets inherit the TTL value.")
|
|
||||||
-#define DESCRIBE_DOC_NM_SETTING_IP4_CONFIG_ADDRESSES N_("A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example \"192.168.1.5/24, 10.1.0.5/24\". The addresses are listed in increasing priority, meaning the last address will be the primary address.")
|
|
||||||
+#define DESCRIBE_DOC_NM_SETTING_IP4_CONFIG_ADDRESSES N_("A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example \"192.168.1.5/24, 10.1.0.5/24\". The addresses are listed in decreasing priority, meaning the first address will be the primary address.")
|
|
||||||
#define DESCRIBE_DOC_NM_SETTING_IP4_CONFIG_DAD_TIMEOUT N_("Timeout in milliseconds used to check for the presence of duplicate IP addresses on the network. If an address conflict is detected, the activation will fail. A zero value means that no duplicate address detection is performed, -1 means the default value (either configuration ipvx.dad-timeout override or zero). A value greater than zero is a timeout in milliseconds. The property is currently implemented only for IPv4.")
|
|
||||||
#define DESCRIBE_DOC_NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID N_("A string sent to the DHCP server to identify the local machine which the DHCP server may use to customize the DHCP lease and options. When the property is a hex string ('aa:bb:cc') it is interpreted as a binary client ID, in which case the first byte is assumed to be the 'type' field as per RFC 2132 section 9.14 and the remaining bytes may be an hardware address (e.g. '01:xx:xx:xx:xx:xx:xx' where 1 is the Ethernet ARP type and the rest is a MAC address). If the property is not a hex string it is considered as a non-hardware-address client ID and the 'type' field is set to 0. The special values \"mac\" and \"perm-mac\" are supported, which use the current or permanent MAC address of the device to generate a client identifier with type ethernet (01). Currently, these options only work for ethernet type of links. The special value \"ipv6-duid\" uses the DUID from \"ipv6.dhcp-duid\" property as an RFC4361-compliant client identifier. As IAID it uses \"ipv4.dhcp-iaid\" and falls back to \"ipv6.dhcp-iaid\" if unset. The special value \"duid\" generates a RFC4361-compliant client identifier based on \"ipv4.dhcp-iaid\" and uses a DUID generated by hashing /etc/machine-id. The special value \"stable\" is supported to generate a type 0 client identifier based on the stable-id (see connection.stable-id) and a per-host key. If you set the stable-id, you may want to include the \"${DEVICE}\" or \"${MAC}\" specifier to get a per-device key. If unset, a globally configured default is used. If still unset, the default depends on the DHCP plugin.")
|
|
||||||
#define DESCRIBE_DOC_NM_SETTING_IP4_CONFIG_DHCP_FQDN N_("If the \"dhcp-send-hostname\" property is TRUE, then the specified FQDN will be sent to the DHCP server when acquiring a lease. This property and \"dhcp-hostname\" are mutually exclusive and cannot be set at the same time.")
|
|
||||||
diff --git a/src/nmcli/generate-docs-nm-settings-nmcli.xml.in b/src/nmcli/generate-docs-nm-settings-nmcli.xml.in
|
|
||||||
index 88803094d6..ca5225ba28 100644
|
|
||||||
--- a/src/nmcli/generate-docs-nm-settings-nmcli.xml.in
|
|
||||||
+++ b/src/nmcli/generate-docs-nm-settings-nmcli.xml.in
|
|
||||||
@@ -650,7 +650,7 @@
|
|
||||||
description="DNS servers priority. The relative priority for DNS servers specified by this setting. A lower numerical value is better (higher priority). Negative values have the special effect of excluding other configurations with a greater numerical priority value; so in presence of at least one negative priority, only DNS servers from connections with the lowest priority value will be used. To avoid all DNS leaks, set the priority of the profile that should be used to the most negative value of all active connections profiles. Zero selects a globally configured default value. If the latter is missing or zero too, it defaults to 50 for VPNs (including WireGuard) and 100 for other connections. Note that the priority is to order DNS settings for multiple active connections. It does not disambiguate multiple DNS servers within the same connection profile. When multiple devices have configurations with the same priority, VPNs will be considered first, then devices with the best (lowest metric) default route and then all other devices. When using dns=default, servers with higher priority will be on top of resolv.conf. To prioritize a given server over another one within the same connection, just specify them in the desired order. Note that commonly the resolver tries name servers in /etc/resolv.conf in the order listed, proceeding with the next server in the list on failure. See for example the "rotate" option of the dns-options setting. If there are any negative DNS priorities, then only name servers from the devices with that lowest priority will be considered. When using a DNS resolver that supports Conditional Forwarding or Split DNS (with dns=dnsmasq or dns=systemd-resolved settings), each connection is used to query domains in its search list. The search domains determine which name servers to ask, and the DNS priority is used to prioritize name servers based on the domain. Queries for domains not present in any search list are routed through connections having the '~.' special wildcard domain, which is added automatically to connections with the default route (or can be added manually). When multiple connections specify the same domain, the one with the best priority (lowest numerical value) wins. If a sub domain is configured on another interface it will be accepted regardless the priority, unless parent domain on the other interface has a negative priority, which causes the sub domain to be shadowed. With Split DNS one can avoid undesired DNS leaks by properly configuring DNS priorities and the search domains, so that only name servers of the desired interface are configured." />
|
|
||||||
<property name="addresses"
|
|
||||||
alias="ip4"
|
|
||||||
- description="A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example "192.168.1.5/24, 10.1.0.5/24". The addresses are listed in increasing priority, meaning the last address will be the primary address." />
|
|
||||||
+ description="A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example "192.168.1.5/24, 10.1.0.5/24". The addresses are listed in decreasing priority, meaning the first address will be the primary address." />
|
|
||||||
<property name="gateway"
|
|
||||||
alias="gw4"
|
|
||||||
description="The gateway associated with this configuration. This is only meaningful if "addresses" is also set. The gateway's main purpose is to control the next hop of the standard default route on the device. Hence, the gateway property conflicts with "never-default" and will be automatically dropped if the IP configuration is set to never-default. As an alternative to set the gateway, configure a static default route with /0 as prefix length." />
|
|
||||||
--
|
|
||||||
2.26.3
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
From 7423b47a3333b09fce9ddce33041e5dbdbb4c7e6 Mon Sep 17 00:00:00 2001
|
From 9d61f1890d01c53d35203c49a5a06349320e242a Mon Sep 17 00:00:00 2001
|
||||||
From: Thomas Haller <thaller@redhat.com>
|
From: Ana Cabral <acabral@redhat.com>
|
||||||
Date: Tue, 27 Aug 2019 15:47:32 +0200
|
Date: Fri, 24 Sep 2021 18:47:51 +0200
|
||||||
Subject: [PATCH] patch documentation with the proper default values
|
Subject: [PATCH] patch documentation with the proper default values
|
||||||
|
|
||||||
We don't regenerate the documentation for RHEL builds, but
|
We don't regenerate the documentation for RHEL builds, but
|
||||||
@ -9,15 +9,9 @@ of defaults.
|
|||||||
|
|
||||||
Patch the man pages with the proper values.
|
Patch the man pages with the proper values.
|
||||||
---
|
---
|
||||||
docs/api/html/NetworkManager.conf.html | 2 +-
|
docs/api/html/NetworkManager.conf.html | 2 +-
|
||||||
docs/api/html/nm-settings-nmcli.html | 2 +-
|
man/NetworkManager.conf.5 | 2 +-
|
||||||
man/NetworkManager.conf.5 | 2 +-
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
man/nm-settings-nmcli.5 | 2 +-
|
|
||||||
man/nm-settings-nmcli.xml | 2 +-
|
|
||||||
src/libnm-client-impl/nm-property-infos-nmcli.xml | 2 +-
|
|
||||||
src/libnmc-setting/settings-docs.h | 2 +-
|
|
||||||
src/nmcli/generate-docs-nm-settings-nmcli.xml | 2 +-
|
|
||||||
8 files changed, 8 insertions(+), 8 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/docs/api/html/NetworkManager.conf.html b/docs/api/html/NetworkManager.conf.html
|
diff --git a/docs/api/html/NetworkManager.conf.html b/docs/api/html/NetworkManager.conf.html
|
||||||
index e8efb5e7fe7d..f432f6736691 100644
|
index e8efb5e7fe7d..f432f6736691 100644
|
||||||
@ -32,21 +26,8 @@ index e8efb5e7fe7d..f432f6736691 100644
|
|||||||
</p></td>
|
</p></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
diff --git a/docs/api/html/nm-settings-nmcli.html b/docs/api/html/nm-settings-nmcli.html
|
|
||||||
index e221ce1496fa..1ce647f7bf7d 100644
|
|
||||||
--- a/docs/api/html/nm-settings-nmcli.html
|
|
||||||
+++ b/docs/api/html/nm-settings-nmcli.html
|
|
||||||
@@ -1955,7 +1955,7 @@
|
|
||||||
<td>
|
|
||||||
<p>
|
|
||||||
Alias: ip4</p>
|
|
||||||
-<p>A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example "192.168.1.5/24, 10.1.0.5/24". The addresses are listed in increasing priority, meaning the last address will be the primary address.</p>
|
|
||||||
+<p>A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example "192.168.1.5/24, 10.1.0.5/24". The addresses are listed in decreasing priority, meaning the first address will be the primary address.</p>
|
|
||||||
<p>
|
|
||||||
Format: a comma separated list of addresses</p>
|
|
||||||
</td>
|
|
||||||
diff --git a/man/NetworkManager.conf.5 b/man/NetworkManager.conf.5
|
diff --git a/man/NetworkManager.conf.5 b/man/NetworkManager.conf.5
|
||||||
index 33850bb0e398..cd0379806b29 100644
|
index 75215918a9d5..2251c95a11b5 100644
|
||||||
--- a/man/NetworkManager.conf.5
|
--- a/man/NetworkManager.conf.5
|
||||||
+++ b/man/NetworkManager.conf.5
|
+++ b/man/NetworkManager.conf.5
|
||||||
@@ -664,7 +664,7 @@ INFO\&.
|
@@ -664,7 +664,7 @@ INFO\&.
|
||||||
@ -58,71 +39,6 @@ index 33850bb0e398..cd0379806b29 100644
|
|||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
\fIaudit\fR
|
\fIaudit\fR
|
||||||
diff --git a/man/nm-settings-nmcli.5 b/man/nm-settings-nmcli.5
|
|
||||||
index 2d9c067a4679..d3a03d306a1d 100644
|
|
||||||
--- a/man/nm-settings-nmcli.5
|
|
||||||
+++ b/man/nm-settings-nmcli.5
|
|
||||||
@@ -1655,7 +1655,7 @@ Properties:
|
|
||||||
.RS 4
|
|
||||||
Alias: ip4
|
|
||||||
.sp
|
|
||||||
-A list of IPv4 addresses and their prefix length\&. Multiple addresses can be separated by comma\&. For example "192\&.168\&.1\&.5/24, 10\&.1\&.0\&.5/24"\&. The addresses are listed in increasing priority, meaning the last address will be the primary address\&.
|
|
||||||
+A list of IPv4 addresses and their prefix length\&. Multiple addresses can be separated by comma\&. For example "192\&.168\&.1\&.5/24, 10\&.1\&.0\&.5/24"\&. The addresses are listed in decreasing priority, meaning the first address will be the primary address\&.
|
|
||||||
.sp
|
|
||||||
Format: a comma separated list of addresses
|
|
||||||
.RE
|
|
||||||
diff --git a/man/nm-settings-nmcli.xml b/man/nm-settings-nmcli.xml
|
|
||||||
index 258e4135009b..199e49e91794 100644
|
|
||||||
--- a/man/nm-settings-nmcli.xml
|
|
||||||
+++ b/man/nm-settings-nmcli.xml
|
|
||||||
@@ -274,7 +274,7 @@
|
|
||||||
Format: string</para></listitem></varlistentry></variablelist></para></refsect2><refsect2><title>ipv4 setting</title><para>IPv4 Settings.</para><para>
|
|
||||||
Properties:
|
|
||||||
<variablelist><varlistentry><term><option id="nm-settings-nmcli.property.ipv4.addresses">addresses</option></term><listitem><para>
|
|
||||||
- Alias: ip4</para><para>A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example "192.168.1.5/24, 10.1.0.5/24". The addresses are listed in increasing priority, meaning the last address will be the primary address.</para><para>
|
|
||||||
+ Alias: ip4</para><para>A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example "192.168.1.5/24, 10.1.0.5/24". The addresses are listed in decreasing priority, meaning the first address will be the primary address.</para><para>
|
|
||||||
Format: a comma separated list of addresses</para></listitem></varlistentry><varlistentry><term><option id="nm-settings-nmcli.property.ipv4.dad-timeout">dad-timeout</option></term><listitem><para>Timeout in milliseconds used to check for the presence of duplicate IP addresses on the network. If an address conflict is detected, the activation will fail. A zero value means that no duplicate address detection is performed, -1 means the default value (either configuration ipvx.dad-timeout override or zero). A value greater than zero is a timeout in milliseconds. The property is currently implemented only for IPv4.</para><para>
|
|
||||||
Format: int32</para></listitem></varlistentry><varlistentry><term><option id="nm-settings-nmcli.property.ipv4.dhcp-client-id">dhcp-client-id</option></term><listitem><para>A string sent to the DHCP server to identify the local machine which the DHCP server may use to customize the DHCP lease and options. When the property is a hex string ('aa:bb:cc') it is interpreted as a binary client ID, in which case the first byte is assumed to be the 'type' field as per RFC 2132 section 9.14 and the remaining bytes may be an hardware address (e.g. '01:xx:xx:xx:xx:xx:xx' where 1 is the Ethernet ARP type and the rest is a MAC address). If the property is not a hex string it is considered as a non-hardware-address client ID and the 'type' field is set to 0. The special values "mac" and "perm-mac" are supported, which use the current or permanent MAC address of the device to generate a client identifier with type ethernet (01). Currently, these options only work for ethernet type of links. The special value "ipv6-duid" uses the DUID from "ipv6.dhcp-duid" property as an RFC4361-compliant client identifier. As IAID it uses "ipv4.dhcp-iaid" and falls back to "ipv6.dhcp-iaid" if unset. The special value "duid" generates a RFC4361-compliant client identifier based on "ipv4.dhcp-iaid" and uses a DUID generated by hashing /etc/machine-id. The special value "stable" is supported to generate a type 0 client identifier based on the stable-id (see connection.stable-id) and a per-host key. If you set the stable-id, you may want to include the "${DEVICE}" or "${MAC}" specifier to get a per-device key. If unset, a globally configured default is used. If still unset, the default depends on the DHCP plugin.</para><para>
|
|
||||||
Format: string</para></listitem></varlistentry><varlistentry><term><option id="nm-settings-nmcli.property.ipv4.dhcp-fqdn">dhcp-fqdn</option></term><listitem><para>If the "dhcp-send-hostname" property is TRUE, then the specified FQDN will be sent to the DHCP server when acquiring a lease. This property and "dhcp-hostname" are mutually exclusive and cannot be set at the same time.</para><para>
|
|
||||||
diff --git a/src/libnm-client-impl/nm-property-infos-nmcli.xml b/src/libnm-client-impl/nm-property-infos-nmcli.xml
|
|
||||||
index b771b74c5909..d6aa8a80c8e3 100644
|
|
||||||
--- a/src/libnm-client-impl/nm-property-infos-nmcli.xml
|
|
||||||
+++ b/src/libnm-client-impl/nm-property-infos-nmcli.xml
|
|
||||||
@@ -34,7 +34,7 @@
|
|
||||||
<setting name="ip-tunnel">
|
|
||||||
</setting>
|
|
||||||
<setting name="ipv4">
|
|
||||||
-<property name="addresses" variable="addresses" format="a comma separated list of addresses" values="" default="" example="" description="A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example "192.168.1.5/24, 10.1.0.5/24". The addresses are listed in increasing priority, meaning the last address will be the primary address." />
|
|
||||||
+<property name="addresses" variable="addresses" format="a comma separated list of addresses" values="" default="" example="" description="A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example "192.168.1.5/24, 10.1.0.5/24". The addresses are listed in decreasing priority, meaning the first address will be the primary address." />
|
|
||||||
<property name="routes" variable="routes" format="a comma separated list of routes" values="" default="" example="" description="A list of IPv4 destination addresses, prefix length, optional IPv4 next hop addresses, optional route metric, optional attribute. The valid syntax is: "ip[/prefix] [next-hop] [metric] [attribute=val]...[,ip[/prefix]...]". For example "192.0.2.0/24 10.1.1.1 77, 198.51.100.0/24"." />
|
|
||||||
</setting>
|
|
||||||
<setting name="ipv6">
|
|
||||||
diff --git a/src/libnmc-setting/settings-docs.h b/src/libnmc-setting/settings-docs.h
|
|
||||||
index 12625d445966..85c5aca1e4c8 100644
|
|
||||||
--- a/src/libnmc-setting/settings-docs.h
|
|
||||||
+++ b/src/libnmc-setting/settings-docs.h
|
|
||||||
@@ -226,7 +226,7 @@
|
|
||||||
#define DESCRIBE_DOC_NM_SETTING_IP_TUNNEL_REMOTE N_("The remote endpoint of the tunnel; the value must contain an IPv4 or IPv6 address.")
|
|
||||||
#define DESCRIBE_DOC_NM_SETTING_IP_TUNNEL_TOS N_("The type of service (IPv4) or traffic class (IPv6) field to be set on tunneled packets.")
|
|
||||||
#define DESCRIBE_DOC_NM_SETTING_IP_TUNNEL_TTL N_("The TTL to assign to tunneled packets. 0 is a special value meaning that packets inherit the TTL value.")
|
|
||||||
-#define DESCRIBE_DOC_NM_SETTING_IP4_CONFIG_ADDRESSES N_("A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example \"192.168.1.5/24, 10.1.0.5/24\". The addresses are listed in increasing priority, meaning the last address will be the primary address.")
|
|
||||||
+#define DESCRIBE_DOC_NM_SETTING_IP4_CONFIG_ADDRESSES N_("A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example \"192.168.1.5/24, 10.1.0.5/24\". The addresses are listed in decreasing priority, meaning the first address will be the primary address.")
|
|
||||||
#define DESCRIBE_DOC_NM_SETTING_IP4_CONFIG_DAD_TIMEOUT N_("Timeout in milliseconds used to check for the presence of duplicate IP addresses on the network. If an address conflict is detected, the activation will fail. A zero value means that no duplicate address detection is performed, -1 means the default value (either configuration ipvx.dad-timeout override or zero). A value greater than zero is a timeout in milliseconds. The property is currently implemented only for IPv4.")
|
|
||||||
#define DESCRIBE_DOC_NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID N_("A string sent to the DHCP server to identify the local machine which the DHCP server may use to customize the DHCP lease and options. When the property is a hex string ('aa:bb:cc') it is interpreted as a binary client ID, in which case the first byte is assumed to be the 'type' field as per RFC 2132 section 9.14 and the remaining bytes may be an hardware address (e.g. '01:xx:xx:xx:xx:xx:xx' where 1 is the Ethernet ARP type and the rest is a MAC address). If the property is not a hex string it is considered as a non-hardware-address client ID and the 'type' field is set to 0. The special values \"mac\" and \"perm-mac\" are supported, which use the current or permanent MAC address of the device to generate a client identifier with type ethernet (01). Currently, these options only work for ethernet type of links. The special value \"ipv6-duid\" uses the DUID from \"ipv6.dhcp-duid\" property as an RFC4361-compliant client identifier. As IAID it uses \"ipv4.dhcp-iaid\" and falls back to \"ipv6.dhcp-iaid\" if unset. The special value \"duid\" generates a RFC4361-compliant client identifier based on \"ipv4.dhcp-iaid\" and uses a DUID generated by hashing /etc/machine-id. The special value \"stable\" is supported to generate a type 0 client identifier based on the stable-id (see connection.stable-id) and a per-host key. If you set the stable-id, you may want to include the \"${DEVICE}\" or \"${MAC}\" specifier to get a per-device key. If unset, a globally configured default is used. If still unset, the default depends on the DHCP plugin.")
|
|
||||||
#define DESCRIBE_DOC_NM_SETTING_IP4_CONFIG_DHCP_FQDN N_("If the \"dhcp-send-hostname\" property is TRUE, then the specified FQDN will be sent to the DHCP server when acquiring a lease. This property and \"dhcp-hostname\" are mutually exclusive and cannot be set at the same time.")
|
|
||||||
diff --git a/src/nmcli/generate-docs-nm-settings-nmcli.xml b/src/nmcli/generate-docs-nm-settings-nmcli.xml
|
|
||||||
index 88803094d6ce..ca5225ba2811 100644
|
|
||||||
--- a/src/nmcli/generate-docs-nm-settings-nmcli.xml
|
|
||||||
+++ b/src/nmcli/generate-docs-nm-settings-nmcli.xml
|
|
||||||
@@ -650,7 +650,7 @@
|
|
||||||
description="DNS servers priority. The relative priority for DNS servers specified by this setting. A lower numerical value is better (higher priority). Negative values have the special effect of excluding other configurations with a greater numerical priority value; so in presence of at least one negative priority, only DNS servers from connections with the lowest priority value will be used. To avoid all DNS leaks, set the priority of the profile that should be used to the most negative value of all active connections profiles. Zero selects a globally configured default value. If the latter is missing or zero too, it defaults to 50 for VPNs (including WireGuard) and 100 for other connections. Note that the priority is to order DNS settings for multiple active connections. It does not disambiguate multiple DNS servers within the same connection profile. When multiple devices have configurations with the same priority, VPNs will be considered first, then devices with the best (lowest metric) default route and then all other devices. When using dns=default, servers with higher priority will be on top of resolv.conf. To prioritize a given server over another one within the same connection, just specify them in the desired order. Note that commonly the resolver tries name servers in /etc/resolv.conf in the order listed, proceeding with the next server in the list on failure. See for example the "rotate" option of the dns-options setting. If there are any negative DNS priorities, then only name servers from the devices with that lowest priority will be considered. When using a DNS resolver that supports Conditional Forwarding or Split DNS (with dns=dnsmasq or dns=systemd-resolved settings), each connection is used to query domains in its search list. The search domains determine which name servers to ask, and the DNS priority is used to prioritize name servers based on the domain. Queries for domains not present in any search list are routed through connections having the '~.' special wildcard domain, which is added automatically to connections with the default route (or can be added manually). When multiple connections specify the same domain, the one with the best priority (lowest numerical value) wins. If a sub domain is configured on another interface it will be accepted regardless the priority, unless parent domain on the other interface has a negative priority, which causes the sub domain to be shadowed. With Split DNS one can avoid undesired DNS leaks by properly configuring DNS priorities and the search domains, so that only name servers of the desired interface are configured." />
|
|
||||||
<property name="addresses"
|
|
||||||
alias="ip4"
|
|
||||||
- description="A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example "192.168.1.5/24, 10.1.0.5/24". The addresses are listed in increasing priority, meaning the last address will be the primary address." />
|
|
||||||
+ description="A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example "192.168.1.5/24, 10.1.0.5/24". The addresses are listed in decreasing priority, meaning the first address will be the primary address." />
|
|
||||||
<property name="gateway"
|
|
||||||
alias="gw4"
|
|
||||||
description="The gateway associated with this configuration. This is only meaningful if "addresses" is also set. The gateway's main purpose is to control the next hop of the standard default route on the device. Hence, the gateway property conflicts with "never-default" and will be automatically dropped if the IP configuration is set to never-default. As an alternative to set the gateway, configure a static default route with /0 as prefix length." />
|
|
||||||
--
|
--
|
||||||
2.31.1
|
2.31.1
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
|
%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
|
||||||
|
|
||||||
%global epoch_version 1
|
%global epoch_version 1
|
||||||
%global rpm_version 1.32.10
|
%global rpm_version 1.34.0
|
||||||
%global real_version 1.32.10
|
%global real_version 1.33.3
|
||||||
%global release_version 2
|
%global release_version 0.1
|
||||||
%global snapshot %{nil}
|
%global snapshot %{nil}
|
||||||
%global git_sha %{nil}
|
%global git_sha %{nil}
|
||||||
|
|
||||||
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
%global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[0-9][0-9]*\\)\\.[0-9][0-9]*$/\\1/p')
|
%global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[0-9][0-9]*\\)\\.[0-9][0-9]*$/\\1/p')
|
||||||
|
|
||||||
%global systemd_units NetworkManager.service NetworkManager-wait-online.service NetworkManager-dispatcher.service
|
%global systemd_units NetworkManager.service NetworkManager-wait-online.service NetworkManager-dispatcher.service nm-sudo.service
|
||||||
|
|
||||||
%global systemd_units_cloud_setup nm-cloud-setup.service nm-cloud-setup.timer
|
%global systemd_units_cloud_setup nm-cloud-setup.service nm-cloud-setup.timer
|
||||||
|
|
||||||
@ -189,10 +189,10 @@ Source6: 70-nm-connectivity.conf
|
|||||||
# RHEL downstream patches that change behavior from upstream.
|
# RHEL downstream patches that change behavior from upstream.
|
||||||
# These are not bugfixes, hence they are also relevant after
|
# These are not bugfixes, hence they are also relevant after
|
||||||
# the next rebase of the source tarball.
|
# the next rebase of the source tarball.
|
||||||
|
# Patch0001: 0001-some.patch
|
||||||
|
|
||||||
# Bugfixes that are only relevant until next rebase of the package.
|
# Bugfixes that are only relevant until next rebase of the package.
|
||||||
Patch1000: 1000-platform-fix-capturing-addresses-from-platform-for-assuming-after-restart.patch
|
# Patch1001: 1001-some.patch
|
||||||
Patch1001: 1001-nmcli-docs-fix-address-order-in-ipv46-addresses-documentation-for-nm-settings-nmcli.patch
|
|
||||||
|
|
||||||
# The pregenerated docs contain default values and paths that depend
|
# The pregenerated docs contain default values and paths that depend
|
||||||
# on the configure options when creating the source tarball.
|
# on the configure options when creating the source tarball.
|
||||||
@ -944,7 +944,7 @@ if [ $1 -eq 0 ]; then
|
|||||||
|
|
||||||
/usr/sbin/update-alternatives --remove ifup %{_libexecdir}/nm-ifup >/dev/null 2>&1 || :
|
/usr/sbin/update-alternatives --remove ifup %{_libexecdir}/nm-ifup >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
%systemd_preun NetworkManager-wait-online.service NetworkManager-dispatcher.service
|
%systemd_preun NetworkManager-wait-online.service NetworkManager-dispatcher.service nm-sudo.service
|
||||||
|
|
||||||
|
|
||||||
%if %{with nm_cloud_setup}
|
%if %{with nm_cloud_setup}
|
||||||
@ -978,6 +978,7 @@ fi
|
|||||||
%files
|
%files
|
||||||
%{dbus_sys_dir}/org.freedesktop.NetworkManager.conf
|
%{dbus_sys_dir}/org.freedesktop.NetworkManager.conf
|
||||||
%{dbus_sys_dir}/nm-dispatcher.conf
|
%{dbus_sys_dir}/nm-dispatcher.conf
|
||||||
|
%{dbus_sys_dir}/nm-sudo.conf
|
||||||
%{dbus_sys_dir}/nm-ifcfg-rh.conf
|
%{dbus_sys_dir}/nm-ifcfg-rh.conf
|
||||||
%{_sbindir}/%{name}
|
%{_sbindir}/%{name}
|
||||||
%{_bindir}/nmcli
|
%{_bindir}/nmcli
|
||||||
@ -1003,6 +1004,7 @@ fi
|
|||||||
%{_libexecdir}/nm-iface-helper
|
%{_libexecdir}/nm-iface-helper
|
||||||
%{_libexecdir}/nm-initrd-generator
|
%{_libexecdir}/nm-initrd-generator
|
||||||
%{_libexecdir}/nm-daemon-helper
|
%{_libexecdir}/nm-daemon-helper
|
||||||
|
%{_libexecdir}/nm-sudo
|
||||||
%dir %{_libdir}/%{name}
|
%dir %{_libdir}/%{name}
|
||||||
%dir %{nmplugindir}
|
%dir %{nmplugindir}
|
||||||
%{nmplugindir}/libnm-settings-plugin*.so
|
%{nmplugindir}/libnm-settings-plugin*.so
|
||||||
@ -1026,6 +1028,7 @@ fi
|
|||||||
%dir %{_localstatedir}/lib/NetworkManager
|
%dir %{_localstatedir}/lib/NetworkManager
|
||||||
%dir %{_sysconfdir}/sysconfig/network-scripts
|
%dir %{_sysconfdir}/sysconfig/network-scripts
|
||||||
%{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service
|
%{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service
|
||||||
|
%{_datadir}/dbus-1/system-services/org.freedesktop.nm.sudo.service
|
||||||
%{_datadir}/polkit-1/actions/*.policy
|
%{_datadir}/polkit-1/actions/*.policy
|
||||||
%{_prefix}/lib/udev/rules.d/*.rules
|
%{_prefix}/lib/udev/rules.d/*.rules
|
||||||
%if %{with firewalld_zone}
|
%if %{with firewalld_zone}
|
||||||
@ -1035,6 +1038,7 @@ fi
|
|||||||
%{systemd_dir}/NetworkManager.service
|
%{systemd_dir}/NetworkManager.service
|
||||||
%{systemd_dir}/NetworkManager-wait-online.service
|
%{systemd_dir}/NetworkManager-wait-online.service
|
||||||
%{systemd_dir}/NetworkManager-dispatcher.service
|
%{systemd_dir}/NetworkManager-dispatcher.service
|
||||||
|
%{systemd_dir}/nm-sudo.service
|
||||||
%dir %{_datadir}/doc/NetworkManager/examples
|
%dir %{_datadir}/doc/NetworkManager/examples
|
||||||
%{_datadir}/doc/NetworkManager/examples/server.conf
|
%{_datadir}/doc/NetworkManager/examples/server.conf
|
||||||
%doc NEWS AUTHORS README CONTRIBUTING.md TODO
|
%doc NEWS AUTHORS README CONTRIBUTING.md TODO
|
||||||
@ -1162,6 +1166,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 24 2021 Ana Cabral <acabral@redhat.com> - 1:1.34.0-0.1
|
||||||
|
- Upgrade to 1.33.3 release (development) (rh #1996582)
|
||||||
|
- Add support of queue_id of bond port (rh #1949127)
|
||||||
|
|
||||||
* Thu Aug 19 2021 Wen Liang <wenliang@redhat.com> - 1:1.32.10-2
|
* Thu Aug 19 2021 Wen Liang <wenliang@redhat.com> - 1:1.32.10-2
|
||||||
- platform: fix capturing IPv4 addresses from platform for assuming after restart
|
- platform: fix capturing IPv4 addresses from platform for assuming after restart
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (NetworkManager-1.32.10.tar.xz) = c4eb9114869efba197c3ec1e99d7d5bc54222d9c7118cf699fe61130952a20376a760b86909290d6312a4a23016d51f9ff90ba8eadbbcda84ce811e441293d8d
|
SHA512 (NetworkManager-1.33.3.tar.xz) = a90312b5d51709ecb5ec3446257cb94e35519b2eaabdfb2007c5e44f7f5e95e7b09a8d9740a31211ba0993833736d3239616772daac95136644837c5fe64393a
|
||||||
|
Loading…
Reference in New Issue
Block a user