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:
commit
d2dd863c71
17
bug-995365_pacemaker-cts-restart-systemd-journald.patch
Normal file
17
bug-995365_pacemaker-cts-restart-systemd-journald.patch
Normal 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))
|
@ -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
|
Fri Jul 8 09:58:46 UTC 2016 - ygao@suse.com
|
||||||
|
|
||||||
|
@ -55,6 +55,7 @@ Patch6: bug-812269_pacemaker-fencing-device-register-messages.patch
|
|||||||
Patch7: pacemaker-Wno-format-signedness.patch
|
Patch7: pacemaker-Wno-format-signedness.patch
|
||||||
Patch8: bug-943295_pacemaker-lrmd-log-notice.patch
|
Patch8: bug-943295_pacemaker-lrmd-log-notice.patch
|
||||||
Patch9: bug-977201_pacemaker-controld-self-fencing.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)
|
# Required for core functionality (python-devel depends on python)
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -262,6 +263,7 @@ manager for Corosync, CMAN and/or Linux-HA.
|
|||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
|
%patch10 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
|
Loading…
Reference in New Issue
Block a user