Hi!
I found a problem with resource-agents-3.9.5-0.6.26.11 in SLES11 SP2:
Someone (not me!) wrote a resource agent that had the following line in it (it
took me quite some time to find that!):
source ${OCF_ROOT:-/usr/lib/ocf}/resource.d/heartbeat/.ocf-shellfuncs || exit 1
Unfortunately with the current resource agents the script always exits at that
point, while with the previous version it did not exit. I'm not willing to
comment the coding style, but I just wanted to point out the problem. When you
trace, you just see this:
---
++ ocf_is_true ''
++ case "$1" in
++ false
+ exit 1
---
Maybe there's a good reason why Perl modules all return true when being
loaded... ;-)
Regards,
Ulrich
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems