[yast-commit] r60137 - in /branches/SuSE-SLE-10-SP2-Branch/network: VERSION package/yast2-network.changes src/modules/Lan.ycp
Author: mzugec Date: Thu Dec 17 15:55:30 2009 New Revision: 60137 URL: http://svn.opensuse.org/viewcvs/yast?rev=60137&view=rev Log: resolv.conf not updated when switch from dhcp->static (bnc#561349) Modified: branches/SuSE-SLE-10-SP2-Branch/network/VERSION branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes branches/SuSE-SLE-10-SP2-Branch/network/src/modules/Lan.ycp Modified: branches/SuSE-SLE-10-SP2-Branch/network/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/network/VERSION?rev=60137&r1=60136&r2=60137&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP2-Branch/network/VERSION (original) +++ branches/SuSE-SLE-10-SP2-Branch/network/VERSION Thu Dec 17 15:55:30 2009 @@ -1 +1 @@ -2.13.119.2 +2.13.119.3 Modified: branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes?rev=60137&r1=60136&r2=60137&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes (original) +++ branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes Thu Dec 17 15:55:30 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Dec 17 15:23:39 CET 2009 - mzugec@suse.de + +- resolv.conf not updated when switch from dhcp->static (bnc#561349) +- 2.13.119.3 + +------------------------------------------------------------------- Thu Nov 5 11:47:26 CET 2009 - mzugec@suse.de - Do a proper reload of network service on writing (standalone) DNS Modified: branches/SuSE-SLE-10-SP2-Branch/network/src/modules/Lan.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/network/src/modules/Lan.ycp?rev=60137&r1=60136&r2=60137&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP2-Branch/network/src/modules/Lan.ycp (original) +++ branches/SuSE-SLE-10-SP2-Branch/network/src/modules/Lan.ycp Thu Dec 17 15:55:30 2009 @@ -550,7 +550,12 @@ if(Abort()) return false; /* Progress step 6 */ ProgressNextStage(_("Writing hostname and DNS configuration...")); + // write resolv.conf after change from dhcp to static (bnc#327074) + // and (bnc#561349) + NetworkService::StartStop (); + y2milestone("resolv.conf:%1", SCR::Read(.target.string, "/etc/resolv.conf")); DNS::Write(); + y2milestone("resolv.conf:%1", SCR::Read(.target.string, "/etc/resolv.conf")); Host::Write(); sleep(sl); @@ -574,7 +579,12 @@ /* Progress step 9 */ ProgressNextStage(_("Activating network services...")); NetworkModules::HwUp (); + y2milestone("resolv.conf:%1", SCR::Read(.target.string, "/etc/resolv.conf")); NetworkService::StartStop (); + y2milestone("resolv.conf:%1", SCR::Read(.target.string, "/etc/resolv.conf")); + DNS::modified=true; + DNS::Write(); + y2milestone("resolv.conf:%1", SCR::Read(.target.string, "/etc/resolv.conf")); sleep(sl); } -- 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