Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
pacemaker.16898
pacemaker-execd-handle-systemd-actions-correctl...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-execd-handle-systemd-actions-correctly-when-used-with-service.patch of Package pacemaker.16898
commit dc2ba07410614c5d4787115d8691122bb3a1d5c9 Author: Ken Gaillot <kgaillot@redhat.com> Date: Mon May 7 12:15:24 2018 -0500 Fix: execd: handle systemd actions correctly when used with "service:" Previously, this would incorrectly attempt to determine the standard of "service" rather than the resource type. That would lead to not properly waiting for starts and stops of systemd units to complete, and to logging a spurious warning for upstart jobs. Index: pacemaker-1.1.18+20180430.b12c320f5/lrmd/lrmd.c =================================================================== --- pacemaker-1.1.18+20180430.b12c320f5.orig/lrmd/lrmd.c +++ pacemaker-1.1.18+20180430.b12c320f5/lrmd/lrmd.c @@ -782,7 +782,7 @@ action_complete(svc_action_t * action) rsc = cmd->rsc_id ? g_hash_table_lookup(rsc_list, cmd->rsc_id) : NULL; if (rsc && safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_SERVICE)) { - rclass = resources_find_service_class(rsc->class); + rclass = resources_find_service_class(rsc->type); } else if(rsc) { rclass = rsc->class; }
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