Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-05-01 15:06:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2" Fri May 1 15:06:47 2020 rev:182 rq:798682 version:4.2.83 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes 2020-04-17 13:36:35.772177128 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.2738/yast2.changes 2020-05-01 15:06:49.758503404 +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.4ZO8S0/_old 2020-05-01 15:06:50.122504194 +0200 +++ /var/tmp/diff_new_pack.4ZO8S0/_new 2020-05-01 15:06:50.126504204 +0200 @@ -1,7 +1,7 @@ # # spec file for package yast2 # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,17 +12,17 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: yast2 -Version: 4.2.82 +Version: 4.2.83 Release: 0 Summary: YaST2 Main Package License: GPL-2.0-only Group: System/YaST -Url: https://github.com/yast/yast-yast2 +URL: https://github.com/yast/yast-yast2 Source0: %{name}-%{version}.tar.bz2 Source1: yast2-rpmlintrc ++++++ 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/Dockerfile new/yast2-4.2.83/Dockerfile --- old/yast2-4.2.82/Dockerfile 2020-04-13 18:11:42.000000000 +0200 +++ new/yast2-4.2.83/Dockerfile 2020-04-24 19:38:22.000000000 +0200 @@ -1,7 +1,7 @@ # Use this base image # - built: https://registry.opensuse.org # - source: https://github.com/yast/ci-ruby-container -FROM registry.opensuse.org/yast/head/containers/yast-ruby +FROM registry.opensuse.org/yast/sle-15/sp2/containers/yast-ruby COPY . /usr/src/app # English messages, UTF-8, "C" locale for numeric formatting tests ENV LC_ALL= LANG=en_US.UTF-8 LC_NUMERIC=C diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.82/Rakefile new/yast2-4.2.83/Rakefile --- old/yast2-4.2.82/Rakefile 2020-04-13 18:11:42.000000000 +0200 +++ new/yast2-4.2.83/Rakefile 2020-04-24 19:38:22.000000000 +0200 @@ -1,5 +1,7 @@ require "yast/rake" +Yast::Tasks.submit_to :sle15sp2 + Yast::Tasks.configuration do |conf| # lets ignore license check for now conf.skip_license_check << /.*/ 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-24 19:38:22.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-24 19:38:22.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-24 19:38:22.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-24 19:38:22.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-24 19:38:22.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
