Mailinglist Archive: yast-commit (1535 mails)

< Previous Next >
[yast-commit] r59134 - in /trunk/yast2: VERSION library/network/src/Internet.ycp package/yast2.changes
  • From: mzugec@xxxxxxxxxxxxxxxx
  • Date: Wed, 21 Oct 2009 13:04:14 -0000
  • Message-id: <E1N0arO-00087D-9q@xxxxxxxxxxxxxxxx>
Author: mzugec
Date: Wed Oct 21 15:04:13 2009
New Revision: 59134

URL: http://svn.opensuse.org/viewcvs/yast?rev=59134&view=rev
Log:
Internet.ycp: skip interface status test in case of NM (bnc#535837)

Modified:
trunk/yast2/VERSION
trunk/yast2/library/network/src/Internet.ycp
trunk/yast2/package/yast2.changes

Modified: trunk/yast2/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/VERSION?rev=59134&r1=59133&r2=59134&view=diff
==============================================================================
--- trunk/yast2/VERSION (original)
+++ trunk/yast2/VERSION Wed Oct 21 15:04:13 2009
@@ -1 +1 @@
-2.18.26
+2.18.27

Modified: trunk/yast2/library/network/src/Internet.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/network/src/Internet.ycp?rev=59134&r1=59133&r2=59134&view=diff
==============================================================================
--- trunk/yast2/library/network/src/Internet.ycp (original)
+++ trunk/yast2/library/network/src/Internet.ycp Wed Oct 21 15:04:13 2009
@@ -164,6 +164,11 @@
* @return true if interface is up (which is not equal to connected)
*/
global define boolean Status() {
+ // 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;
+ }
integer ret = (integer) SCR::Execute(.target.bash, "/sbin/ifstatus " +
device);
y2milestone ("ifstatus %1: %2", device, ret);
return ret == 0 || ret == 10;

Modified: trunk/yast2/package/yast2.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=59134&r1=59133&r2=59134&view=diff
==============================================================================
--- trunk/yast2/package/yast2.changes (original)
+++ trunk/yast2/package/yast2.changes Wed Oct 21 15:04:13 2009
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Oct 21 15:02:15 CEST 2009 - mzugec@xxxxxxx
+
+- Internet.ycp: skip interface status test in case of NM (bnc#535837)
+- 2.18.27
+
+-------------------------------------------------------------------
Mon Oct 19 16:53:58 CEST 2009 - lslezak@xxxxxxx

- added explicit gpg2 Requires (bnc#544683)

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages