Index: pacemaker-2.1.5+20230505.f342042ae/cts/lab/CTSaudits.py
===================================================================
--- pacemaker-2.1.5+20230505.f342042ae.orig/cts/lab/CTSaudits.py
+++ pacemaker-2.1.5+20230505.f342042ae/cts/lab/CTSaudits.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"])