[Bug 795799] New: dhclient does not rewrite /etc/resolv.=?UTF-8?Q?conf=20=E2=80=93=20results=20in=20no=20DNS=20configuration?=
https://bugzilla.novell.com/show_bug.cgi?id=795799 https://bugzilla.novell.com/show_bug.cgi?id=795799#c0 Summary: dhclient does not rewrite /etc/resolv.conf – results in no DNS configuration Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 1 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: receive-spam@yandex.ru QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) konqueror/4.9.95 Safari/534.34 dhclient does not rewrite existing /etc/resolv.conf upon successful IP configuration. Therefore, if /etc/resolv.conf exists but does not contain any DNS servers, then DNS will not be configured. If /etc/resolv.conf does not exist, however, then dhclient creates it and does write proper DNS servers to it. Reproducible: Always Steps to Reproduce: 1. /etc/init.d/network stop 2. Remove DNS servers from /etc/resolv.conf 3. dhclient eth0 Actual Results: /etc/resolv.conf is unchanged, so it does not contain any DNS servers Expected Results: /etc/resolv.conf contains list of DNS servers -- 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=795799 https://bugzilla.novell.com/show_bug.cgi?id=795799#c1 --- Comment #1 from Arseniy Lartsev <receive-spam@yandex.ru> 2012-12-23 17:52:38 UTC --- Somehow this caused NetworkManager to fail to configure DNS servers right after I've updated from 12.2 to Factory. I had to erase /etc/resolv.conf to get things back to normal. Now I cannot reproduce it without manually editing /etc/resolv.conf though. -- 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=795799 https://bugzilla.novell.com/show_bug.cgi?id=795799#c Jiaying ren <jren@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jren@suse.com AssignedTo|bnc-team-screening@forge.pr |mt@suse.com |ovo.novell.com | -- 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=795799 https://bugzilla.novell.com/show_bug.cgi?id=795799#c2 Arseniy Lartsev <arseniy@chalmers.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #2 from Arseniy Lartsev <arseniy@chalmers.se> 2012-12-25 10:46:25 UTC --- I managed to reproduce the original bug. Please disregard the description in the initial bug report. Steps to reproduce: 1. Configure a DHCP connection for a wired network card in NetworkManager, which is not a system connection. (I'm using KDE desktop and therefore KNetworkManager). 2. Log out from X (from KDE in my case). The connection goes down and resolv.conf contains only "search site" line. 3. Log in in tty (I do that by pressing Alt+N in kdm login screen) as root. 4. dhclient eth0 Now IP address for the network interface is configured but /etc/resolv still contains only "search site". -- 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=795799 https://bugzilla.novell.com/show_bug.cgi?id=795799#c3 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #3 from Marius Tomaschewski <mt@suse.com> 2013-01-07 09:52:46 UTC --- It is a configuration / policy issue. See "man 8 netconfig": when NetworkManager is enabled, only NetworkManager is allowed to modify the /etc/resolv.conf. The direct use of the dhcp binary is not supported: use either ifup or NetworkManager. -- 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