![](https://seccdn.libravatar.org/avatar/150bb68600b6f4527c14c79e81e90f53.jpg?s=120&d=mm&r=g)
On Mon, 27 May 2019 09:46:54 -0400 Patrick Shanahan <paka@opensuse.org> wrote:
* Mark Misulich <munguanaweza@gmail.com> [05-27-19 07:48]: [...]
I opened the etc/resolv.conf file, named etc/resolv.conf, the same way on my desktop, and it reads:
### /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. # # Note: Manual change of this file disables netconfig too, but # may get lost when this file contains comments or empty lines # only, the netconfig settings are same with settings in this # file and in case of a "netconfig update -f" call. # ### Please remove (at least) this line when you modify the file! nameserver 191.147.1.1
In addition, on the laptop the file system is different for etc/resolv.conf. I have a black file icon with a question mark in the middle that is named resolv.conf. Opening it, it reads
### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf ### autogenerated by netconfig!
/etc/resolv.conf recently was moved to a symlink to /var/run/netconfig/resolv.conf
That would be a mistake, since /var/run is a symlink to /run The correct link would be to /run/netconfig/<whatever> But /run is in any case a tmpfs so any contents are recreated on boot. So there's no point in copying a file to /run or /var/run. Whatever the solution is, it's not that.
you can correct your non-compliant box by
root: ln -s /var/run/netconfig/resolv.conf /etc/resolv.conf
you may need to first mv /etc/resolv.conf to /var/run/netconfig/resolv.conf
and maybe last netconfig update -f
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org