[Linux-HA] Heartbeat Signon Fails when called in a client thread..

Salman, Basith Basith.Salman at ca.com
Wed Jun 23 13:02:22 MDT 2004


Signon to HB fails (although the error code from sigon is HA_OK) when
called from a client thread as the client threads parent PID is
compared with the thread id (from getsockopt's PEERCRED option), this is so on 2.4.21-4.0.1.EL linux kernel (redhat).

I believe this has been discussed earlier and is a kernel bug fixed in subsequent kernels (can some one tell me the level of kernel that this fix was dropped into),  

However,Since this is an issue with us working on OpenDLM I was wondering if this auth check for the pid could be ifdeffed out from open HB source as below in hb_api.c as:

diff hb_api.c.orig hb_api.c
1312a1313
> #ifdef        FARSIDE_PID_CHECK
1322a1324
> #endif

Thanks.
-basith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.community.tummy.com/pipermail/linux-ha/attachments/20040623/b236cd84/attachment.htm


More information about the Linux-HA mailing list