File ibmhmc.patch of Package cluster-glue.8576
commit 27e836926abc647871e98e399f1db86e6d53546a
Author: Gao,Yan <ygao@suse.com>
Date: Fri Jul 6 14:57:57 2018 +0200
Fix: stonith:ibmhmc: Add "managedsyspat" and "password" as supported parameters
So that the stonith agent correctly receives parameters from environment
variables.
diff --git a/lib/plugins/stonith/ibmhmc.c b/lib/plugins/stonith/ibmhmc.c
index 5e185364..71ad9456 100644
--- a/lib/plugins/stonith/ibmhmc.c
+++ b/lib/plugins/stonith/ibmhmc.c
@@ -320,7 +320,7 @@ ibmhmc_hostlist(StonithPlugin *s)
static const char * const *
ibmhmc_get_confignames(StonithPlugin* p)
{
- static const char * names[] = {ST_IPADDR, NULL};
+ static const char * names[] = {ST_IPADDR, ST_MANSYSPAT, ST_PASSWD, NULL};
if (Debug) {
LOG(PIL_DEBUG, "%s: called.", __FUNCTION__);
}