Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pacemaker for openSUSE:Factory 
checked in at 2021-12-24 20:22:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pacemaker (Old)
 and      /work/SRC/openSUSE:Factory/.pacemaker.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pacemaker"

Fri Dec 24 20:22:59 2021 rev:140 rq:942221 version:2.1.2+20211124.ada5c3b36

Changes:
--------
--- /work/SRC/openSUSE:Factory/pacemaker/pacemaker.changes      2021-09-20 
23:33:09.787174314 +0200
+++ /work/SRC/openSUSE:Factory/.pacemaker.new.2520/pacemaker.changes    
2021-12-24 20:23:15.334021791 +0100
@@ -1,0 +2,177 @@
+Wed Dec 22 13:36:05 UTC 2021 - Yan Gao <y...@suse.com>
+
+- fencer: get current time correctly
+  * 0001-Fix-fencer-get-current-time-correctly.patch
+
+-------------------------------------------------------------------
+Wed Dec 22 13:25:51 UTC 2021 - Yan Gao <y...@suse.com>
+
+- Update to version 2.1.2+20211124.ada5c3b36 (Pacemaker-2.1.2):
+- fencer: add missing space to topology message
+- controller: handle remote connection start timeouts correctly
+
+-------------------------------------------------------------------
+Wed Dec 22 11:24:15 UTC 2021 - Yan Gao <y...@suse.com>
+
+- Update to version 2.1.1+20211116.8db4569e4 (Pacemaker-2.1.2-rc2):
+- fencing: mark state as done if remapped "on" times out
+- Fix OCF_RA_INSTALL_DIR Autoconf variable name in pkg-config files
+- daemons: Free memory at the end of fail_pending_op.
+
+-------------------------------------------------------------------
+Wed Dec 22 11:17:24 UTC 2021 - Yan Gao <y...@suse.com>
+
+- Update to version 2.1.1+20211104.62c36e2b1 (Pacemaker-2.1.2-rc1):
+- Use user_include_exclude_cb in crm_mon more. (clbz#5485)
+- Only set default sections in crm_mon once. (clbz#5485)
+- fencer: improve messages for dynamic target queries (rh#1470834)
+- fencer: consolidate messages for asynchronous results (rh#1470834)
+- fencer: log a message when out of memory for dynamic target search 
(rh#1470834)
+- libcrmservice: distinguish local and global configuration errors (rh#1470834)
+- libcrmservice: improve messages for pre-execution failures in child 
(rh#1470834)
+
+-------------------------------------------------------------------
+Wed Dec 22 10:35:46 UTC 2021 - Yan Gao <y...@suse.com>
+
+- Update to version 2.1.1+20211028.70f82d2c0:
+- attrd: check election status upon loss of a voter to prevent unexpected 
pending (bsc#1191676)
+
+-------------------------------------------------------------------
+Wed Dec 22 10:23:59 UTC 2021 - Yan Gao <y...@suse.com>
+
+- Update to version 2.1.1+20211028.7ee8b5bdd:
+- tools: select technical or human-friendly output of failed actions 
(rh#1470834)
+- controller,executor: tweak action result messages (rh#1470834)
+- install init scripts only if not using systemd
+- executor: log execution status and exit reason with results (rh#1470834)
+- executor: improve result message (rh#1470834)
+- controller: log exit reason with action results (rh#1470834)
+- controller: make executor result messages more consistent (rh#1470834)
+- daemon metadata: Output OCF-1.1-style metadata for enum options
+- libcrmservice: avoid memory leak when checking systemd unit existence
+- fencer: avoid memory leak on async execution failure (rh#1470834)
+- fencer: report correct code for CIB secret failure (rh#1470834)
+- libcrmservice: improve exit codes for child execution failures (rh#1470834)
+- cib,pacemakerd,libcrmcommon,libcrmservice: improve child completion logs 
(rh#1470834)
+- executor: map nagios warnings to OCF "degraded" result code (rh#1470834)
+- schemas: update crm_resource API schema for --force-* changes (rh#1470834)
+- tools: show exit reason for crm_resource --force-* (rh#1470834)
+- daemons: Be more careful about restarting subdaemons. (clbz#5225)
+- daemons: Re-register UID/GID with corosync on restart.
+- tools: handle crm_resource --force-* failures consistently (rh#1470834)
+- tools: improve check for supported standards in crm_resource --force-* 
(rh#1470834)
+- tools: map LSB status to OCF correctly with crm_resource --force-check 
(rh#1470834)
+- tools: show detailed message with crm_resource --force-* failure (rh#1470834)
+- daemons: Correct which subdaemons need the cluster.
+- daemons: Keep track of which daemons need corosync.
+- libcrmservice: improve handling of too many nagios parameters (rh#1470834)
+- executor,libstonithd,libcrmservice: better error handling for generic 
actions (rh#1470834)
+- libcrmservice: set exit reason for some memory errors when creating action 
(rh#1470834)
+- executor,libcrmservice: set exit reason for invalid arguments (rh#1470834)
+- executor: use exit reason from service library when available (rh#1470834)
+- libcrmservice: set exit reason for internal errors (rh#1470834)
+- tools: avoid double free with crm_resource --force-*
+- tools: avoid error message when no stdout
+- fencing: improve error handling when executing fence actions (rh#1470834)
+- libcrmservice: check for memory errors when creating an action (rh#1470834)
+- executor,libcrmservice: don't overwrite execution status from 
execute_action() (rh#1470834)
+- executor,controller,libcrmservice: use PCMK_OCF_UNKNOWN_ERROR for timeouts 
(rh#1470834)
+- libcrmservice: don't assert for mainloop error (rh#1470834)
+- libcrmservice: ensure rc/status are set for meta-data failures (rh#1470834)
+- libcrmservice: ensure synchronous file action always sets rc and status 
(rh#1470834)
+- libcrmservice: use NAGIOS_STATE_UNKNOWN for internal nagios errors 
(rh#1470834)
+- libcrmservice: use standard-appropriate exit code for signal management 
failures (rh#1470834)
+- libcrmservice: properly detect systemd unit existence (rh#1470834)
+
+- Rebase:
+  * bug-728579_pacemaker-stonith-dev-id.patch
+  * bug-943295_pacemaker-lrmd-log-notice.patch
+
+-------------------------------------------------------------------
+Mon Dec 20 14:35:20 UTC 2021 - Yan Gao <y...@suse.com>
+
+- Update to version 2.1.1+20210924.be206af22:
+- fenced: Change query timeout calculation.
+- resources: update HealthIOWait agent for OCF 1.1
+- resources: add integer parameter validation to HealthIOWait
+- resources: fix HealthIOWait validate action
+
+-------------------------------------------------------------------
+Mon Dec 20 12:44:34 UTC 2021 - Yan Gao <y...@suse.com>
+
+- Update to version 2.1.1+20210923.ce81ff72e:
+- tools: Properly display supported output formats in crm_mon.
+- libcrmservice: avoid possible use-of-NULL
+- libcrmservice: update systemd agent meta-data for OCF 1.1
+- libcrmservice: set default execution status for systemd actions to error 
(rh#1470834)
+- libcrmservice: ensure status is set when masking systemd errors (rh#1470834)
+- libcrmservice: ensure rc/status are set when parsing systemd results 
(rh#1470834)
+- libcrmservice: ensure execution status is set after parsing status result 
(rh#1470834)
+- libcrmservice: ensure rc/status are set after invoking systemd unit paths 
(rh#1470834)
+- libcrmservice: ensure rc/status are set after systemd LoadUnit calls 
(rh#1470834)
+- libcrmservice: ensure rc/status are set when loading systemd unit 
(rh#1470834)
+- libcrmservice: set rc and status appropriately for systemd timeouts 
(rh#1470834)
+- libcrmservice: handle corner cases when creating action (rh#1470834)
+- libcrmservice: always set rc/status when executing files (rh#1470834)
+- libcrmservice: always set rc/status when executing systemd actions 
(rh#1470834)
+- libstonithd: check libcrmservice status rather than exit code for timeouts 
(rh#1470834)
+- fencer: avoid assertions in delegate_from_xml()
+- scheduler: quote execution status in failed action output (rh#1470834)
+- liblrmd: don't mask errors from sending IPC (rh#1470834)
+- executor: set exit reason for stonith resource action failures (rh#1470834)
+- controller: set exit reason for executor communication timeout (rh#1470834)
+- controller: use OCF timeout exit code for executor communication timeout 
(rh#1470834)
+- controller: set exit reason when using synthesize_lrmd_failure() (rh#1470834)
+- controller: set exit reason when using fake_op_status() (rh#1470834)
+- controller,libpacemaker: set exit reason for internal errors (rh#1470834)
+
+-------------------------------------------------------------------
+Mon Dec 20 10:05:39 UTC 2021 - Yan Gao <y...@suse.com>
+
+- Update to version 2.1.1+20210910.89c5b06a3:
+- controller: use "not connected" status for remote execution failure 
(rh#1470834)
+- controller: send error reply if can't initiate action via executor 
(rh#1470834)
+- controller: improve messages for failed resource agent actions (rh#1470834)
+- tools: better error message if crm_resource can't create action (rh#1470834)
+- controller: set exit reason when remote connection start fails (rh#1470834)
+- tools: better error messages for crm_resource executor failures (rh#1470834)
+- fenced: add support for mapping pcmk_delay_base pr node
+- scheduler: use existing epoch-to-string function in failed action display 
(rh#1470834)
+- scheduler: add exit reason to failed action string only if present 
(rh#1470834)
+- scheduler: add timing details to failed action strings only when available 
(rh#1470834)
+- scheduler: ensure failed action display handles NULL values (rh#1470834)
+- fence_watchdog: fix malformed xml in metadata
+- fenced: support escaped characters as values in pcmk_host_map
+- fenced: Added nanosecond field to operation completion data.
+- controller: use sensible message for poke of disconnected executor 
(rh#1470834)
+- controller: improve messages for remote executor connection failure 
(rh#1470834)
+- controller: improve message for failed local executor connection (rh#1470834)
+- scheduler: reword "multiply active" message (rh#1470834)
+- libcrmcluster: reword initial quorum message (rh#1470834)
+- libcrmcluster: downgrade message for CPG messages sent (rh#1470834)
+- scheduler: improve migration threshold message (rh#1470834)
+- fencer: downgrade reboot remapping to notice
+- controller: handle malformed CIB diffs better
+- scheduler: avoid memory leak for invalid ordering constraints
+- scheduler: improve bad id-ref handling
+- scheduler: downgrade inverse ordering failure to warning
+- fence_watchdog: fix version output needed for help2man
+- rpm: package fence_watchdog in base-package
+- watchdog-fencing: Silence warning without node restriction
+- tools: If there are no nodes, don't add an extra blank line.
+- watchdog-fencing: allow restriction to certain nodes
+
+-------------------------------------------------------------------
+Wed Dec  8 14:47:53 UTC 2021 - Yan Gao <y...@suse.com>
+
+- pacemaker.rpmlintrc: filter out shlib-policy-name-error (bsc#1191776)
+
+-------------------------------------------------------------------
+Wed Dec 08 14:14:53 UTC 2021 - Yan Gao <y...@suse.com>
+
+- Update to version 2.1.1+20210909.77db57872 (Pacemaker-2.1.1):
+- liblrmd: avoid segfault on TLS connection errors
+- tools: Fix a segfault when calling "crm_simulate -U".
+- tools: make exit-code stdout/stderr consistent with --version
+
+-------------------------------------------------------------------
@@ -595 +772 @@
-- libcrmcommon: drop unformatted log message about log permissions
+- libcrmcommon: drop unformatted log message about log permissions 
(bsc#1190821)

Old:
----
  pacemaker-2.1.0+20210816.c6a4f6e6c.tar.xz

New:
----
  0001-Fix-fencer-get-current-time-correctly.patch
  pacemaker-2.1.2+20211124.ada5c3b36.tar.xz

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

Other differences:
------------------
++++++ pacemaker.spec ++++++
--- /var/tmp/diff_new_pack.M7yAft/_old  2021-12-24 20:23:16.266022279 +0100
+++ /var/tmp/diff_new_pack.M7yAft/_new  2021-12-24 20:23:16.270022281 +0100
@@ -84,9 +84,8 @@
 
 # Python-related definitions
 
-## Path to Python interpreter (leave commented to auto-detect,
-## or uncomment and edit to use a specific version)
-%global python_path /usr/bin/python%{python3_version}
+## Prefer Python 3 definitions explicitly, in case 2 is also available
+%global python_path %{__python3}
 
 # Keep sane profiling data if requested
 %if %{with profiling}
@@ -107,7 +106,7 @@
 %define with_regression_tests   0
 
 Name:           pacemaker
-Version:        2.1.0+20210816.c6a4f6e6c
+Version:        2.1.2+20211124.ada5c3b36
 Release:        0
 Summary:        Scalable High-Availability cluster resource manager
 # AGPL-3.0 licensed extra/clustermon.sh is not present in the binary
@@ -129,6 +128,7 @@
 Patch8:         bug-995365_pacemaker-cts-restart-systemd-journald.patch
 Patch9:         pacemaker-cts-StartCmd.patch
 Patch10:        
bsc#1180966-0001-Log-pacemakerd-downgrade-the-warning-about-SBD_SYNC_.patch
+Patch11:        0001-Fix-fencer-get-current-time-correctly.patch
 # Required for core functionality
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -146,6 +146,8 @@
 BuildRequires:  resource-agents
 BuildRequires:  sed
 BuildRequires:  pkgconfig(bzip2)
+# Required for "make check"
+BuildRequires:  pkgconfig(cmocka)
 BuildRequires:  pkgconfig(corosync) >= 2.0.0
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(glib-2.0) >= 2.42
@@ -159,6 +161,7 @@
 BuildRequires:  pkgconfig(python3)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(uuid)
+BuildRequires:  python-rpm-macros
 Requires:       %{name}-cli = %{version}-%{release}
 Requires:       corosync >= 2.0.0
 Requires:       libpacemaker3 = %{version}-%{release}
@@ -348,6 +351,7 @@
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 
 %build
 
@@ -415,10 +419,6 @@
 rm -f %{buildroot}/%{_sbindir}/notifyServicelogEvent
 rm -f %{buildroot}/%{_sbindir}/ipmiservicelogd
 
-# Don't ship init scripts for systemd based platforms
-rm -f %{buildroot}/%{_initddir}/pacemaker
-rm -f %{buildroot}/%{_initddir}/pacemaker_remote
-
 %if %{with coverage}
 GCOV_BASE=%{buildroot}/%{_var}/lib/pacemaker/gcov
 mkdir -p $GCOV_BASE
@@ -538,6 +538,7 @@
 %{_libexecdir}/pacemaker/*
 
 %{_sbindir}/fence_legacy
+%{_sbindir}/fence_watchdog
 
 %{_mandir}/man7/pacemaker-controld.7%{ext_man}
 %{_mandir}/man7/pacemaker-schedulerd.7%{ext_man}
@@ -546,6 +547,7 @@
 %{_mandir}/man7/ocf_pacemaker_o2cb.7%{ext_man}
 %{_mandir}/man7/ocf_pacemaker_remote.7%{ext_man}
 %{_mandir}/man8/fence_legacy.8%{ext_man}
+%{_mandir}/man8/fence_watchdog.8%{ext_man}
 %{_mandir}/man8/pacemakerd.8%{ext_man}
 
 %doc %{_datadir}/pacemaker/alerts
@@ -614,6 +616,7 @@
 %exclude %{_mandir}/man7/ocf_pacemaker_remote.*
 %{_mandir}/man8/*
 %exclude %{_mandir}/man8/fence_legacy.*
+%exclude %{_mandir}/man8/fence_watchdog.*
 %exclude %{_mandir}/man8/pacemakerd.*
 %exclude %{_mandir}/man8/pacemaker-remoted.*
 

++++++ 0001-Fix-fencer-get-current-time-correctly.patch ++++++
>From 0339e89f3238b31df78b864dae8684b82c370741 Mon Sep 17 00:00:00 2001
From: Ken Gaillot <kgail...@redhat.com>
Date: Mon, 13 Dec 2021 15:22:40 -0600
Subject: [PATCH] Fix: fencer: get current time correctly

f52bc8e1ce (2.1.2) introduced a regression by using clock_gettime() with
CLOCK_MONOTONIC to get the current time. Use qb_util_timespec_from_epoch_get()
instead (which as of this writing uses clock_gettime() with CLOCK_REALTIME if
available, and falls back to gettimeofday() if not).
---
 daemons/fenced/fenced_commands.c | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/daemons/fenced/fenced_commands.c b/daemons/fenced/fenced_commands.c
index f34cb4f13..7685cb8c3 100644
--- a/daemons/fenced/fenced_commands.c
+++ b/daemons/fenced/fenced_commands.c
@@ -2746,19 +2746,14 @@ bool fencing_peer_active(crm_node_t *peer)
     return FALSE;
 }
 
-void set_fencing_completed(remote_fencing_op_t * op)
+void
+set_fencing_completed(remote_fencing_op_t *op)
 {
-#ifdef CLOCK_MONOTONIC
     struct timespec tv;
 
-    clock_gettime(CLOCK_MONOTONIC, &tv);
-
+    qb_util_timespec_from_epoch_get(&tv);
     op->completed = tv.tv_sec;
     op->completed_nsec = tv.tv_nsec;
-#else
-    op->completed = time(NULL);
-    op->completed_nsec = 0L;
-#endif
 }
 
 /*!
-- 
2.31.1


++++++ _service ++++++
--- /var/tmp/diff_new_pack.M7yAft/_old  2021-12-24 20:23:16.314022304 +0100
+++ /var/tmp/diff_new_pack.M7yAft/_new  2021-12-24 20:23:16.322022308 +0100
@@ -8,10 +8,10 @@
     To update to a new release, change "revision" to the desired
     git commit hash and bump "version" if necessary
 
-    <param name="version">2.1.0</param>
+    <param name="version">2.1.2</param>
 -->
-    <param name="versionformat">2.1.0+%cd.%h</param>
-    <param name="revision">Pacemaker-2.1.1-rc3</param>
+    <param name="versionformat">2.1.2+%cd.%h</param>
+    <param name="revision">Pacemaker-2.1.2</param>
     <param name="changesgenerate">enable</param>
   </service>
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.M7yAft/_old  2021-12-24 20:23:16.338022317 +0100
+++ /var/tmp/diff_new_pack.M7yAft/_new  2021-12-24 20:23:16.346022321 +0100
@@ -1,7 +1,7 @@
 <servicedata>
   <service name="tar_scm">
     <param name="url">git://github.com/ClusterLabs/pacemaker.git</param>
-    <param 
name="changesrevision">c6a4f6e6cdcedf08e0bfd81248b86812c2a571b2</param>
+    <param 
name="changesrevision">ada5c3b36e2adf1703d54d39f40a4b8628eca175</param>
   </service>
 </servicedata>
 (No newline at EOF)

++++++ bug-728579_pacemaker-stonith-dev-id.patch ++++++
--- /var/tmp/diff_new_pack.M7yAft/_old  2021-12-24 20:23:16.362022329 +0100
+++ /var/tmp/diff_new_pack.M7yAft/_new  2021-12-24 20:23:16.366022331 +0100
@@ -4,11 +4,11 @@
 
     Medium: stonith: Expose IDs of stonith resources to stonith agents through 
"$CRM_meta_st_device_id" environment variable
 
-Index: pacemaker-2.0.5+20210104.8ae19fdf9/daemons/fenced/fenced_commands.c
+Index: pacemaker-2.1.1+20211028.7ee8b5bdd/daemons/fenced/fenced_commands.c
 ===================================================================
---- pacemaker-2.0.5+20210104.8ae19fdf9.orig/daemons/fenced/fenced_commands.c
-+++ pacemaker-2.0.5+20210104.8ae19fdf9/daemons/fenced/fenced_commands.c
-@@ -937,6 +937,7 @@ build_device_from_xml(xmlNode * msg)
+--- pacemaker-2.1.1+20211028.7ee8b5bdd.orig/daemons/fenced/fenced_commands.c
++++ pacemaker-2.1.1+20211028.7ee8b5bdd/daemons/fenced/fenced_commands.c
+@@ -1068,6 +1068,7 @@ build_device_from_xml(xmlNode * msg)
                   "on target", device->id, device->on_target_actions);
      }
  
@@ -16,11 +16,11 @@
      device->work = mainloop_add_trigger(G_PRIORITY_HIGH, 
stonith_device_dispatch, device);
      /* TODO: Hook up priority */
  
-Index: pacemaker-2.0.5+20210104.8ae19fdf9/lib/fencing/st_client.c
+Index: pacemaker-2.1.1+20211028.7ee8b5bdd/lib/fencing/st_client.c
 ===================================================================
---- pacemaker-2.0.5+20210104.8ae19fdf9.orig/lib/fencing/st_client.c
-+++ pacemaker-2.0.5+20210104.8ae19fdf9/lib/fencing/st_client.c
-@@ -40,6 +40,7 @@ struct stonith_action_s {
+--- pacemaker-2.1.1+20211028.7ee8b5bdd.orig/lib/fencing/st_client.c
++++ pacemaker-2.1.1+20211028.7ee8b5bdd/lib/fencing/st_client.c
+@@ -42,6 +42,7 @@ struct stonith_action_s {
      char *action;
      char *victim;
      GHashTable *args;
@@ -28,7 +28,7 @@
      int timeout;
      int async;
      void *userdata;
-@@ -586,6 +587,7 @@ stonith__destroy_action(stonith_action_t
+@@ -647,6 +648,7 @@ stonith__destroy_action(stonith_action_t
          }
          free(action->output);
          free(action->error);
@@ -36,7 +36,7 @@
          free(action);
      }
  }
-@@ -657,6 +659,8 @@ stonith_action_create(const char *agent,
+@@ -718,6 +720,8 @@ stonith_action_create(const char *agent,
      if (device_args) {
          char buffer[512];
          const char *value = NULL;
@@ -45,7 +45,7 @@
  
          snprintf(buffer, sizeof(buffer), "pcmk_%s_retries", _action);
          value = g_hash_table_lookup(device_args, buffer);
-@@ -664,6 +668,11 @@ stonith_action_create(const char *agent,
+@@ -725,6 +729,11 @@ stonith_action_create(const char *agent,
          if (value) {
              action->max_retries = atoi(value);
          }
@@ -57,7 +57,7 @@
      }
  
      return action;
-@@ -806,6 +815,10 @@ internal_stonith_action_execute(stonith_
+@@ -875,6 +884,10 @@ internal_stonith_action_execute(stonith_
                                             SVC_ACTION_NON_BLOCKED,
                                             "SVC_ACTION_NON_BLOCKED");
  
@@ -68,13 +68,13 @@
      /* keep retries from executing out of control and free previous results */
      if (is_retry) {
          free(action->output);
-Index: pacemaker-2.0.5+20210104.8ae19fdf9/lib/services/services_linux.c
+Index: pacemaker-2.1.1+20211028.7ee8b5bdd/lib/services/services_linux.c
 ===================================================================
---- pacemaker-2.0.5+20210104.8ae19fdf9.orig/lib/services/services_linux.c
-+++ pacemaker-2.0.5+20210104.8ae19fdf9/lib/services/services_linux.c
-@@ -28,6 +28,9 @@
- #include "crm/common/mainloop.h"
+--- pacemaker-2.1.1+20211028.7ee8b5bdd.orig/lib/services/services_linux.c
++++ pacemaker-2.1.1+20211028.7ee8b5bdd/lib/services/services_linux.c
+@@ -29,6 +29,9 @@
  #include "crm/services.h"
+ #include "crm/services_internal.h"
  
 +#include "crm/stonith-ng.h"
 +#include "crm/fencing/internal.h"
@@ -82,7 +82,7 @@
  #include "services_private.h"
  
  static void close_pipe(int fildes[]);
-@@ -405,6 +408,15 @@ static void
+@@ -406,6 +409,15 @@ static void
  add_action_env_vars(const svc_action_t *op)
  {
      void (*env_setter)(gpointer, gpointer, gpointer) = NULL;

++++++ bug-943295_pacemaker-lrmd-log-notice.patch ++++++
--- /var/tmp/diff_new_pack.M7yAft/_old  2021-12-24 20:23:16.382022340 +0100
+++ /var/tmp/diff_new_pack.M7yAft/_new  2021-12-24 20:23:16.386022342 +0100
@@ -1,17 +1,17 @@
-Index: pacemaker-2.0.4+20200819.114974685/daemons/execd/execd_commands.c
+Index: pacemaker-2.1.1+20211028.7ee8b5bdd/daemons/execd/execd_commands.c
 ===================================================================
---- pacemaker-2.0.4+20200819.114974685.orig/daemons/execd/execd_commands.c
-+++ pacemaker-2.0.4+20200819.114974685/daemons/execd/execd_commands.c
-@@ -198,7 +198,7 @@ static void
- log_finished(lrmd_cmd_t * cmd, int exec_time, int queue_time)
+--- pacemaker-2.1.1+20211028.7ee8b5bdd.orig/daemons/execd/execd_commands.c
++++ pacemaker-2.1.1+20211028.7ee8b5bdd/daemons/execd/execd_commands.c
+@@ -208,7 +208,7 @@ action_matches(lrmd_cmd_t *cmd, const ch
+ static void
+ log_finished(lrmd_cmd_t *cmd, int exec_time_ms, int queue_time_ms)
  {
-     char pid_str[32] = { 0, };
 -    int log_level = LOG_INFO;
 +    int log_level = LOG_NOTICE;
+     GString *str = g_string_sized_new(100); // reasonable starting size
  
-     if (cmd->last_pid) {
-         snprintf(pid_str, 32, "%d", cmd->last_pid);
-@@ -223,7 +223,7 @@ log_finished(lrmd_cmd_t * cmd, int exec_
+     if (pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) {
+@@ -248,7 +248,7 @@ log_finished(lrmd_cmd_t *cmd, int exec_t
  static void
  log_execute(lrmd_cmd_t * cmd)
  {

++++++ pacemaker-2.1.0+20210816.c6a4f6e6c.tar.xz -> 
pacemaker-2.1.2+20211124.ada5c3b36.tar.xz ++++++
++++ 47526 lines of diff (skipped)

++++++ pacemaker.rpmlintrc ++++++
--- /var/tmp/diff_new_pack.M7yAft/_old  2021-12-24 20:23:17.886023128 +0100
+++ /var/tmp/diff_new_pack.M7yAft/_new  2021-12-24 20:23:17.886023128 +0100
@@ -2,4 +2,5 @@
 addFilter("script-without-shebang /usr/share/pacemaker/.*\.dtd")
 addFilter("script-without-shebang /usr/share/pacemaker/.*\.xsl")
 addFilter("non-executable-script /usr/share/pacemaker/cts/")
+addFilter("shlib-policy-name-error")
 

Reply via email to