[opensuse] unwanted error messages
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. Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* don fisher <hdf3@comcast.net> [08-15-18 18:30]:
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.
fwiw: I am on tw and see the same for quite some time. even issuing: netconfig update -f doesn't help -- (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
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='' -- Per Jessen, Zürich (18.1°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* 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? 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
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
* 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
On 2018-08-16 13:36, Patrick Shanahan wrote:
* Per Jessen <> [08-16-18 07:30]:
Patrick Shanahan wrote:
* Per Jessen <> [08-16-18 02:45]:
don fisher wrote:
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)?
Same here. AFAIR I have seen that error for years. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Patrick Shanahan wrote:
* 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.
Ah, sorry, I missed that. Btw, I see the same on a laptop here, but with NetworkManager. I wonder if it is some sort of clash between NetworkManager and dns-resolver.
I even replaced the current with a backed-up original install version to no avail. what decides the file has been modified (incorrectly)?
I'm not sure how it is done. Maybe some checksum written whenever yast or dhcp updates it. -- Per Jessen, Zürich (24.3°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Per Jessen <per@computer.org> [08-16-18 07:54]:
Patrick Shanahan wrote:
* 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.
Ah, sorry, I missed that.
Btw, I see the same on a laptop here, but with NetworkManager. I wonder if it is some sort of clash between NetworkManager and dns-resolver.
I even replaced the current with a backed-up original install version to no avail. what decides the file has been modified (incorrectly)?
I'm not sure how it is done. Maybe some checksum written whenever yast or dhcp updates it.
fwiw, it appears yast fails to edit /etc/sysconfig/network/config and maybe that is causing the failure message. I just took the time to edit /etc/sysconfig/network/config and regenerated /etc/resolv.conf using netconfig update -f will watch for subj "error" message. -- (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
On 08/19/2018 09:06 AM, Patrick Shanahan wrote:
* Per Jessen <per@computer.org> [08-16-18 07:54]:
Patrick Shanahan wrote:
* 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.
Ah, sorry, I missed that.
Btw, I see the same on a laptop here, but with NetworkManager. I wonder if it is some sort of clash between NetworkManager and dns-resolver.
I even replaced the current with a backed-up original install version to no avail. what decides the file has been modified (incorrectly)?
I'm not sure how it is done. Maybe some checksum written whenever yast or dhcp updates it.
fwiw, it appears yast fails to edit /etc/sysconfig/network/config and maybe that is causing the failure message. I just took the time to edit /etc/sysconfig/network/config and regenerated /etc/resolv.conf using netconfig update -f
will watch for subj "error" message.
Please let me know what you find. I executed the netconfig update command and the only difference between the existing and new resolve.conf files was the elimination of the comment # hsd1.az.comcast.net is my domain name assigned by Comcast. Hard to see that this would make a big difference, but who knows? Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-08-19 22:19, don fisher wrote:
On 08/19/2018 09:06 AM, Patrick Shanahan wrote:
fwiw, it appears yast fails to edit /etc/sysconfig/network/config and maybe that is causing the failure message. I just took the time to edit /etc/sysconfig/network/config and regenerated /etc/resolv.conf using netconfig update -f
will watch for subj "error" message.
Please let me know what you find. I executed the netconfig update command and the only difference between the existing and new resolve.conf files was the elimination of the comment # hsd1.az.comcast.net is my domain name assigned by Comcast. Hard to see that this would make a big difference, but who knows?
Typically, networkmanager writes that file dynamically from its own configuration, or from the information obtained from the router via dhcp. Most often it would be the configuration reccomended by your ISP. As the user can select several network configurations on a click, it makes sense to change the file automatically. The idea is also that if you edit that file manually because you want a different configuration, then it leaves the file alone and writes a message to the log. Also there is a token line in the file to flag to NM that "yes, I know what I did, do not tell me about it", but does not work. Sometimes, apparently, it thinks the file was modified by a human when it was not. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
participants (4)
-
Carlos E. R.
-
don fisher
-
Patrick Shanahan
-
Per Jessen