diff --git a/NetworkManager.spec b/NetworkManager.spec index 7c132767316d1258af306d04ada77fd6bfa2022f..beea94a6a79273cbd2cc41c1940b0f6865bf92ca 100644 --- a/NetworkManager.spec +++ b/NetworkManager.spec @@ -50,7 +50,7 @@ Name: NetworkManager Version: 1.32.12 Epoch: 1 -Release: 7 +Release: 8 Summary: Network Link Manager and User Applications License: GPLv2+ URL: https://www.gnome.org/projects/NetworkManager/ @@ -60,6 +60,7 @@ Source2: 00-server.conf Patch1: fix-wants-and-add-requires.patch Patch2: bugfix-use-PartOf-replace-Requires-in-service.patch Patch3: bugfix-ipv6-external-route-miss.patch +Patch4: bugfix-recover-to-30s-timeout-in-NetworkManager-wait-online.patch BuildRequires: gcc libtool pkgconfig automake autoconf intltool gettext-devel ppp-devel gnutls-devel BuildRequires: dbus-devel dbus-glib-devel glib2-devel gobject-introspection-devel jansson-devel @@ -477,6 +478,12 @@ fi %{_datadir}/gtk-doc/html/NetworkManager/* %changelog +* Mon Mar 14 2022 gaoxingwang - 1.32.12-8 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:recover to 30s timeout in NetworkManager-wait-online service + * Mon Mar 7 2022 gaoxingwang - 1.32.12-7 - Type:bugfix - ID:NA diff --git a/bugfix-recover-to-30s-timeout-in-NetworkManager-wait-online.patch b/bugfix-recover-to-30s-timeout-in-NetworkManager-wait-online.patch new file mode 100644 index 0000000000000000000000000000000000000000..68d3a4c7b26e18dc86d48b125f5e35120561c239 --- /dev/null +++ b/bugfix-recover-to-30s-timeout-in-NetworkManager-wait-online.patch @@ -0,0 +1,25 @@ +From bd0a0eecc71bc255c541605053efd94acceadd3e Mon Sep 17 00:00:00 2001 +From: shirely16 +Date: Mon, 14 Mar 2022 14:57:01 +0800 +Subject: [PATCH] recover to 30s timeout in NetworkManager-wait-online service + +--- + data/NetworkManager-wait-online.service.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/data/NetworkManager-wait-online.service.in b/data/NetworkManager-wait-online.service.in +index fda2391..26a8f25 100644 +--- a/data/NetworkManager-wait-online.service.in ++++ b/data/NetworkManager-wait-online.service.in +@@ -26,7 +26,7 @@ RemainAfterExit=yes + # gets delayed too long, then the solution is usually not to decrease + # the timeout, but to fix your setup so that the connected state + # gets reached earlier. +-Environment=NM_ONLINE_TIMEOUT=60 ++Environment=NM_ONLINE_TIMEOUT=30 + + [Install] + WantedBy=network-online.target +-- +1.8.3.1 +