Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yan_gao:branches:network:ha-clustering:Factory:Test
pacemaker
bug-995365_pacemaker-cts-restart-systemd-journa...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bug-995365_pacemaker-cts-restart-systemd-journald.patch of Package pacemaker
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:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor