Send Linux-ha-cvs mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."
Today's Topics:
1. Linux-HA CVS: lib by sunjd from ([email protected])
2. Linux-HA CVS: lib by sunjd from ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Mon, 5 Dec 2005 07:54:32 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: lib by sunjd from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : sunjd
Host :
Project : linux-ha
Module : lib
Dir : linux-ha/lib/clplumbing
Modified Files:
ipcsocket.c
Log Message:
disable the logs to output
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/clplumbing/ipcsocket.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -3 -r1.163 -r1.164
--- ipcsocket.c 11 Nov 2005 20:39:44 -0000 1.163
+++ ipcsocket.c 5 Dec 2005 14:54:31 -0000 1.164
@@ -1,4 +1,4 @@
-/* $Id: ipcsocket.c,v 1.163 2005/11/11 20:39:44 gshi Exp $ */
+/* $Id: ipcsocket.c,v 1.164 2005/12/05 14:54:31 sunjd Exp $ */
/*
* ipcsocket unix domain socket implementation of IPC abstraction.
*
@@ -2091,7 +2091,7 @@
|| (size_t)n != sizeof(cred)) {
return IPC_FAIL;
}
-#if 1
+#if 0
cl_log(LOG_DEBUG, "SO_PEERCRED returned [%d, (%ld:%ld)]"
, cred.pid, (long)cred.uid, (long)cred.uid);
cl_log(LOG_DEBUG, "Verifying authentication: cred.uid=%d cred.gid=%d"
------------------------------
Message: 2
Date: Mon, 5 Dec 2005 08:15:09 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: lib by sunjd from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : sunjd
Host :
Project : linux-ha
Module : lib
Dir : linux-ha/lib/plugins/lrm
Modified Files:
raexecstonith.c
Log Message:
tweak log output
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/plugins/lrm/raexecstonith.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- raexecstonith.c 5 Sep 2005 03:02:29 -0000 1.12
+++ raexecstonith.c 5 Dec 2005 15:15:09 -0000 1.13
@@ -191,8 +191,11 @@
* variables. This is a important thing to think about and do.
*/
/* send the RA operation to stonithd to simulate a RA's actions */
- cl_log(LOG_DEBUG, "Will send the stonith RA operation to stonithd: "
- "%s %s", rsc_type, op_type);
+ if ( 0==STRNCMP_CONST(op_type, "start")
+ || 0==STRNCMP_CONST(op_type, "stop") ) {
+ cl_log(LOG_INFO, "STONITH device %s %s <rsc_id=%s>"
+ , rsc_type, op_type, rsc_id);
+ }
op = g_new(stonithRA_ops_t, 1);
op->ra_name = g_strdup(rsc_type);
@@ -206,14 +209,13 @@
exit(EXECRA_EXEC_UNKNOWN_ERROR);
}
- cl_log(LOG_DEBUG, "Waiting until the final result returned.");
/* May be redundant */
/*
while (stonithd_op_result_ready() != TRUE) {
;
}
*/
- cl_log(LOG_DEBUG, "Will call stonithd_receive_ops_result.");
+ /* cl_log(LOG_DEBUG, "Will call stonithd_receive_ops_result."); */
if (ST_OK != stonithd_receive_ops_result(TRUE)) {
cl_log(LOG_ERR, "stonithd_receive_ops_result failed.");
/* Need to improve the granularity for error return code */
@@ -228,14 +230,14 @@
g_free(op);
stonithd_signoff();
- cl_log(LOG_DEBUG, "stonithRA orignal exit code=%d", exit_value);
+ /* cl_log(LOG_DEBUG, "stonithRA orignal exit code=%d", exit_value); */
exit(map_ra_retvalue(exit_value, op_type, NULL));
}
static void
stonithRA_ops_callback(stonithRA_ops_t * op, void * private_data)
{
- cl_log(LOG_DEBUG, "setting exit code=%d", exit_value);
+ /* cl_log(LOG_DEBUG, "setting exit code=%d", exit_value); */
exit_value = op->op_result;
}
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 25, Issue 4
*******************************************