File pacemaker-libservices-detect-in-flight-systemd-ops-kicking.patch of Package pacemaker.8397
commit b85037b75255061a41d0ec3fd9b64f271351b43e
Author: Ken Gaillot <kgaillot@redhat.com>
Date: Tue Feb 28 16:43:52 2017 -0600
Fix: libservices: properly detect in-flight systemd/upstart ops when kicking
diff --git a/lib/services/services.c b/lib/services/services.c
index 4aa4c014e..b41517d15 100644
--- a/lib/services/services.c
+++ b/lib/services/services.c
@@ -568,7 +568,8 @@ services_action_kick(const char *name, const char *action, int interval /* ms */
return FALSE;
}
- if (op->pid) {
+
+ if (op->pid || inflight_systemd_or_upstart(op)) {
return TRUE;
} else {
if (op->opaque->repeat_timer) {