Re: NetworkManager, dns= and resolv.conf override

2020-04-06 Thread Thomas HUMMEL
Hello, I just experienced the situation described below again. Still don't know why NM would behave differently if resolv.conf first came via dhcp. Thanks for your help. -- TH On 3/23/20 10:59 AM, Thomas HUMMEL wrote: On 3/16/20 4:56 PM, Thomas HUMMEL wrote: Hello actually I was able to re

Re: NetworkManager, dns= and resolv.conf override

2020-03-23 Thread Thomas HUMMEL
On 3/16/20 4:56 PM, Thomas HUMMEL wrote: Hello actually I was able to reproduce the thing in a simplier way: Hello, did you have the time to look into this ? thanks. -- TH. 0/ I'm starting from here ## - configuration : no 'dns=' directive : - an auto profile - a

Re: NetworkManager, dns= and resolv.conf override

2020-03-16 Thread Thomas HUMMEL
Hello Thomas, actually I was able to reproduce the thing in a simplier way: 0/ I'm starting from here ## - configuration : no 'dns=' directive : - an auto profile - a manual profile (active) - an empty /etc/resolv.conf # grep -i dns /etc/NetworkManager/NetworkManager.co

Re: NetworkManager, dns= and resolv.conf override

2020-03-16 Thread Thomas HUMMEL
On 3/16/20 1:30 PM, Thomas Haller wrote: I am not sure from the description. To be sure level=TRACE logging and check the logfile. But I think the reason is that NetworkManager doesn't want to write an empty /etc/resolv.conf file. If Networkmanager has no nameservers, it doesn't seem very usefu

Re: NetworkManager, dns= and resolv.conf override

2020-03-16 Thread Thomas Haller via networkmanager-list
On Mon, 2020-03-16 at 09:36 +0100, Thomas HUMMEL wrote: > > > What I don't understand is that, then if I manually remove the > > 'dns=none' setting and either restart NM and/or reload+reactivate > > the > > profile, /etc/resolv.conf is not, as I was expecting, emptied by > > NM. Hi, I am not

Re: NetworkManager, dns= and resolv.conf override

2020-03-16 Thread Thomas Haller via networkmanager-list
On Thu, 2020-03-12 at 15:04 +0100, Thomas HUMMEL wrote: > On 3/12/20 2:05 PM, Thomas HUMMEL wrote: > > I forgot a silly question : > > is it legit to have in conf.d/foobar.conf another, let's say [main] > section : will it be merged with the one in NetworkManager.conf ? Hi, Yes, they will be m

Re: NetworkManager, dns= and resolv.conf override

2020-03-16 Thread Thomas HUMMEL
On 3/12/20 2:05 PM, Thomas HUMMEL wrote: Hello Thomas, Hello everybody, In short : in a setup where I don't state any 'dns=' NM directive, I don't understand why /etc/resolv.conf (file, not symlink) is not overriden. Sorry to insist : any insight about this ? thanks for your help... I'm ru

Re: NetworkManager, dns= and resolv.conf override

2020-03-12 Thread Thomas HUMMEL
On 3/12/20 2:05 PM, Thomas HUMMEL wrote: I forgot a silly question : is it legit to have in conf.d/foobar.conf another, let's say [main] section : will it be merged with the one in NetworkManager.conf ? Thanks -- TH ___ networkmanager-list mailing

NetworkManager, dns= and resolv.conf override

2020-03-12 Thread Thomas HUMMEL
Hello Thomas, Hello everybody, In short : in a setup where I don't state any 'dns=' NM directive, I don't understand why /etc/resolv.conf (file, not symlink) is not overriden. I'm running CentOS-8.1 on HPC compute nodes provisionned by the xCAT software. Basically nodes PXE-boot and download