[Pkg-utopia-maintainers] Bug#973701: network-manager: systemctl restart ModemManager.service wipes /etc/resolve.conf (almost) clean

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Sun Dec 6 17:41:04 GMT 2020


On Tue, 24 Nov 2020, Cristian Ionescu-Idbohrn wrote:
> 
> I interpret that this way: dns-mgr is confused; it concludes something 
> has changed, queues DNS updates, concludes nothing has changed and 
> does not commit anything (after first cleaning up resolv.conf).
> 
> I both cases (wired, wireless), the primary dns is my router's lan ip 
> (served with dhcp).  In the wireless case, I locally added a secondary 
> (external, public) dns ip.

For the record: in my case, it appears modifying:

--- a/NetworkManager/NetworkManager.conf
+++ b/NetworkManager/NetworkManager.conf
@@ -1,5 +1,6 @@
 [main]
 plugins=ifupdown,keyfile
+rc-manager=file
 
 [ifupdown]
 managed=false

when no other dns-helper is installed, solves both problems (screw up 
both resolv.conf and interface switch wired/wireless between bots).  

Not really obvious even after reading `man 5 NetworkManager.conf'.


-- 
Cristian



More information about the Pkg-utopia-maintainers mailing list