[Bug 2043234] Re: Symlink for resolv.conf is wrong on fresh install
Nick Rosbrook
2043234 at bugs.launchpad.net
Wed Dec 6 18:07:09 UTC 2023
Yes, I am aware of the path. This is what I see on a fresh jammy
install:
nr at clean-jammy-amd64:~$ readlink /etc/resolv.conf
../run/systemd/resolve/stub-resolv.conf
nr at clean-jammy-amd64:~$ nslookup google.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: google.com
Address: 142.251.40.142
Name: google.com
Address: 2607:f8b0:4006:80f::200e
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2043234
Title:
Symlink for resolv.conf is wrong on fresh install
Status in systemd package in Ubuntu:
Invalid
Bug description:
Hello. Sorry for disturb, may I ask you please to confirm if im not doing anything wrong with new installation?
Its being a while since the problem exists AT LEAST IN MY CASE with "faulty path" for symlinc at resolv.conf
I believe its keep happening since 18.04 version and even now in 22.04
So, in the fresh install the path looks like this:
lrwxrwxrwx 1 root root 39 Feb 17 2023 resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
but once im running :
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
everything works fine. By everything I mean when I run nslookup.
Regards,
Vitalii Sharapov
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2043234/+subscriptions
More information about the foundations-bugs
mailing list