[Bug 450332] New: Network manager des not create resolv.conf entry
https://bugzilla.novell.com/show_bug.cgi?id=450332 Summary: Network manager des not create resolv.conf entry Product: openSUSE 11.1 Version: RC 1 Platform: 32bit OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: axel.braun@gmx.de QAContact: qa@suse.de Found By: --- I upgraded two machines from a working 11.0 installation to 11.1rc1 using zypper dup. After reboot the network is available (ping to an IP-Address is working), but the name resolution does not work: /etc/resolv.conf contains just the line # created by NetworkManager but no entry for the nameserver -- 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=450332 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |tambet@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=450332 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450332#c1 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |axel.braun@gmx.de --- Comment #1 from Tambet Ingo <tambet@novell.com> 2008-12-01 01:30:31 MST --- Please attach your /var/log/NetworkManager log file here. -- 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=450332 User axel.braun@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=450332#c2 Axel Braun <axel.braun@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|axel.braun@gmx.de | --- Comment #2 from Axel Braun <axel.braun@gmx.de> 2008-12-01 02:15:54 MST --- Created an attachment (id=256860) --> (https://bugzilla.novell.com/attachment.cgi?id=256860) Networkmanager Log file -- 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=450332 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450332#c3 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|tambet@novell.com |mt@novell.com --- Comment #3 from Tambet Ingo <tambet@novell.com> 2008-12-01 02:33:39 MST ---
From the log file:
Dec 1 10:11:10 conny NetworkManager: <info> address 192.168.1.36 Dec 1 10:11:10 conny NetworkManager: <info> prefix 24 (255.255.255.0) Dec 1 10:11:10 conny NetworkManager: <info> gateway 192.168.1.1 Dec 1 10:11:10 conny NetworkManager: <info> hostname 'dhcppc3' Dec 1 10:11:10 conny NetworkManager: <info> nameserver '192.168.1.1' <snip> Dec 1 10:11:11 conny NetworkManager: <debug> [1228122671.021748] run_netconfig(): Spawning '/sbin/netconfig modify --service NetworkManager' Dec 1 10:11:11 conny NetworkManager: <debug> [1228122671.031505] write_to_netconfig(): Writing to netconfig: INTERFACE='wlan0' Dec 1 10:11:11 conny NetworkManager: <debug> [1228122671.031568] write_to_netconfig(): Writing to netconfig: DNSSERVERS='192.168.1.1' So NM sends the nameserver correctly to netconfig. Reassigning. -- 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=450332 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450332#c4 --- Comment #4 from Marius Tomaschewski <mt@novell.com> 2008-12-01 08:25:34 MST --- Created an attachment (id=256989) --> (https://bugzilla.novell.com/attachment.cgi?id=256989) proposed patch to explicitely checks for NetworkManager comment I've added a patch to not to disable netconfig when NETWORKMANAGER=yes even the MODIFY.* variables are set to no, since it seems NM was ignoring any of the old policies (and does not cleanup in rpm install hooks). Further to explicitly enable the resolv.conf for netconfig when it has a NetworkManager comment. -- 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=450332 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450332#c5 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Marius Tomaschewski <mt@novell.com> 2008-12-01 08:31:51 MST --- A find /etc -name "*.backup.by.convert_to_netconfig" should show backup file. You can move them back to the original files and call a patched /etc/sysconfig/network/scripts/convert_to_netconfig_dns script again. Or just remove /etc/resolv.conf and call "netconfig update". -- 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