Hello. I was also having trouble with the apcmastersnmp stonith module in heartbeat 1.2.3-9sarge3. There are a couple small patches in the linux-ha CVS that resolve the issue for me (see below).
This bug should affect any stonith module that opens file descriptors and expects them to remain open upon subsequent calls into the module. So I know this solves the bug I'm seeing in apcmastersnmp, it /may/ affect other modules as well. The patches in CVS: Remove file descriptor closing loop from hb_setup_child: http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/heartbeat/heartbeat.c?only_with_tag=STABLE_1_2&r2=1.291.2.22&r1=1.291.2.21 With this patch, only the bits related to moving the definitition of: struct rlimit oflimits; int j; http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/heartbeat/heartbeat.c?only_with_tag=STABLE_1_2&r2=1.291.2.21&r1=1.291.2.20 Moved the "close loop" to the very first thing in main(): http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/heartbeat/heartbeat.c?only_with_tag=STABLE_1_2&r2=1.291.2.20&r1=1.291.2.19 Despite requiring 3 patches, the total number of lines changed is around 10. Any chance of this making it into stable? I hate the idea of having to patch heartbeat upon every security update. :( Thanks! -- Steve Feehan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

