Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
pacemaker.8750
pacemaker-fencing-ignore-empty-action.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-fencing-ignore-empty-action.patch of Package pacemaker.8750
commit 7b89ff8b65fcdcad55676578361080eb23edb3e4 Author: Ken Gaillot <kgaillot@redhat.com> Date: Thu Apr 6 16:56:52 2017 -0500 Low: fencing: ignore empty 'action' parameter in fence devices This makes the fix in 9c0c3d6 more comprehensive. diff --git a/fencing/commands.c b/fencing/commands.c index b4e6eb502..deec050f5 100644 --- a/fencing/commands.c +++ b/fencing/commands.c @@ -829,7 +829,10 @@ xml2device_params(const char *name, xmlNode *dev) crm_warn("%s has '%s' parameter, which should never be specified in configuration", name, STONITH_ATTR_ACTION_OP); - if (strcmp(value, "reboot") == 0) { + if (*value == '\0') { + crm_warn("Ignoring empty '%s' parameter", STONITH_ATTR_ACTION_OP); + + } else if (strcmp(value, "reboot") == 0) { crm_warn("Ignoring %s='reboot' (see stonith-action cluster property instead)", STONITH_ATTR_ACTION_OP);
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