https://bugzilla.novell.com/show_bug.cgi?id=388266 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c38 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #38 from Marius Tomaschewski <mt@novell.com> 2009-02-13 03:11:25 MST --- (In reply to comment #37)
Fix being in 11.1 and the bug being closed as fixed in 11.0 does not seem to match. Is there any update provided for 11.0?
AFAIK there was no update needed for this issue on 11.0. It is marked FIXED (instead of WONTFIX or WORKSFORME), because we've added "fixes" - complete rewrite - to 11.1 (see comment 36) and NetworkManager does not try to follow any sysconfig settings, what caused problems in DHCLIENT_MODIFY_RESOLV_CONF=no case (comment #8). There is a pending (submitted but AFAIK not released) update for dhclient (used by NM). One of the fixes is related: it allows to override a script option defined in (old) /etc/dhclient.conf with an option provided via command line interface (NM is using own script). Workaround is to comment out the script line in /etc/dhclient.conf. Second one fixing evaluation of the sysconfig policies in the /sbin/dhclient-script [ifup corner cases with non-standard configuration]. The situation on 11.0 with ifup (NETWORKMANAGER=no) is, that yast2 writes the static nameservers directly into the /etc/resolv.conf. Yes, the "Change /etc/resolv.conf manually" is gray, but when you uncheck the "Update DNS data via DHCP" [causes DHCLIENT_MODIFY_RESOLV_CONF=no], you can define the nameservers and they are written to /etc/resolv.conf. => static DNS configuration works with ifup. When you enable "Update DNS data via DHCP" [DHCLIENT_MODIFY_RESOLV_CONF=yes], yast2 does not discard the nameservers that are already in resolv.conf. When you change an interface to use dhcp, modify_resolvconf used by dhcpcd (and pppd as well) makes a backup on connect, writes dynamic resolv.conf settings and and restores the static settings on disconnect. => dhcp DNS configuration update & restore works with ifup. When NetworkManager is enabled, it overwrites the /etc/resolv.conf (written by yast2 or not). When a connection is up and nameservers are provided by dhcp _or_ static dns server are provided, then the NetworkManager writes them into the /etc/resolv.conf. Otherwise it writes an empty resolv.conf. => static and dhcp configuration works with NM. To make the resolv.conf update work, DHCLIENT_MODIFY_RESOLV_CONF=yes needs to be set [reset to the default setting] before NM is enabled (NETWORKMANAGER=yes ; rcnetwork restart). -- 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.