SNMP agent hbagent from pacemaker-mgmt produces segmentation fault if used with pacemaker>=1.1.8 and corosync.
 
The reason is function get_cib_fd in file hbagentv2.c.
It tries to get the file descriptor with function pointer inputfd, which is not initialized any more since change of IPC to libqb.
 
The patch uses the already present conditional define HAVE_CRM_IPC_NEW to get the file descriptor from function signon_raw and passes this as return value of get_cib_fd.
 
Rainer
 

Attachment: hbagentv2.c.patch
Description: Binary data

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to