Accepting request 423644 from network:ha-clustering:Factory

1

OBS-URL: https://build.opensuse.org/request/show/423644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=103
This commit is contained in:
Dominique Leuenberger 2016-08-31 12:28:37 +00:00 committed by Git OBS Bridge
commit d2dd863c71
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,17 @@
Index: pacemaker/cts/CTSaudits.py
===================================================================
--- pacemaker.orig/cts/CTSaudits.py
+++ pacemaker/cts/CTSaudits.py
@@ -67,10 +67,8 @@ class LogAudit(ClusterAudit):
for node in nodes:
if self.CM.Env["have_systemd"]:
- if self.CM.rsh(node, "systemctl stop systemd-journald.socket") != 0:
- self.CM.log ("ERROR: Cannot stop 'systemd-journald' on %s" % node)
- if self.CM.rsh(node, "systemctl start systemd-journald.service") != 0:
- self.CM.log ("ERROR: Cannot start 'systemd-journald' on %s" % node)
+ if self.CM.rsh(node, "systemctl restart systemd-journald.socket") != 0:
+ self.CM.log ("ERROR: Cannot restart 'systemd-journald' on %s" % node)
if self.CM.rsh(node, "service %s restart" % self.CM.Env["syslogd"]) != 0:
self.CM.log ("ERROR: Cannot restart '%s' on %s" % (self.CM.Env["syslogd"], node))

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 26 16:20:25 UTC 2016 - ygao@suse.com
- cts: Restart systemd-journald with "systemctl restart systemd-journald.socket" (bsc#995365)
* bug-995365_pacemaker-cts-restart-systemd-journald.patch
-------------------------------------------------------------------
Fri Jul 8 09:58:46 UTC 2016 - ygao@suse.com

View File

@ -55,6 +55,7 @@ Patch6: bug-812269_pacemaker-fencing-device-register-messages.patch
Patch7: pacemaker-Wno-format-signedness.patch
Patch8: bug-943295_pacemaker-lrmd-log-notice.patch
Patch9: bug-977201_pacemaker-controld-self-fencing.patch
Patch10: bug-995365_pacemaker-cts-restart-systemd-journald.patch
# Required for core functionality (python-devel depends on python)
BuildRequires: autoconf
BuildRequires: automake
@ -262,6 +263,7 @@ manager for Corosync, CMAN and/or Linux-HA.
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%build
autoreconf -fvi