[opensuse-factory] Tumbleweed with dead /etc/resolv.conf symlink
A fresh autoyast install of Tumbleweed has a dead /etc/resolv.conf symlink. It points to /var/run/netconfig/resolv.conf What package is supposed to create the file it points to? sysconfig-netconfig is already installed. Olaf
Am Donnerstag, 15. August 2019, 09:43:09 CEST schrieb Olaf Hering:
A fresh autoyast install of Tumbleweed has a dead /etc/resolv.conf symlink. It points to /var/run/netconfig/resolv.conf What package is supposed to create the file it points to? sysconfig-netconfig is already installed.
Olaf
I don't know what causes your problem, but 'netconfig update -f' should recreate the file. Greetings Fabian
Hi Olaf,
A fresh autoyast install of Tumbleweed has a dead /etc/resolv.conf symlink. It points to /var/run/netconfig/resolv.conf What package is supposed to create the file it points to? sysconfig-netconfig is already installed.
resolv.conf in /var/run should be created by NetworkManager or whatever network service you have installed. When created it contains this information: ### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf ### 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. # ### Call "netconfig update -f" to force adjusting of /etc/resolv.conf.
Olaf
Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Thu, 15 Aug 2019 09:43:09 +0200 schrieb Olaf Hering <olaf@aepfle.de>:
A fresh autoyast install of Tumbleweed has a dead /etc/resolv.conf symlink.
It turned out NETCONFIG_DNS_POLICY="auto" disappears from /etc/sysconfig/network/config in second stage of installation. An empty value causes /etc/netconfig.d/dns-resolver to exit early. Olaf
participants (3)
-
Fabian Niepelt
-
mh@mike.franken.de
-
Olaf Hering