Hello community, here is the log from the commit of package yast2-nis-client for openSUSE:Factory checked in at 2014-03-11 09:24:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-nis-client (Old) and /work/SRC/openSUSE:Factory/.yast2-nis-client.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-nis-client" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-nis-client/yast2-nis-client.changes 2014-01-14 20:02:22.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-nis-client.new/yast2-nis-client.changes 2014-03-11 09:24:04.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Mar 6 12:58:47 CET 2014 - [email protected] + +- use Service API for starting ypbind (bnc#866923) +- 3.1.5 + +------------------------------------------------------------------- Old: ---- yast2-nis-client-3.1.4.tar.bz2 New: ---- yast2-nis-client-3.1.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-nis-client.spec ++++++ --- /var/tmp/diff_new_pack.PibIhg/_old 2014-03-11 09:24:05.000000000 +0100 +++ /var/tmp/diff_new_pack.PibIhg/_new 2014-03-11 09:24:05.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-nis-client -Version: 3.1.4 +Version: 3.1.5 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-nis-client-3.1.4.tar.bz2 -> yast2-nis-client-3.1.5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-nis-client-3.1.4/package/yast2-nis-client.changes new/yast2-nis-client-3.1.5/package/yast2-nis-client.changes --- old/yast2-nis-client-3.1.4/package/yast2-nis-client.changes 2014-01-13 16:23:42.000000000 +0100 +++ new/yast2-nis-client-3.1.5/package/yast2-nis-client.changes 2014-03-06 14:09:42.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Mar 6 12:58:47 CET 2014 - [email protected] + +- use Service API for starting ypbind (bnc#866923) +- 3.1.5 + +------------------------------------------------------------------- Mon Jan 13 15:59:10 CET 2014 - [email protected] - updated for current NetworkService API (bnc#856376) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-nis-client-3.1.4/package/yast2-nis-client.spec new/yast2-nis-client-3.1.5/package/yast2-nis-client.spec --- old/yast2-nis-client-3.1.4/package/yast2-nis-client.spec 2014-01-13 16:23:42.000000000 +0100 +++ new/yast2-nis-client-3.1.5/package/yast2-nis-client.spec 2014-03-06 14:09:42.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-nis-client -Version: 3.1.4 +Version: 3.1.5 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-nis-client-3.1.4/src/modules/Nis.rb new/yast2-nis-client-3.1.5/src/modules/Nis.rb --- old/yast2-nis-client-3.1.4/src/modules/Nis.rb 2014-01-13 16:23:42.000000000 +0100 +++ new/yast2-nis-client-3.1.5/src/modules/Nis.rb 2014-03-06 14:09:42.000000000 +0100 @@ -1249,18 +1249,7 @@ end Builtins.sleep(1000) # workaround for bug #10428, ypbind restart - # FIXME might be wrong with systemd! - out = Convert.to_map( - SCR.Execute( - path(".target.bash_output"), - "/etc/init.d/ypbind start", - { "TERM" => "raw" } - ) - ) - if Ops.get_integer(out, "exit", 1) == 0 - @YpbindErrors = "" - else - @YpbindErrors = Ops.get_string(out, "stdout", "internal error") + if !Service.Start("ypbind") # error popup message Report.Error(_("Error while running ypclient.")) return false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-nis-client-3.1.4/testsuite/tests/readwrite.out new/yast2-nis-client-3.1.5/testsuite/tests/readwrite.out --- old/yast2-nis-client-3.1.4/testsuite/tests/readwrite.out 2014-01-13 16:23:42.000000000 +0100 +++ new/yast2-nis-client-3.1.5/testsuite/tests/readwrite.out 2014-03-06 14:09:42.000000000 +0100 @@ -62,7 +62,7 @@ Execute .target.bash "/bin/systemctl is-enabled autofs.service" 0 Execute .target.bash_output "/bin/systemctl stop ypbind.service" $["TERM":"raw"] $["exit":0, "stderr":"", "stdout":"mydomain\n"] Execute .target.bash "/bin/systemctl status rpcbind.service" $["TERM":"raw"] 0 -Execute .target.bash_output "/etc/init.d/ypbind start" $["TERM":"raw"] $["exit":0, "stderr":"", "stdout":"mydomain\n"] +Execute .target.bash_output "/bin/systemctl start ypbind.service" $["TERM":"raw"] $["exit":0, "stderr":"", "stdout":"mydomain\n"] Execute .target.bash "/usr/bin/ypwhich >/dev/null" 0 Return true Dump auto policy @@ -129,7 +129,7 @@ Execute .target.bash "/bin/systemctl is-enabled autofs.service" 0 Execute .target.bash_output "/bin/systemctl stop ypbind.service" $["TERM":"raw"] $["exit":0, "stderr":"", "stdout":"mydomain\n"] Execute .target.bash "/bin/systemctl status rpcbind.service" $["TERM":"raw"] 0 -Execute .target.bash_output "/etc/init.d/ypbind start" $["TERM":"raw"] $["exit":0, "stderr":"", "stdout":"mydomain\n"] +Execute .target.bash_output "/bin/systemctl start ypbind.service" $["TERM":"raw"] $["exit":0, "stderr":"", "stdout":"mydomain\n"] Execute .target.bash "/usr/bin/ypwhich >/dev/null" 0 Execute .target.bash_output "/bin/systemctl stop autofs.service" $["TERM":"raw"] $["exit":0, "stderr":"", "stdout":"mydomain\n"] Execute .target.bash_output "/bin/systemctl start autofs.service" $["TERM":"raw"] $["exit":0, "stderr":"", "stdout":"mydomain\n"] -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
