Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package crmsh for openSUSE:Factory checked 
in at 2021-11-29 17:28:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crmsh (Old)
 and      /work/SRC/openSUSE:Factory/.crmsh.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crmsh"

Mon Nov 29 17:28:31 2021 rev:227 rq:934444 version:4.3.1+20211129.a8e22584

Changes:
--------
--- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes      2021-11-20 
02:40:36.356489956 +0100
+++ /work/SRC/openSUSE:Factory/.crmsh.new.31177/crmsh.changes   2021-12-02 
02:11:13.259400727 +0100
@@ -1,0 +2,6 @@
+Mon Nov 29 03:29:00 UTC 2021 - xli...@suse.com
+
+- Update to version 4.3.1+20211129.a8e22584:
+  * Fix: crm: To avoid the potential "permission denied" error under other 
users (boo#1192754)
+
+-------------------------------------------------------------------

Old:
----
  crmsh-4.3.1+20211119.caa0b2aa.tar.bz2

New:
----
  crmsh-4.3.1+20211129.a8e22584.tar.bz2

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

Other differences:
------------------
++++++ crmsh.spec ++++++
--- /var/tmp/diff_new_pack.ebgb54/_old  2021-12-02 02:11:13.791399104 +0100
+++ /var/tmp/diff_new_pack.ebgb54/_new  2021-12-02 02:11:13.795399092 +0100
@@ -36,7 +36,7 @@
 Summary:        High Availability cluster command-line interface
 License:        GPL-2.0-or-later
 Group:          %{pkg_group}
-Version:        4.3.1+20211119.caa0b2aa
+Version:        4.3.1+20211129.a8e22584
 Release:        0
 URL:            http://crmsh.github.io
 Source0:        %{name}-%{version}.tar.bz2

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.ebgb54/_old  2021-12-02 02:11:13.835398970 +0100
+++ /var/tmp/diff_new_pack.ebgb54/_new  2021-12-02 02:11:13.839398957 +0100
@@ -9,6 +9,6 @@
 </service>
 <service name="tar_scm">
   <param name="url">https://github.com/ClusterLabs/crmsh.git</param>
-  <param 
name="changesrevision">bcbb5398f90f86e8d9ca26afd6417ff35c389748</param>
+  <param 
name="changesrevision">47b4e4763688dee8ab0af253c8e0b73adaf95354</param>
 </service>
 </servicedata>
\ No newline at end of file

++++++ crmsh-4.3.1+20211119.caa0b2aa.tar.bz2 -> 
crmsh-4.3.1+20211129.a8e22584.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.3.1+20211119.caa0b2aa/bin/crm 
new/crmsh-4.3.1+20211129.a8e22584/bin/crm
--- old/crmsh-4.3.1+20211119.caa0b2aa/bin/crm   2021-11-19 14:37:17.000000000 
+0100
+++ new/crmsh-4.3.1+20211129.a8e22584/bin/crm   2021-11-29 04:15:41.000000000 
+0100
@@ -27,7 +27,11 @@
 
 try:
     from crmsh import log
-    log.setup_logging()
+    if '-h' not in sys.argv and '--help' not in sys.argv:
+        log.setup_logging()
+    else:
+        log.setup_logging(only_help=True)
+
     from crmsh import main
 except ImportError as msg:
     sys.stderr.write('''Fatal error:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.3.1+20211119.caa0b2aa/crmsh/log.py 
new/crmsh-4.3.1+20211129.a8e22584/crmsh/log.py
--- old/crmsh-4.3.1+20211119.caa0b2aa/crmsh/log.py      2021-11-19 
14:37:17.000000000 +0100
+++ new/crmsh-4.3.1+20211129.a8e22584/crmsh/log.py      2021-11-29 
04:15:41.000000000 +0100
@@ -398,11 +398,15 @@
     os.makedirs(_dir, exist_ok=True)
 
 
-def setup_logging():
+def setup_logging(only_help=False):
     """
     Setup log directory and loadding logging config dict
     """
-    setup_directory_for_logfile()
+    # To avoid the potential "permission denied" error under other users 
(boo#1192754)
+    if only_help:
+        LOGGING_CFG["handlers"]["file"] = {'class': 'logging.NullHandler'}
+    else:
+        setup_directory_for_logfile()
     logging.config.dictConfig(LOGGING_CFG)
 
 

Reply via email to