Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-04-29 20:44:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and      /work/SRC/openSUSE:Factory/.yast2.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2"

Wed Apr 29 20:44:01 2020 rev:480 rq:798636 version:4.2.83

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2/yast2.changes      2020-04-15 
19:53:05.661561103 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.2738/yast2.changes    2020-04-29 
20:44:04.639907794 +0200
@@ -1,0 +2,7 @@
+Fri Apr 24 14:53:03 UTC 2020 - Knut Anderssen <[email protected]>
+
+- Avoid using systemctl calls when already started with the
+  installation and thus, running inside the chroot (bsc#1168849)
+- 4.2.83
+
+-------------------------------------------------------------------

Old:
----
  yast2-4.2.82.tar.bz2

New:
----
  yast2-4.2.83.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.gcNW9l/_old  2020-04-29 20:44:06.227911935 +0200
+++ /var/tmp/diff_new_pack.gcNW9l/_new  2020-04-29 20:44:06.227911935 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2
-Version:        4.2.82
+Version:        4.2.83
 Release:        0
 Summary:        YaST2 Main Package
 License:        GPL-2.0-only

++++++ yast2-4.2.82.tar.bz2 -> yast2-4.2.83.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.82/library/systemd/src/lib/yast2/systemd/unit.rb 
new/yast2-4.2.83/library/systemd/src/lib/yast2/systemd/unit.rb
--- old/yast2-4.2.82/library/systemd/src/lib/yast2/systemd/unit.rb      
2020-04-13 18:11:42.000000000 +0200
+++ new/yast2-4.2.83/library/systemd/src/lib/yast2/systemd/unit.rb      
2020-04-28 12:46:42.000000000 +0200
@@ -106,7 +106,9 @@
       # @return [Yast2::Systemd::UnitProperties]
       def show(property_text = nil)
         # Using different handler during first stage (installation, update, 
...)
-        if Yast::Stage.initial && !Yast::Systemd.Running
+        # Avoid to call systemctl when running inside a chroot (bsc#1168849) as
+        # it reports an error by default.
+        if Yast::WFM.scr_chrooted? || (Yast::Stage.initial && 
!Yast::Systemd.Running)
           UnitInstallationProperties.new(self)
         else
           UnitProperties.new(self, property_text)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.82/library/systemd/test/yast2/systemctl_test.rb 
new/yast2-4.2.83/library/systemd/test/yast2/systemctl_test.rb
--- old/yast2-4.2.82/library/systemd/test/yast2/systemctl_test.rb       
2020-04-13 18:11:42.000000000 +0200
+++ new/yast2-4.2.83/library/systemd/test/yast2/systemctl_test.rb       
2020-04-28 12:46:42.000000000 +0200
@@ -9,6 +9,7 @@
 
     before do
       allow(Yast::Systemd).to receive(:Running).and_return(true)
+      allow(Yast::WFM).to receive(:scr_chrooted?).and_return(false)
     end
 
     describe ".execute" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.82/library/systemd/test/yast2/systemd_unit_test.rb 
new/yast2-4.2.83/library/systemd/test/yast2/systemd_unit_test.rb
--- old/yast2-4.2.82/library/systemd/test/yast2/systemd_unit_test.rb    
2020-04-13 18:11:42.000000000 +0200
+++ new/yast2-4.2.83/library/systemd/test/yast2/systemd_unit_test.rb    
2020-04-28 12:46:42.000000000 +0200
@@ -22,7 +22,8 @@
     context "Installation system without full support of systemd" do
       before do
         allow(Yast::Stage).to receive(:initial).and_return(true)
-        allow(Yast::Systemd).to receive(:Running).and_return(false)
+        allow(Yast::WFM).to receive(:scr_chrooted?).and_return(true)
+        allow(Yast::Systemd).to receive(:Running).and_return(true)
       end
 
       describe "#properties" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.82/package/yast2.changes 
new/yast2-4.2.83/package/yast2.changes
--- old/yast2-4.2.82/package/yast2.changes      2020-04-13 18:11:42.000000000 
+0200
+++ new/yast2-4.2.83/package/yast2.changes      2020-04-28 12:46:42.000000000 
+0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Fri Apr 24 14:53:03 UTC 2020 - Knut Anderssen <[email protected]>
+
+- Avoid using systemctl calls when already started with the
+  installation and thus, running inside the chroot (bsc#1168849)
+- 4.2.83
+
+-------------------------------------------------------------------
 Mon Apr 13 12:36:58 UTC 2020 - Knut Anderssen <[email protected]>
 
 - Remove ip aliases that were marked to be deleted from the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.82/package/yast2.spec 
new/yast2-4.2.83/package/yast2.spec
--- old/yast2-4.2.82/package/yast2.spec 2020-04-13 18:11:42.000000000 +0200
+++ new/yast2-4.2.83/package/yast2.spec 2020-04-28 12:46:42.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2
-Version:        4.2.82
+Version:        4.2.83
 Release:        0
 Summary:        YaST2 Main Package
 License:        GPL-2.0-only


Reply via email to