Hello community, here is the log from the commit of package yast2-support for openSUSE:Factory checked in at 2014-05-21 16:32:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-support (Old) and /work/SRC/openSUSE:Factory/.yast2-support.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-support" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-support/yast2-support.changes 2014-05-13 20:49:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-support.new/yast2-support.changes 2014-05-21 16:32:59.000000000 +0200 @@ -1,0 +2,6 @@ +Tue May 13 10:31:04 UTC 2014 - [email protected] + +- assure that /etc/supportconfig.conf exists (bnc#876038) +- 3.1.3 + +------------------------------------------------------------------- Old: ---- yast2-support-3.1.2.tar.bz2 New: ---- yast2-support-3.1.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-support.spec ++++++ --- /var/tmp/diff_new_pack.jtOjeo/_old 2014-05-21 16:33:04.000000000 +0200 +++ /var/tmp/diff_new_pack.jtOjeo/_new 2014-05-21 16:33:04.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-support -Version: 3.1.2 +Version: 3.1.3 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-support-3.1.2.tar.bz2 -> yast2-support-3.1.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-support-3.1.2/package/yast2-support.changes new/yast2-support-3.1.3/package/yast2-support.changes --- old/yast2-support-3.1.2/package/yast2-support.changes 2014-05-13 08:55:47.000000000 +0200 +++ new/yast2-support-3.1.3/package/yast2-support.changes 2014-05-19 13:42:55.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue May 13 10:31:04 UTC 2014 - [email protected] + +- assure that /etc/supportconfig.conf exists (bnc#876038) +- 3.1.3 + +------------------------------------------------------------------- Tue May 13 06:15:37 UTC 2014 - [email protected] - save report to /var/log by default (bnc#875994) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-support-3.1.2/package/yast2-support.spec new/yast2-support-3.1.3/package/yast2-support.spec --- old/yast2-support-3.1.2/package/yast2-support.spec 2014-05-13 08:55:47.000000000 +0200 +++ new/yast2-support-3.1.3/package/yast2-support.spec 2014-05-19 13:42:55.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-support -Version: 3.1.2 +Version: 3.1.3 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-support-3.1.2/src/modules/Support.rb new/yast2-support-3.1.3/src/modules/Support.rb --- old/yast2-support-3.1.2/src/modules/Support.rb 2014-05-13 08:55:47.000000000 +0200 +++ new/yast2-support-3.1.3/src/modules/Support.rb 2014-05-16 08:35:45.000000000 +0200 @@ -32,6 +32,7 @@ module Yast class SupportClass < Module + include Yast::Logger def main Yast.import "UI" textdomain "support" @@ -265,6 +266,13 @@ # Support read dialog caption caption = _("Initializing Support Configuration") + # make sure supportconfig.conf exists + # the call does not work as non-root + if Support.WhoAmI == 0 && ! FileUtils.Exists("/etc/supportconfig.conf") + log.info "Creating new /etc/supportconfig.conf file" + SCR.Execute(path(".target.bash"), "/sbin/supportconfig -C"); + end + @configuration = Convert.to_map(SCR.Read(path(".etc.supportconfig.all"))) Builtins.foreach(Ops.get_list(@configuration, "value", [])) do |row| Ops.set( -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
