Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2014-03-21 12:14:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2014-03-11 09:24:11.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-03-21 12:14:29.000000000 +0100 @@ -1,0 +2,12 @@ +Thu Mar 13 14:34:42 CET 2014 - gs@suse.de + +- Check IPv4 and IPv6 for running network (bnc#868001) +- 3.1.25 + +------------------------------------------------------------------- +Tue Mar 11 13:41:08 UTC 2014 - vmoravec@suse.com + +- Adapt System.Status for latest systemctl (bnc#867378) +- 3.1.24 + +------------------------------------------------------------------- Old: ---- yast2-3.1.23.tar.bz2 New: ---- yast2-3.1.25.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2.spec ++++++ --- /var/tmp/diff_new_pack.KOlxOx/_old 2014-03-21 12:14:32.000000000 +0100 +++ /var/tmp/diff_new_pack.KOlxOx/_new 2014-03-21 12:14:32.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version: 3.1.23 +Version: 3.1.25 Release: 0 Url: https://github.com/yast/yast-yast2 ++++++ yast2-3.1.23.tar.bz2 -> yast2-3.1.25.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.23/library/network/src/modules/NetworkService.rb new/yast2-3.1.25/library/network/src/modules/NetworkService.rb --- old/yast2-3.1.23/library/network/src/modules/NetworkService.rb 2014-03-07 10:37:30.000000000 +0100 +++ new/yast2-3.1.25/library/network/src/modules/NetworkService.rb 2014-03-19 16:02:11.000000000 +0100 @@ -304,9 +304,12 @@ end end + def isNetworkRunning + isNetworkv4Running || isNetworkv6Running + end # test for IPv4 - def isNetworkRunning + def isNetworkv4Running net = Convert.to_integer( SCR.Execute( path(".target.bash"), @@ -314,10 +317,10 @@ ) ) if net == 0 - Builtins.y2milestone("Network is running ...") + Builtins.y2milestone("IPv4 network is running ...") return true else - Builtins.y2milestone("Network is not running ...") + Builtins.y2milestone("IPv4 network is not running ...") return false end end @@ -330,10 +333,10 @@ ) ) if net == 0 - Builtins.y2milestone("Network is running ...") + Builtins.y2milestone("IPv6 network is running ...") return true else - Builtins.y2milestone("Network is not running ...") + Builtins.y2milestone("IPv6 network is not running ...") return false end end @@ -356,9 +359,9 @@ ), _("or continue without network.") ) - Popup.ContinueCancel(error_text) + ret = Popup.ContinueCancel(error_text) Builtins.y2error("Network not runing!") - return false + return ret end end @@ -432,6 +435,7 @@ publish :function => :StartStop, :type => "void ()" publish :function => :ConfirmNetworkManager, :type => "boolean ()" publish :function => :isNetworkRunning, :type => "boolean ()" + publish :function => :isNetworkv4Running, :type => "boolean ()" publish :function => :isNetworkv6Running, :type => "boolean ()" publish :function => :RunningNetworkPopup, :type => "boolean ()" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.23/library/runlevel/src/modules/Service.rb new/yast2-3.1.25/library/runlevel/src/modules/Service.rb --- old/yast2-3.1.23/library/runlevel/src/modules/Service.rb 2014-03-07 10:37:30.000000000 +0100 +++ new/yast2-3.1.25/library/runlevel/src/modules/Service.rb 2014-03-19 16:02:11.000000000 +0100 @@ -233,7 +233,7 @@ Convert.to_integer( SCR.Execute( path(".target.bash"), - Builtins.sformat("%1 status %2.service", @invoker, name), + Builtins.sformat("%1 is-active %2.service", @invoker, name), { "TERM" => "raw" } ) ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.23/library/runlevel/testsuite/tests/ServiceFullInfo.out new/yast2-3.1.25/library/runlevel/testsuite/tests/ServiceFullInfo.out --- old/yast2-3.1.23/library/runlevel/testsuite/tests/ServiceFullInfo.out 2014-03-07 10:37:30.000000000 +0100 +++ new/yast2-3.1.25/library/runlevel/testsuite/tests/ServiceFullInfo.out 2014-03-19 16:02:11.000000000 +0100 @@ -4,5 +4,5 @@ Read .target.stat "/usr/lib/systemd/system/aaa.service" $["isreg":true] Read .init.scripts.runlevel "aaa" $["aaa":$["start":["0", "1", "3"], "stop":["4", "5", "6"]]] Read .init.scripts.comment "aaa" $["aaa":$["defstart":["0", "1", "3"], "defstop":["4", "5", "6"]]] -Execute .target.bash "/bin/systemctl status aaa.service" $["TERM":"raw"] 3 +Execute .target.bash "/bin/systemctl is-active aaa.service" $["TERM":"raw"] 3 Return $["defstart":["0", "1", "3"], "defstop":["4", "5", "6"], "start":["0", "1", "3"], "started":3, "stop":["4", "5", "6"]] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.23/library/runlevel/testsuite/tests/ServiceStatus.out new/yast2-3.1.25/library/runlevel/testsuite/tests/ServiceStatus.out --- old/yast2-3.1.23/library/runlevel/testsuite/tests/ServiceStatus.out 2014-03-07 10:37:30.000000000 +0100 +++ new/yast2-3.1.25/library/runlevel/testsuite/tests/ServiceStatus.out 2014-03-19 16:02:11.000000000 +0100 @@ -1,3 +1,3 @@ Read .target.tmpdir "/tmp" -Execute .target.bash "/bin/systemctl status aaa.service" $["TERM":"raw"] 3 +Execute .target.bash "/bin/systemctl is-active aaa.service" $["TERM":"raw"] 3 Return 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.23/package/yast2.changes new/yast2-3.1.25/package/yast2.changes --- old/yast2-3.1.23/package/yast2.changes 2014-03-07 10:37:31.000000000 +0100 +++ new/yast2-3.1.25/package/yast2.changes 2014-03-19 16:02:12.000000000 +0100 @@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Thu Mar 13 14:34:42 CET 2014 - gs@suse.de + +- Check IPv4 and IPv6 for running network (bnc#868001) +- 3.1.25 + +------------------------------------------------------------------- +Tue Mar 11 13:41:08 UTC 2014 - vmoravec@suse.com + +- Adapt System.Status for latest systemctl (bnc#867378) +- 3.1.24 + +------------------------------------------------------------------- Thu Mar 6 15:21:44 UTC 2014 - vmoravec@suse.com - Allow raising exceptions for not found systemd units; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.23/package/yast2.spec new/yast2-3.1.25/package/yast2.spec --- old/yast2-3.1.23/package/yast2.spec 2014-03-07 10:37:31.000000000 +0100 +++ new/yast2-3.1.25/package/yast2.spec 2014-03-19 16:02:12.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version: 3.1.23 +Version: 3.1.25 Release: 0 URL: https://github.com/yast/yast-yast2 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org