import OL NetworkManager-1.52.0-5.0.1.el9_6
This commit is contained in:
parent
5a76b7b3c4
commit
30aa091eff
3
SOURCES/10-disable-mptcp.conf
Normal file
3
SOURCES/10-disable-mptcp.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# This is the config setting to disable NetworkManager's MPTCP handling by default.
|
||||||
|
[connection.no-mptcp]
|
||||||
|
connection.mptcp-flags=0x1
|
||||||
6
SOURCES/10-persist.conf
Normal file
6
SOURCES/10-persist.conf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[Unit]
|
||||||
|
Before=NetworkManager.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=
|
||||||
|
ExecStart=/usr/libexec/nm-dispatcher --persist
|
||||||
@ -5,6 +5,6 @@
|
|||||||
# strict. Check "/proc/sys/net/ipv4/conf/*/rp_filter".
|
# strict. Check "/proc/sys/net/ipv4/conf/*/rp_filter".
|
||||||
[connectivity]
|
[connectivity]
|
||||||
enabled=true
|
enabled=true
|
||||||
uri=http://static.redhat.com/test/rhel-networkmanager.txt
|
uri=http://yum.oracle.com/static/oracle-networkmanager.txt
|
||||||
response=OK
|
response=OK
|
||||||
interval=300
|
interval=300
|
||||||
@ -89,9 +89,9 @@
|
|||||||
%bcond_with connectivity_fedora
|
%bcond_with connectivity_fedora
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
%bcond_without connectivity_redhat
|
%bcond_without connectivity_oracle
|
||||||
%else
|
%else
|
||||||
%bcond_with connectivity_redhat
|
%bcond_with connectivity_oracle
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
%bcond_with iwd
|
%bcond_with iwd
|
||||||
@ -167,7 +167,7 @@ Name: NetworkManager
|
|||||||
Summary: Network connection manager and user applications
|
Summary: Network connection manager and user applications
|
||||||
Epoch: %{epoch_version}
|
Epoch: %{epoch_version}
|
||||||
Version: %{rpm_version}
|
Version: %{rpm_version}
|
||||||
Release: %{release_version}%{?snap}%{?dist}
|
Release: %{release_version}%{?snap}.0.1%{?dist}
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||||
URL: https://networkmanager.dev/
|
URL: https://networkmanager.dev/
|
||||||
@ -176,11 +176,13 @@ Source: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/releases/
|
|||||||
Source1: NetworkManager.conf
|
Source1: NetworkManager.conf
|
||||||
Source2: 00-server.conf
|
Source2: 00-server.conf
|
||||||
Source4: 20-connectivity-fedora.conf
|
Source4: 20-connectivity-fedora.conf
|
||||||
Source5: 20-connectivity-redhat.conf
|
Source5: 20-connectivity-oracle.conf
|
||||||
Source6: 22-wifi-mac-addr.conf
|
Source6: 22-wifi-mac-addr.conf
|
||||||
Source7: 70-nm-connectivity.conf
|
Source7: 70-nm-connectivity.conf
|
||||||
Source8: readme-ifcfg-rh.txt
|
Source8: readme-ifcfg-rh.txt
|
||||||
Source9: readme-ifcfg-rh-migrated.txt
|
Source9: readme-ifcfg-rh-migrated.txt
|
||||||
|
Source10: 10-disable-mptcp.conf
|
||||||
|
Source11: 10-persist.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
|
||||||
@ -483,16 +485,18 @@ via Fedora infrastructure.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %{with connectivity_redhat}
|
%if %{with connectivity_oracle}
|
||||||
%package config-connectivity-redhat
|
%package config-connectivity-oracle
|
||||||
Summary: NetworkManager config file for connectivity checking via Red Hat servers
|
Summary: NetworkManager config file for connectivity checking via Oracle servers
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Provides: NetworkManager-config-connectivity = %{epoch}:%{version}-%{release}
|
Provides: NetworkManager-config-connectivity = %{epoch}:%{version}-%{release}
|
||||||
|
Provides: NetworkManager-config-connectivity-redhat
|
||||||
|
Obsoletes: NetworkManager-config-connectivity-redhat
|
||||||
|
|
||||||
%description config-connectivity-redhat
|
%description config-connectivity-oracle
|
||||||
This adds a NetworkManager configuration file to enable connectivity checking
|
This adds a NetworkManager configuration file to enable connectivity checking
|
||||||
via Red Hat infrastructure.
|
via Oracle infrastructure.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@ -738,11 +742,14 @@ cp %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/
|
|||||||
|
|
||||||
cp %{SOURCE2} %{buildroot}%{nmlibdir}/conf.d/
|
cp %{SOURCE2} %{buildroot}%{nmlibdir}/conf.d/
|
||||||
|
|
||||||
|
#copying the config to disable MPTCP
|
||||||
|
cp %{SOURCE10} %{buildroot}%{nmlibdir}/conf.d/
|
||||||
|
|
||||||
%if %{with connectivity_fedora}
|
%if %{with connectivity_fedora}
|
||||||
cp %{SOURCE4} %{buildroot}%{nmlibdir}/conf.d/
|
cp %{SOURCE4} %{buildroot}%{nmlibdir}/conf.d/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with connectivity_redhat}
|
%if %{with connectivity_oracle}
|
||||||
cp %{SOURCE5} %{buildroot}%{nmlibdir}/conf.d/
|
cp %{SOURCE5} %{buildroot}%{nmlibdir}/conf.d/
|
||||||
mkdir -p %{buildroot}%{_sysctldir}
|
mkdir -p %{buildroot}%{_sysctldir}
|
||||||
cp %{SOURCE7} %{buildroot}%{_sysctldir}
|
cp %{SOURCE7} %{buildroot}%{_sysctldir}
|
||||||
@ -759,6 +766,9 @@ cp %{SOURCE8} %{buildroot}%{_sysconfdir}/sysconfig/network-scripts
|
|||||||
cp %{SOURCE9} %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/readme-ifcfg-rh.txt
|
cp %{SOURCE9} %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/readme-ifcfg-rh.txt
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_unitdir}/NetworkManager-dispatcher.service.d/
|
||||||
|
cp %{SOURCE11} %{buildroot}%{_unitdir}/NetworkManager-dispatcher.service.d/
|
||||||
|
|
||||||
%if %{with ifcfg_rh}
|
%if %{with ifcfg_rh}
|
||||||
cp examples/dispatcher/10-ifcfg-rh-routes.sh %{buildroot}%{nmlibdir}/dispatcher.d/
|
cp examples/dispatcher/10-ifcfg-rh-routes.sh %{buildroot}%{nmlibdir}/dispatcher.d/
|
||||||
ln -s ../no-wait.d/10-ifcfg-rh-routes.sh %{buildroot}%{nmlibdir}/dispatcher.d/pre-up.d/
|
ln -s ../no-wait.d/10-ifcfg-rh-routes.sh %{buildroot}%{nmlibdir}/dispatcher.d/pre-up.d/
|
||||||
@ -894,6 +904,7 @@ fi
|
|||||||
%if 0%{?fedora} >= 40
|
%if 0%{?fedora} >= 40
|
||||||
%{nmlibdir}/conf.d/22-wifi-mac-addr.conf
|
%{nmlibdir}/conf.d/22-wifi-mac-addr.conf
|
||||||
%endif
|
%endif
|
||||||
|
%config %{nmlibdir}/conf.d/10-disable-mptcp.conf
|
||||||
%ghost %{_sysconfdir}/%{name}/VPN
|
%ghost %{_sysconfdir}/%{name}/VPN
|
||||||
%{_bindir}/nm-online
|
%{_bindir}/nm-online
|
||||||
%{_libexecdir}/nm-dhcp-helper
|
%{_libexecdir}/nm-dhcp-helper
|
||||||
@ -917,6 +928,7 @@ fi
|
|||||||
%dir %{nmlibdir}/dispatcher.d/no-wait.d
|
%dir %{nmlibdir}/dispatcher.d/no-wait.d
|
||||||
%dir %{nmlibdir}/VPN
|
%dir %{nmlibdir}/VPN
|
||||||
%dir %{nmlibdir}/system-connections
|
%dir %{nmlibdir}/system-connections
|
||||||
|
%dir %{_unitdir}/NetworkManager-dispatcher.service.d/
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%{_mandir}/man7/nmcli-examples.7*
|
%{_mandir}/man7/nmcli-examples.7*
|
||||||
@ -938,6 +950,7 @@ fi
|
|||||||
%{_unitdir}/NetworkManager-wait-online.service
|
%{_unitdir}/NetworkManager-wait-online.service
|
||||||
%{_unitdir}/NetworkManager-dispatcher.service
|
%{_unitdir}/NetworkManager-dispatcher.service
|
||||||
%{_unitdir}/nm-priv-helper.service
|
%{_unitdir}/nm-priv-helper.service
|
||||||
|
%{_unitdir}/NetworkManager-dispatcher.service.d/10-persist.conf
|
||||||
%dir %{_datadir}/doc/NetworkManager/examples
|
%dir %{_datadir}/doc/NetworkManager/examples
|
||||||
%{_datadir}/doc/NetworkManager/examples/server.conf
|
%{_datadir}/doc/NetworkManager/examples/server.conf
|
||||||
%if %{with ifcfg_warning} || %{with ifcfg_migrate}
|
%if %{with ifcfg_warning} || %{with ifcfg_migrate}
|
||||||
@ -1025,11 +1038,11 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %{with connectivity_redhat}
|
%if %{with connectivity_oracle}
|
||||||
%files config-connectivity-redhat
|
%files config-connectivity-oracle
|
||||||
%dir %{nmlibdir}
|
%dir %{nmlibdir}
|
||||||
%dir %{nmlibdir}/conf.d
|
%dir %{nmlibdir}/conf.d
|
||||||
%{nmlibdir}/conf.d/20-connectivity-redhat.conf
|
%{nmlibdir}/conf.d/20-connectivity-oracle.conf
|
||||||
%{_sysctldir}/70-nm-connectivity.conf
|
%{_sysctldir}/70-nm-connectivity.conf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -1087,6 +1100,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 05 2025 Darren Archibald <darren.archibald@oracle.com> - 1:1.52.0-5.0.1
|
||||||
|
- disable MPTCP handling by default [Orabug: 34801142]
|
||||||
|
- add connectivity check via Oracle servers [Orabug: 32051972]
|
||||||
|
- Add a dropin file to make Networkmanager-dispatcher persistent [Orabug: 36989910]
|
||||||
|
- Drop 777 permissions from the NetworkManager-dispatcher drop-in directory [Orabug: 37581907]
|
||||||
|
|
||||||
* Fri Jul 18 2025 Íñigo Huguet <ihuguet@redhat.com> - 1:1.52.0-5
|
* Fri Jul 18 2025 Íñigo Huguet <ihuguet@redhat.com> - 1:1.52.0-5
|
||||||
- Fix crash in DNS options evaluation (RHEL-92313)
|
- Fix crash in DNS options evaluation (RHEL-92313)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user