21 lines
1.1 KiB
Diff
21 lines
1.1 KiB
Diff
Index: pacemaker-2.1.6+20231030.66cc0f083/python/pacemaker/_cts/audits.py
|
|
===================================================================
|
|
--- pacemaker-2.1.6+20231030.66cc0f083.orig/python/pacemaker/_cts/audits.py
|
|
+++ pacemaker-2.1.6+20231030.66cc0f083/python/pacemaker/_cts/audits.py
|
|
@@ -80,13 +80,9 @@ class LogAudit(ClusterAudit):
|
|
|
|
for node in nodes:
|
|
if self._cm.env["have_systemd"]:
|
|
- (rc, _) = self._cm.rsh(node, "systemctl stop systemd-journald.socket")
|
|
+ (rc, _) = self._cm.rsh(node, "systemctl restart systemd-journald.socket")
|
|
if rc != 0:
|
|
- self._cm.log("ERROR: Cannot stop 'systemd-journald' on %s" % node)
|
|
-
|
|
- (rc, _) = self._cm.rsh(node, "systemctl start systemd-journald.service")
|
|
- if rc != 0:
|
|
- self._cm.log("ERROR: Cannot start 'systemd-journald' on %s" % node)
|
|
+ self._cm.log("ERROR: Cannot restart 'systemd-journald' on %s" % node)
|
|
|
|
(rc, _) = self._cm.rsh(node, "service %s restart" % self._cm.env["syslogd"])
|
|
if rc != 0:
|