HomeClusterLabs Projects

CTDB: fix OCF_RESKEY_ctdb_recovery_lock validation (bsc#1088692)

Description

CTDB: fix OCF_RESKEY_ctdb_recovery_lock validation (bsc#1088692)

ctdb supports '!' prefix syntax to use a helper binary for recovery
lock functionality. This currently fails the reclock path existence
check.
Add helper binary support by stripping the '!' prefix and trailing
helper binary parameters before checking for existence.

Signed-off-by: David Disseldorp <ddiss@suse.de>

Details

Provenance
David Disseldorp <ddiss@suse.de>Authored on Jul 25 2018, 4:48 PM
Parents
rR1ff4ce7cbe58: CTDB: explicitly use bash shell
Branches
Unknown
Tags
Unknown

Event Timeline