HomeClusterLabs Projects

Fix: libcrmcommon: export logfile environment variable if using default

Description

Fix: libcrmcommon: export logfile environment variable if using default

When not explicitly specifying a log, Pacemaker before 2.0.0 would set the
logfile environment variables when checking the corosync configuration for
logging options. Since Pacemaker 2 does not use corosync's logging options
anymore, this step was skipped. However, some resource agents relied on the
environment variables to enable logging, so this introduced a regression.

This fixes it by exporting the default log name when (successfully) used.

Details

Provenance
kgaillotAuthored on May 30 2019, 5:38 AM
Parents
rPc34003d30cc7: Merge pull request #1789 from jnpkrn/2.0-singly-sources-api-schemas
Branches
Unknown
Tags
Unknown

Event Timeline