[Linux-ha-dev] cl_status, api_test, multicast: non-Linux

Alan Robertson alanr at unix.sh
Thu Sep 30 21:48:05 MDT 2004


Matthew Berg wrote:
> On Thu, 2004-09-30 at 06:53, David Lee wrote:
> 
> 
>>Got it!!
>>
>>The patch below (1.2.3 baseline) lets "cl_status" and "api_test" come to
>>completion (of some sort at least, and swiftly) rather than hang forever.
>>
>>======================== snip ====================
>>--- lib/clplumbing/ipcsocket.c.orig	2004-09-17 06:34:39.000000000 +0100
>>+++ lib/clplumbing/ipcsocket.c	2004-09-30 10:52:54.241589000 +0100
>>@@ -1904,6 +1904,14 @@
>> static int
>> socket_verify_auth(struct IPC_CHANNEL* ch, struct IPC_AUTH * auth_info)
>> {
>>+	if (ch == NULL || ch->ch_private == NULL) {
>>+		return IPC_FAIL;
>>+	}
>>+	if (auth_info == NULL
>>+	||	(auth_info->uid == NULL && auth_info->gid == NULL)) {
>>+		return IPC_OK;	/* no restriction for authentication */
>>+	}
>>+
>> 	return IPC_FAIL;
>> }


If this change made a difference, then the code which Andrew wrote for OSX 
isn't enabled.  I had the definite impression that it should work for Solaris.

Hmmm...

Maybe it just isn't getting turned on right...

-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me claim 
from you at all times your undisguised opinions." - William Wilberforce


More information about the Linux-HA-Dev mailing list