File nm-dont-overwrite-resolv-conf.patch of Package NetworkManager

Index: NetworkManager-1.44.0/src/core/dns/nm-dns-manager.c
===================================================================
--- NetworkManager-1.44.0.orig/src/core/dns/nm-dns-manager.c
+++ NetworkManager-1.44.0/src/core/dns/nm-dns-manager.c
@@ -760,7 +760,7 @@ again:
     /* FIXME: don't write to netconfig synchronously. */
 
     /* Wait until the process exits */
-    if (!nm_utils_kill_child_sync(pid, 0, LOGD_DNS, "netconfig", &status, 1000, 0)) {
+    if (!nm_utils_kill_child_sync(pid, 0, LOGD_DNS, "netconfig", &status, 0, 0)) {
         errsv = errno;
         g_set_error(error,
                     NM_MANAGER_ERROR,
openSUSE Build Service is sponsored by