* [ptxdist] [PATCH] NetworkManager: fix resolv.conf handling
@ 2016-06-10 12:05 Robert Schwebel
2016-06-14 7:24 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Robert Schwebel @ 2016-06-10 12:05 UTC (permalink / raw)
To: ptxdist; +Cc: Robert Schwebel
With NetworkManager 1.2, the /etc/resolv.conf handling was changed and
we didn't notice.
NetworkManager assumes that resolv.conf is already handled manually and
writes its generated resolv.conf only to /run/NetworkManager/resolv.conf
instead of the location we set our /etc/resolv.conf link to.
By setting rc-manager=file, the old behaviour is restored.
Found-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
projectroot/etc/NetworkManager/NetworkManager.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/projectroot/etc/NetworkManager/NetworkManager.conf b/projectroot/etc/NetworkManager/NetworkManager.conf
index d8b33d9..d518223 100644
--- a/projectroot/etc/NetworkManager/NetworkManager.conf
+++ b/projectroot/etc/NetworkManager/NetworkManager.conf
@@ -1,5 +1,6 @@
[main]
plugins=ifupdown,keyfile
+rc-manager=file
[ifupdown]
managed=false
--
2.8.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [PATCH] NetworkManager: fix resolv.conf handling
2016-06-10 12:05 [ptxdist] [PATCH] NetworkManager: fix resolv.conf handling Robert Schwebel
@ 2016-06-14 7:24 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2016-06-14 7:24 UTC (permalink / raw)
To: ptxdist
On Fri, Jun 10, 2016 at 02:05:28PM +0200, Robert Schwebel wrote:
> With NetworkManager 1.2, the /etc/resolv.conf handling was changed and
> we didn't notice.
>
> NetworkManager assumes that resolv.conf is already handled manually and
> writes its generated resolv.conf only to /run/NetworkManager/resolv.conf
> instead of the location we set our /etc/resolv.conf link to.
>
> By setting rc-manager=file, the old behaviour is restored.
>
> Found-by: Michael Olbrich <m.olbrich@pengutronix.de>
> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Thanks, applied.
Michael
> ---
> projectroot/etc/NetworkManager/NetworkManager.conf | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/projectroot/etc/NetworkManager/NetworkManager.conf b/projectroot/etc/NetworkManager/NetworkManager.conf
> index d8b33d9..d518223 100644
> --- a/projectroot/etc/NetworkManager/NetworkManager.conf
> +++ b/projectroot/etc/NetworkManager/NetworkManager.conf
> @@ -1,5 +1,6 @@
> [main]
> plugins=ifupdown,keyfile
> +rc-manager=file
>
> [ifupdown]
> managed=false
> --
> 2.8.1
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-14 7:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-10 12:05 [ptxdist] [PATCH] NetworkManager: fix resolv.conf handling Robert Schwebel
2016-06-14 7:24 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox