HomeClusterLabs Projects
Diffusion SBD 8b823d13220c

Fix: sbd-inquisitor: take the defaults for the options set in sysconfig with…

Description

Fix: sbd-inquisitor: take the defaults for the options set in sysconfig with empty strings

Prior to 6c1c641, options used to be set in sbd.sysconfig template with
empty strings like:

SBD_PACEMAKER=

With invocations of sbd.sh by sbd.service, the defaults would be taken
with calls like:

: ${SBD_PACEMAKER:="true"}

But with that commit, for some of the options, either wrong values are
taken or parsing errors occur. This might break existing setups that get
upgraded with an old sysconfig.

Details

Provenance
gao-yanAuthored on Mar 5 2021, 10:11 AM
Parents
rS57b84b539b7a: Merge pull request #127 from gao-yan/segfault-no-command
Branches
Unknown
Tags
Unknown

Event Timeline