[opensuse-factory] Move of resolv.conf to /run not fully implemented or buggy.
Hi, on all of my machines netconfig is now creating /run/netconfig/resolv.conf, and the file starts with: ### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf ### autogenerated by netconfig! Needless to say, that on none of my openSUSE installations /etc/resolv.conf is a symlink. As result, no nameservers ... Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Feb 04 2019, Thorsten Kukuk <kukuk@suse.de> wrote:
Hi,
on all of my machines netconfig is now creating /run/netconfig/resolv.conf, and the file starts with:
### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf ### autogenerated by netconfig!
Needless to say, that on none of my openSUSE installations /etc/resolv.conf is a symlink. As result, no nameservers ...
run netconfig update -f to fix that. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Op maandag 4 februari 2019 14:04:27 CET schreef Andreas Schwab:
On Feb 04 2019, Thorsten Kukuk <kukuk@suse.de> wrote:
Hi,
on all of my machines netconfig is now creating /run/netconfig/resolv.conf, and the file starts with:
### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf ### autogenerated by netconfig!
Needless to say, that on none of my openSUSE installations /etc/resolv.conf is a symlink. As result, no nameservers ...
run netconfig update -f to fix that.
Andreas.
That does regenerated /etc/resolv.conf, but not replace it by a symlink Which it should be. fwiw: I've created the symlink, replacing the file. -- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Feb 04 2019, Knurpht-openSUSE <knurpht@opensuse.org> wrote:
That does regenerated /etc/resolv.conf, but not replace it by a symlink
Worksforme. Are you sure your system is up-to-date? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Op maandag 4 februari 2019 14:12:45 CET schreef Andreas Schwab:
On Feb 04 2019, Knurpht-openSUSE <knurpht@opensuse.org> wrote:
That does regenerated /etc/resolv.conf, but not replace it by a symlink
Worksforme. Are you sure your system is up-to-date?
Andreas. Yup, completely. I replaced the file with a symlink by hand. It's a known issue on Leap 15.0 as well.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2019-02-04 at 14:18 +0100, Knurpht-openSUSE wrote:
Op maandag 4 februari 2019 14:12:45 CET schreef Andreas Schwab:
On Feb 04 2019, Knurpht-openSUSE <knurpht@opensuse.org> wrote:
That does regenerated /etc/resolv.conf, but not replace it by a symlink
Worksforme. Are you sure your system is up-to-date?
Andreas. Yup, completely. I replaced the file with a symlink by hand. It's a known issue on Leap 15.0 as well.
On some of my 15.0 machines, /etc/resolv.conf is a real file edited by hand. I would not be happy if it is changed to a symlink to a ramdisk under /run. - -- Cheers, Carlos E. R. (from openSUSE 15.0 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXFg/6Rwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVqSgAn3r6chXQPsU21MKNOSe0 pt8CDkoXAJ9cCScsLjpQrtH1dEeis6fO+bnpiw== =Rhwl -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On lundi, 4 février 2019 14.12:45 h CET Andreas Schwab wrote:
On Feb 04 2019, Knurpht-openSUSE <knurpht@opensuse.org> wrote:
That does regenerated /etc/resolv.conf, but not replace it by a symlink
Worksforme. Are you sure your system is up-to-date?
Andreas.
I'm so happy to have drop netconfig and moved my config to systemd-resolve ll /etc/resolv.conf lrwxrwxrwx 1 root root 32 Dec 1 16:33 /etc/resolv.conf -> /run/systemd/ resolve/resolv.conf Working nicely with networkmanager and all vpn and foreign network I visit. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe supporter GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Feb 04 2019, Bruno Friedmann <bruno@ioda-net.ch> wrote:
On lundi, 4 février 2019 14.12:45 h CET Andreas Schwab wrote:
On Feb 04 2019, Knurpht-openSUSE <knurpht@opensuse.org> wrote:
That does regenerated /etc/resolv.conf, but not replace it by a symlink
Worksforme. Are you sure your system is up-to-date?
Andreas.
I'm so happy to have drop netconfig and moved my config to systemd-resolve
ll /etc/resolv.conf lrwxrwxrwx 1 root root 32 Dec 1 16:33 /etc/resolv.conf -> /run/systemd/ resolve/resolv.conf
Working nicely with networkmanager and all vpn and foreign network I visit.
Does it work with NIS and NTP? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Feb 04, Andreas Schwab wrote:
On Feb 04 2019, Bruno Friedmann <bruno@ioda-net.ch> wrote:
On lundi, 4 février 2019 14.12:45 h CET Andreas Schwab wrote:
On Feb 04 2019, Knurpht-openSUSE <knurpht@opensuse.org> wrote:
That does regenerated /etc/resolv.conf, but not replace it by a symlink
Worksforme. Are you sure your system is up-to-date?
Andreas.
I'm so happy to have drop netconfig and moved my config to systemd-resolve
ll /etc/resolv.conf lrwxrwxrwx 1 root root 32 Dec 1 16:33 /etc/resolv.conf -> /run/systemd/ resolve/resolv.conf
Working nicely with networkmanager and all vpn and foreign network I visit.
Does it work with NIS and NTP?
No, systemd-resolved is for hostname resolutions what nscd is for passwd/group. https://wiki.archlinux.de/title/Systemd/systemd-resolved It is not a replacement of netconfig, it only replaces one functionality of netconfig, if you either configures it static or use systemd-networkd. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On lundi, 4 février 2019 14.27:30 h CET Andreas Schwab wrote:
On Feb 04 2019, Bruno Friedmann <bruno@ioda-net.ch> wrote:
On lundi, 4 février 2019 14.12:45 h CET Andreas Schwab wrote:
On Feb 04 2019, Knurpht-openSUSE <knurpht@opensuse.org> wrote:
That does regenerated /etc/resolv.conf, but not replace it by a symlink
Worksforme. Are you sure your system is up-to-date?
Andreas.
I'm so happy to have drop netconfig and moved my config to systemd-resolve
ll /etc/resolv.conf lrwxrwxrwx 1 root root 32 Dec 1 16:33 /etc/resolv.conf -> /run/systemd/ resolve/resolv.conf
Working nicely with networkmanager and all vpn and foreign network I visit.
Does it work with NIS and NTP?
Andreas. I don't think so, I'm not using nis, and for ntp I've one chronyd server in the lan and for all clients systemd-timesyncd is enough and working here.
I'm just waiting to have networkd in openSUSE systemd package to continue the use of one native service. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe supporter GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Monday 2019-02-04 15:31, Bruno Friedmann wrote:
I'm just waiting to have networkd in openSUSE systemd package to continue the use of one native service.
networkd is in the openSUSE systemd package. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Feb 04, Knurpht-openSUSE wrote:
That does regenerated /etc/resolv.conf, but not replace it by a symlink Which it should be.
It regenerates /run/netconfig/resolv.conf and replaces it with a symlink. Between, /etc/resolv.conf is not the only file with this issue: yp.conf has the same problem: ATTENTION: /etc/resolv.conf is not a link to /var/run/netconfig/resolv.conf call "netconfig update -f" to adjust /etc/resolv.conf ATTENTION: /etc/yp.conf is not a link to /var/run/netconfig/yp.conf call "netconfig update -f" to adjust /etc/yp.conf netconfig update should have a migration function: if /etc/resolv.conf matches the md5sum, netconfig update should replace it with a symlink itself. Else an update will never result in working DNS and NIS. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Feb 04, Andreas Schwab wrote:
On Feb 04 2019, Thorsten Kukuk <kukuk@suse.de> wrote:
Hi,
on all of my machines netconfig is now creating /run/netconfig/resolv.conf, and the file starts with:
### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf ### autogenerated by netconfig!
Needless to say, that on none of my openSUSE installations /etc/resolv.conf is a symlink. As result, no nameservers ...
run netconfig update -f to fix that.
The update case needs to be handled correct by netconfig. Letting all openSUSE users out there fix this manually will not scale. Especially, as the message to run "netconfig update -f" seems to be only printed if you run it from a console, but not else. At least I cannot find it in any log file. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi,
On Mon, Feb 04, Andreas Schwab wrote:
On Feb 04 2019, Thorsten Kukuk <kukuk@suse.de> wrote:
Hi,
on all of my machines netconfig is now creating /run/netconfig/resolv.conf, and the file starts with:
### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf ### autogenerated by netconfig!
Needless to say, that on none of my openSUSE installations /etc/resolv.conf is a symlink. As result, no nameservers ...
run netconfig update -f to fix that.
The update case needs to be handled correct by netconfig. Letting all openSUSE users out there fix this manually will not scale. Especially, as the message to run "netconfig update -f" seems to be only printed if you run it from a console, but not else. At least I cannot find it in any log file.
additionally we now get: avahi-daemon[1492]: Failed to open /etc/resolv.conf: No such file or directory because avahi-daemon starts before the symlink points to an existing file.
Thorsten
Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Feb 04, Michael Hirmke wrote:
additionally we now get:
avahi-daemon[1492]: Failed to open /etc/resolv.conf: No such file or directory
because avahi-daemon starts before the symlink points to an existing file.
Ok, but that's an independent bug only seen now. Looks like either there is a dependency missing, or avahi-daemon should be able to scope with the fact, that the network is only later ready. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (7)
-
Andreas Schwab
-
Bruno Friedmann
-
Carlos E. R.
-
Jan Engelhardt
-
Knurpht-openSUSE
-
mh@mike.franken.de
-
Thorsten Kukuk