[yast-commit] r67189 - in /branches/SuSE-Code-11-SP2-Branch/yast2: VERSION library/network/src/Internet.ycp package/yast2.changes
Author: mvidner Date: Fri Jan 13 14:38:23 2012 New Revision: 67189 URL: http://svn.opensuse.org/viewcvs/yast?rev=67189&view=rev Log: Internet test: fail early if NetworkManager has crashed (bnc#739390). Modified: branches/SuSE-Code-11-SP2-Branch/yast2/VERSION branches/SuSE-Code-11-SP2-Branch/yast2/library/network/src/Internet.ycp branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes Modified: branches/SuSE-Code-11-SP2-Branch/yast2/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/VERSION?rev=67189&r1=67188&r2=67189&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/VERSION Fri Jan 13 14:38:23 2012 @@ -1 +1 @@ -2.17.118 +2.17.119 Modified: branches/SuSE-Code-11-SP2-Branch/yast2/library/network/src/Internet.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/library/network/src/Internet.ycp?rev=67189&r1=67188&r2=67189&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/library/network/src/Internet.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/library/network/src/Internet.ycp Fri Jan 13 14:38:23 2012 @@ -159,7 +159,8 @@ // Skip test in case of NM because it returns code 3 (interface under NM controll) if(NetworkService::IsManaged ()){ y2milestone("Skipping interface status test because of NetworkManager"); - return true; + // only check if NM has not crashed + return SCR::Execute(.target.bash, "pgrep NetworkManager") == 0; } integer ret = (integer) SCR::Execute(.target.bash, "/sbin/ifstatus " + device); y2milestone ("ifstatus %1: %2", device, ret); Modified: branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes?rev=67189&r1=67188&r2=67189&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes Fri Jan 13 14:38:23 2012 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Jan 13 14:35:47 CET 2012 - mvidner@suse.cz + +- Internet test: fail early if NetworkManager has crashed + (bnc#739390). +- 2.17.119 + +------------------------------------------------------------------- Thu Jan 5 15:28:01 CET 2012 - mvidner@suse.cz - Relicensed ConfigHistory from GPL-2.0 to GPL-2.0+ -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
mvidner@svn2.opensuse.org