Patrick Shanahan wrote:
* Per Jessen <per@computer.org> [08-16-18 02:45]:
don fisher wrote:
Running Leap 42.3. In my messages files I repeatedly receive "You have modified /etc/resolv.conf" error messages. I would like to turn off this check. Or find out how to make my resolve.conf look like what opensuse is expecting.
You have two options - let the system manage resolv.conf or do it yourself.
From /etc/resolv.conf:
### /etc/resolv.conf file autogenerated by netconfig! # # Before you change this file manually, consider to define the # static DNS configuration using the following variables in the # /etc/sysconfig/network/config file: # NETCONFIG_DNS_STATIC_SEARCHLIST # NETCONFIG_DNS_STATIC_SERVERS # NETCONFIG_DNS_FORWARDER # or disable DNS configuration updates via netconfig by setting: # NETCONFIG_DNS_POLICY='' # # See also the netconfig(8) manual page and other documentation.
So when you manage /etc/resolv.conf yourself, edit /etc/sysconfig/network/config and set NETCONFIG_DNS_POLICY=''
iirc, when yast changed /etc/resolv.conf, the "error" mesg was not present, only when "manually" editing /etc/resolv.conf. what has changed?
That is certainly how it ought to work, I am not aware of it changing. -- Per Jessen, Zürich (24.1°C) member, openSUSE Heroes -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org