[Bug 1114569] New: Need to delete /etc/resolv.conf when connecting to Wifi with specific DNS
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569 Bug ID: 1114569 Summary: Need to delete /etc/resolv.conf when connecting to Wifi with specific DNS Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: bnc-team-screening@forge.provo.novell.com Reporter: flyos@mailoo.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Some Wifi (like open Wifi you need to register on a webpage to connect to) have their own DNS solvers that are needed to simply access the webpage to connect to, thus, the Internet (at least, that's my partial understanding of it). Otherwise, they usually block connections to other servers, including DNS. Normally, when you connect to this kind of open Wifi, DHCP (I think?) provides the DNS servers that are needed for everything to go smoothly. Yet, this doesn't work on my current Tumbleweed (recently wiped and reinstalled). I need to erase /etc/resolv.conf and restart the connection to have the domains correctly resolved (and then, when I connect to another, normal Wifi, I need to do the same, since those DNS are usually only locally accessible). Someone told me that it was possible to solve the issue by adding: rc-manager=symlink to /etc/NetworkManager/NetworkManager.conf. I unfortunately need to wait on Monday to test this fix, but I was suggested to open a bug report meanwhile. More discussion can be find here: https://nm.reddit.com/r/openSUSE/comments/9tjpca/tw_why_do_i_have_to_constan... I believe the default should be changed somewhere on Tumbleweed (possibly only on laptops) to make this automatic and doesn't require a CLI line to work. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569#c1
Frank Kruger
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569#c2
--- Comment #2 from Pierre Bonamy
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569
Frank Kruger
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569
Michiel Janssens
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569#c4
Jonathan Kang
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569#c5
--- Comment #5 from Pierre Bonamy
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569#c6
Jonathan Kang
Hi,
Sorry for the lack of feedback... It turns out that the bug never came back, so I haven't had an opportunity to provide the required information.
Very sorry about this!
No worries. I'll close this ATM. Feel free to reopen this if you can reproduce it later on. Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569#c7
Ivan Skytte Jørgensen
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569#c8
--- Comment #8 from Jonathan Kang
Just encountered this problem too.
/etc/resolv.conf was untouched and wickedd/dns-resolver refused to update it:
Apr 10 13:04:39 redacted systemd[1]: Starting wicked network management service daemon... Apr 10 13:04:39 redacted systemd[1]: Started wicked network management service daemon. Apr 10 13:04:40 redacted dns-resolver[3943]: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched... Apr 10 13:04:40 redacted dns-resolver[3945]: You can find my version in /etc/resolv.conf.netconfig Apr 10 13:04:40 redacted wickedd[3846]: route ipv4 0.0.0.0/0 via 172.16.2.1 dev eth0#2 type unicast table main scope universe protocol dhcp covered by a ipv4:dhcp lease Apr 10 13:04:40 redacted dns-resolver[4112]: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
I "solved" it by removing /etc/resolv.conf and restarting wickedd. I have 10+ identical installations, and this was the only one showing this bug. Perhaps the check-if-file-is-modified has a timing-sensitive bug? If it shows up again I will take note of the timestamps of the files.
hyattregencycalgary18:/etc/openvpn # rpm -q -f /usr/sbin/wickedd wicked-0.6.53-lp150.2.6.1.x86_64
It's not the exactly the same issue as the one mentioned in this issue, since you are using wicked. Do you still remember the content of /etc/resolv.conf when you found this issue? Looks like /etc/resolv.conf is modified by something and netconfig refuse to update it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569
http://bugzilla.opensuse.org/show_bug.cgi?id=1114569#c9
Rihards Olups
participants (1)
-
bugzilla_noreply@novell.com