Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
pacemaker.13547
bug-1059187_pacemaker-libservice-systemd-servic...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bug-1059187_pacemaker-libservice-systemd-service-reloading-OK.patch of Package pacemaker.13547
commit 898d30113adc366854dbffd402962e9bcc6337ae Author: Patrick Hemmer <phemmer@chewy.com> Date: Tue Nov 29 13:56:44 2016 -0500 Low: libservices: treat systemd service reloading as OK Previously if pacemaker performed a monitor operation while a service was reloading, pacemaker treated it as if the service were stopped/failed. diff --git a/lib/services/systemd.c b/lib/services/systemd.c index e6e11147b..ea0136505 100644 --- a/lib/services/systemd.c +++ b/lib/services/systemd.c @@ -552,6 +552,8 @@ systemd_unit_check(const char *name, const char *state, void *userdata) } else if (g_strcmp0(state, "active") == 0) { op->rc = PCMK_OCF_OK; + } else if (g_strcmp0(state, "reloading") == 0) { + op->rc = PCMK_OCF_OK; } else if (g_strcmp0(state, "activating") == 0) { op->rc = PCMK_OCF_PENDING; } else if (g_strcmp0(state, "deactivating") == 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