http://bugzilla.novell.com/show_bug.cgi?id=544195
User mt@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544195#c4
Marius Tomaschewski changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|tambet@novell.com |coolo@novell.com,
| |milisav.radmanic@novell.com
--- Comment #4 from Marius Tomaschewski 2009-10-05 01:32:09 MDT ---
This is a very bad idea to write it yourself when netconfig reports != 0.
First, because you break netconfig, second, because you overwrite manual
user setting. Complaining to the user would be much better here.
See also feature
#306274: Implement filter for netconfig update and use it in
yast2
it has been rejected for 11.2 because of not enough time/resources,
but I'll implement it this week for SLE-11 SP1 anyway and if Stephan
agrees, we can apply this change to 11.2, to improve this scenario.
Basically, "netconfig update -m dns -f" will force DNS setting update.
When "netconfig update" - or better "netconfig update -m dns" - fails,
the GUI can inform the user about and ask if he/she wants to force to
overwrite the current (manual) DNS settings.
When the user gives his OK, the GUI can call the above command incl. -f.
Currently, the way to go would be e.g.:
cp /dev/null /etc/resolv.conf ; netconfig update
but it does not work properly e.g. in NETCONFIG_DNS_FORWARDER=bind
or dnsmasq mode, because the resolv.conf is not the only file written
then... So at the moment the GUI can only use "netconfig update -f",
what may throw away e.g. user's manually configured NIS settings...
Added Stephan to Cc. Tamber, please set NEEDINFO to Stephan when this
feature would be helpful here.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.