The ebuilds I have reviewed install ldirectord in /usr/sbin to allow for stand
alone operation. However, ldirectord also has great utility when executed
directly from heartbeat. When heartbeat attempts to execute ldirectord, it only
looks in /etc/ha.d/resource.d and /etc/init.d. The ldirectord init file in
/etc/init.d is for standalone execution meaning that heartbeat does not execute
ldirectord properly.
When ldirectord is manually copied into /etc/ha.d/resource.d, heartbeat and
ldirectord interact properly. In fact, if you read up on the heartbeat man
pages, you will see that ldirectord is meant to be placed there with all the
other scripts that can be executed from heartbeat.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.