NetworkManager/nm-dont-overwrite-resolv-conf.patch

13 lines
633 B
Diff

Index: NetworkManager-1.36.0/src/core/dns/nm-dns-manager.c
===================================================================
--- NetworkManager-1.36.0.orig/src/core/dns/nm-dns-manager.c
+++ NetworkManager-1.36.0/src/core/dns/nm-dns-manager.c
@@ -636,7 +636,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,