[Bug 736500] New: NetworkManager does not change resolve.conf on DHCP network
https://bugzilla.novell.com/show_bug.cgi?id=736500 https://bugzilla.novell.com/show_bug.cgi?id=736500#c0 Summary: NetworkManager does not change resolve.conf on DHCP network Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: craigeherring@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2 Random issue- When connecting to a dhcp network at times NetworkManager will not change resolve.conf from a previous dhcp network settings. The temporary fix is to delete resolve.conf, connect to a different network (since the new NetworkManager doesn't allow reconnecting to the same network), then connecting to the intended network. No pattern relative to Wired or Wireless. Reproducible: Sometimes Steps to Reproduce: 1.connect to different DHCP networks 2. 3. Actual Results: sometimes cannot resolve hostnames/websites since resolve.conf is not correct for current network Expected Results: rewritten resolve.conf Easy to fix for a technical user however would be considered broken for a non-techie. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736500 https://bugzilla.novell.com/show_bug.cgi?id=736500#c1 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |bili@suse.com AssignedTo|bnc-team-screening@forge.pr |bili@suse.com |ovo.novell.com | --- Comment #1 from Li Bin <bili@suse.com> 2011-12-14 08:40:21 UTC --- Craig, Is it easy to reproduce? I've tried it several times, it works fine. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736500 https://bugzilla.novell.com/show_bug.cgi?id=736500#c2 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |craigeherring@gmail.com --- Comment #2 from Li Bin <bili@suse.com> 2011-12-14 08:45:08 UTC --- Craig, Anyway please attach your /var/log/NetworkManager first. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736500 https://bugzilla.novell.com/show_bug.cgi?id=736500#c3 Carlos Bessa <carlos.bessa@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos.bessa@gmail.com --- Comment #3 from Carlos Bessa <carlos.bessa@gmail.com> 2012-05-08 12:07:25 UTC --- Hi, i suffer from this problem as well. Occurs 90% of times when switching between my work and home connection. The fix is deleting resolv.conf and reconnecting as Craig mentioned but running "dhcpcd wlan0" also does the trick. I'm running opensuse 12.1 with kde 4.8 and all possible updates.. but this occurs since day 1 with the "stock" 12.1. regards, Carlos -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736500 https://bugzilla.novell.com/show_bug.cgi?id=736500#c4 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|craigeherring@gmail.com |carlos.bessa@gmail.com --- Comment #4 from Li Bin <bili@suse.com> 2012-05-09 08:34:23 UTC --- (In reply to comment #3)
Hi, i suffer from this problem as well. Occurs 90% of times when switching between my work and home connection. The fix is deleting resolv.conf and reconnecting as Craig mentioned but running "dhcpcd wlan0" also does the trick.
I'm running opensuse 12.1 with kde 4.8 and all possible updates.. but this occurs since day 1 with the "stock" 12.1.
regards, Carlos The NetworkManager use dhclient to got the DHCP configuration. After you delete the resolv.conf do you still reproduce this issue?
If so, could you kill your NetworkManager and run 'NetworkManager --no-deamon' in a terminal, then try to reproduce this issue, after the dhcp finish it'll show the ip address and DNS information. After that it'll update the DNS to resolv.conf by netconfig. Do you find some error? Or just attach you terminal's log here. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736500 https://bugzilla.novell.com/show_bug.cgi?id=736500#c5 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jnelson-suse@jamponi.net --- Comment #5 from Jon Nelson <jnelson-suse@jamponi.net> 2012-05-16 17:18:08 UTC --- I'm sorry to say I've been hitting this lately, too. I'll try to get some useful diagnostics. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736500 https://bugzilla.novell.com/show_bug.cgi?id=736500#c6 --- Comment #6 from Carlos Bessa <carlos.bessa@gmail.com> 2012-06-11 21:49:59 UTC --- Created an attachment (id=494386) --> (http://bugzilla.novell.com/attachment.cgi?id=494386) NetworkManager log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736500 https://bugzilla.novell.com/show_bug.cgi?id=736500#c7 Carlos Bessa <carlos.bessa@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #7 from Carlos Bessa <carlos.bessa@gmail.com> 2012-06-11 21:51:53 UTC --- Hi, sorry it took so much time to get back to this. Funny thing was... i could not reproduce the issue for a few days - everything worked fine. I'd been doing the "dhcpcd wlan0" for weeks perhaps without needing to do so. However, i was only switching between my home and work wifi. Since then I've connected to other networks and the problem as arisen again. I've attached my /var/log/Networkmanager file. I'll try and do what you proposed bellow. regards, Carlos (In reply to comment #4)
(In reply to comment #3)
Hi, i suffer from this problem as well. Occurs 90% of times when switching between my work and home connection. The fix is deleting resolv.conf and reconnecting as Craig mentioned but running "dhcpcd wlan0" also does the trick.
I'm running opensuse 12.1 with kde 4.8 and all possible updates.. but this occurs since day 1 with the "stock" 12.1.
regards, Carlos The NetworkManager use dhclient to got the DHCP configuration. After you delete the resolv.conf do you still reproduce this issue?
If so, could you kill your NetworkManager and run 'NetworkManager --no-deamon' in a terminal, then try to reproduce this issue, after the dhcp finish it'll show the ip address and DNS information. After that it'll update the DNS to resolv.conf by netconfig.
Do you find some error? Or just attach you terminal's log here. Thanks!
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736500 https://bugzilla.novell.com/show_bug.cgi?id=736500#c8 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Component|Network |Network Version|Final |12.3 Milestone 0 InfoProvider|carlos.bessa@gmail.com | Resolution| |NORESPONSE Product|openSUSE 12.1 |openSUSE Factory Target Milestone|--- |12.3 Milestone 0 --- Comment #8 from Li Bin <bili@suse.com> 2012-12-11 07:20:29 UTC --- I'll close it, feel free to reopen it if you met again. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com