If /etc/ha.d/ha.cf contains crm on the Init-Script /etc/init.d/hearbeat fails to recognize it, and gives the following output: cat: /etc/ha.d/haresources: No such file or directory Which means that the init-script tried to start: /usr/lib/heartbeat/ResourceManager verifyallidle but that shouldnt happen if crm is enabled in ha.cf Reproducible: Always Steps to Reproduce: 1. set crm on in /etc/ha.d/ha.cf 2. run /etc/init.d/heartbeat start Actual Results: Output is: cat: /etc/ha.d/haresources: No such file or directory what it isn't supposed to do... Expected Results: Not start the ResourceManager, and use CRM instead Can be solved by editing /etc/inti.d/heartbeat as follows: # diff -N heartbeat heartbeat.save 38c38 < CheckBool "`ha_parameter crm`" || \ --- > CheckBool "`ha_parameter crm`" && \ together with Bug 155106 it seems as if all the || and && Operators were mixed up. [my first bug-report, hope everything is correct with it]
(In reply to comment #0) > [CUT] Hi Tobias, thanks for the details ;). I modified the init script. See bug 152776. Br, Davide Restivo
+ 18 Oct 2011; Kacper Kowalik <xarthisius@gentoo.org> -heartbeat-1.2.5.ebuild, + -heartbeat-1.2.5-r1.ebuild, -heartbeat-2.0.7-r2.ebuild, + -files/heartbeat-2.0.7-update-resources-failcount.patch, + -heartbeat-2.0.8.ebuild, -files/heartbeat-2.0.8-asneeded.patch, + -files/heartbeat-2.0.8-crm-assert.patch, + -files/heartbeat-2.0.8-crm-leaks.patch, -files/heartbeat-2.0.8-delay.patch, + -files/heartbeat-2.0.8-glibc.patch, -files/heartbeat-2.0.8-install_fix.patch, + -heartbeat-3.0.4-r1.ebuild: + Drop ancient and unusable versions of heartbeat-{1,2} since we have + heartbeat-3 stable