[yast-commit] r41079 - in /trunk/network: VERSION package/yast2-network.changes src/clients/save_network.ycp src/modules/Lan.ycp
![](https://seccdn.libravatar.org/avatar/4b1b602021abbfa5a5994ab0ad90e8b7.jpg?s=120&d=mm&r=g)
Author: mzugec Date: Tue Sep 25 12:44:52 2007 New Revision: 41079 URL: http://svn.opensuse.org/viewcvs/yast?rev=41079&view=rev Log: write resolv.conf after change from dhcp to static (#327074) reload/restart network before this to put correct resolv.conf from dhcp-backup Modified: trunk/network/VERSION trunk/network/package/yast2-network.changes trunk/network/src/clients/save_network.ycp trunk/network/src/modules/Lan.ycp Modified: trunk/network/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/VERSION?rev=41079&r1=4107... ============================================================================== --- trunk/network/VERSION (original) +++ trunk/network/VERSION Tue Sep 25 12:44:52 2007 @@ -1 +1 @@ -2.15.80 +2.15.81 Modified: trunk/network/package/yast2-network.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/package/yast2-network.cha... ============================================================================== --- trunk/network/package/yast2-network.changes (original) +++ trunk/network/package/yast2-network.changes Tue Sep 25 12:44:52 2007 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Tue Sep 25 12:44:03 CEST 2007 - mzugec@suse.cz + +- write resolv.conf after change from dhcp to static (#327074) + reload/restart network before this to put correct resolv.conf from + dhcp-backup +- 2.15.81 + +------------------------------------------------------------------- Mon Sep 24 11:01:05 CEST 2007 - mzugec@suse.cz - for update system don't copy network from inst_sys (#325738) Modified: trunk/network/src/clients/save_network.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/clients/save_network.... ============================================================================== --- trunk/network/src/clients/save_network.ycp (original) +++ trunk/network/src/clients/save_network.ycp Tue Sep 25 12:44:52 2007 @@ -354,6 +354,7 @@ string udev_rules_srcdir = "/etc/udev/rules.d"; string net_srcfile = "70-persistent-net.rules"; + // TODO: move "cd.rules" code into storage (#292375) string cd_srcfile = "70-persistent-cd.rules"; string udev_rules_destdir = sformat("%1%2", String::Quote (Installation::destdir), udev_rules_srcdir); Modified: trunk/network/src/modules/Lan.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/modules/Lan.ycp?rev=4... ============================================================================== --- trunk/network/src/modules/Lan.ycp (original) +++ trunk/network/src/modules/Lan.ycp Tue Sep 25 12:44:52 2007 @@ -388,6 +388,9 @@ if(Abort()) return false; /* Progress step 6 */ ProgressNextStage(_("Writing hostname and DNS configuration...")); + // write resolv.conf after change from dhcp to static (#327074) + // reload/restart network before this to put correct resolv.conf from dhcp-backup + NetworkService::StartStop (); DNS::Write(); Host::Write(); Progress::set (orig); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
mzugec@svn.opensuse.org