* Per Jessen <per@computer.org> [08-16-18 07:30]:
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.
I have never modified /etc/resolv.conf except with "yast {lan,network}" yet I consistently receive the error msg. I even replaced the current with a backed-up original install version to no avail. what decides the file has been modified (incorrectly)? tks -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org