https://bugzilla.novell.com/show_bug.cgi?id=480922 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480922#c5 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |milisav.radmanic@novell.com Info Provider| |pbaudis@novell.com AssignedTo|tambet@novell.com |mt@novell.com --- Comment #5 from Marius Tomaschewski <mt@novell.com> 2009-03-06 02:06:58 MST --- (In reply to comment #4)
(To clarify further - I'm running dhclient only when NetworkManager is _stopped_.)
Reassigning back to me then... This makes no difference. The policy says NETWORKMANAGER="yes", so all the settings are expected to be delivered by the NetworkManager. You've to set up custom netconfig policy in this case, e.g. NETCONFIG_DNS_POLICY="STATIC_FALLBACK * NetworkManager" See also: https://bugzilla.novell.com/show_bug.cgi?id=429772#c22 The settings are written to /var/run/netconfig/ first and picked up by a "netconfig update" from there. (In reply to comment #3)
Thanks for the resolv.conf pointers, I figured out the netconfig update -f already (since dhcpcd actually just overwrites resolv.conf, so I need to do this next time I use networkmanager).
dhcpcd overwrites the resolv.conf, when the --netconfig parameter is not set.
However, I view that as a side issue to not setting the default route; I can set up static nameserver entries if needed, but the default route is not easy to work around; it seems to me that the missing nameservers are just different symptom of the same problem.
The (default) route(s) are set up by the dhcpcd / dhclient themself according to the setup defined in the /etc/sysconfig/network/config, dhcp and ifcfg-* files. This also seems to be the problem here. Instead to report the real cause ("[...] I'm using NetworkManager, but in some cases it does not work and I have scripts [...]") and try to fix the problem, you apply own scripts and expect that all the other scripts are still working, even if the settings in the system says something different. OK, please provide a "dhcpcd-test ethX" output, set DHCLIENT_DEBUG="yes" in /etc/sysconfig/network/dhcp, describe exactly what you are doing and provide the dhcp client log (/var/log/dhclient-script.log in case of the dhclient). Please also write each time about which of the dhcp clients you speak; are you using dhcpcd (as in comment 3) or dhclient (as in comment 4). -- 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.