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: heartbeat by alan from
([email protected])
2. Linux-HA CVS: include by alan from
([email protected])
3. Linux-HA CVS: lib by alan from ([email protected])
4. Linux-HA CVS: lib by alan from ([email protected])
5. Linux-HA CVS: lib by sunjd from ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Sun, 18 Dec 2005 14:59:12 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: heartbeat by alan from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : alan
Host :
Project : linux-ha
Module : heartbeat
Dir : linux-ha/heartbeat
Modified Files:
config.c
Log Message:
Changed some comments generated when printing default values.
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/config.c,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -3 -r1.188 -r1.189
--- config.c 16 Dec 2005 02:11:59 -0000 1.188
+++ config.c 18 Dec 2005 21:59:12 -0000 1.189
@@ -1,4 +1,4 @@
-/* $Id: config.c,v 1.188 2005/12/16 02:11:59 gshi Exp $ */
+/* $Id: config.c,v 1.189 2005/12/18 21:59:12 alan Exp $ */
/*
* Parse various heartbeat configuration files...
*
@@ -864,7 +864,7 @@
}
if (wikiout) {
- printf("##Put this output in the ha.cf/DefaultDirectives"
+ printf("##Put this output in the ha.cf/DefaultValues"
" page\n");
printf("The [wiki:ha.cf ha.cf] directives with default"
" values are shown below - along with a brief description.\n");
@@ -2459,6 +2459,9 @@
/*
* $Log: config.c,v $
+ * Revision 1.189 2005/12/18 21:59:12 alan
+ * Changed some comments generated when printing default values.
+ *
* Revision 1.188 2005/12/16 02:11:59 gshi
* add an entry "env" to tell heartbeat to set environment variable
* change classic.c quorum module to majority.c
------------------------------
Message: 2
Date: Sun, 18 Dec 2005 15:02:39 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: include by alan from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : alan
Host :
Project : linux-ha
Module : include
Dir : linux-ha/include/clplumbing
Modified Files:
cl_log.h
Log Message:
Changed a message to be a debug instead of an info message
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/include/clplumbing/cl_log.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- cl_log.h 8 Nov 2005 06:27:38 -0000 1.25
+++ cl_log.h 18 Dec 2005 22:02:39 -0000 1.26
@@ -1,4 +1,4 @@
-/* $Id: cl_log.h,v 1.25 2005/11/08 06:27:38 gshi Exp $ */
+/* $Id: cl_log.h,v 1.26 2005/12/18 22:02:39 alan Exp $ */
/*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -27,6 +27,7 @@
struct IPC_CHANNEL;
+extern int debug_level;
#define ANYDEBUG (debug_level)
#define DEBUGDETAILS (debug_level >= 2)
#define DEBUGAUTH (debug_level >=3)
------------------------------
Message: 3
Date: Sun, 18 Dec 2005 15:02:39 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: lib by alan from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : alan
Host :
Project : linux-ha
Module : lib
Dir : linux-ha/lib/clplumbing
Modified Files:
ipctest.c realtime.c
Log Message:
Changed a message to be a debug instead of an info message
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/clplumbing/ipctest.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- ipctest.c 18 Aug 2005 05:09:40 -0000 1.42
+++ ipctest.c 18 Dec 2005 22:02:39 -0000 1.43
@@ -1,4 +1,4 @@
-/* $Id: ipctest.c,v 1.42 2005/08/18 05:09:40 alan Exp $ */
+/* $Id: ipctest.c,v 1.43 2005/12/18 22:02:39 alan Exp $ */
/*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -17,13 +17,13 @@
#undef _GNU_SOURCE /* in case it was defined on the command line */
#define _GNU_SOURCE
+#include <portability.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
-#include <stdio.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <glib.h>
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/clplumbing/realtime.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- realtime.c 22 Nov 2005 02:48:57 -0000 1.30
+++ realtime.c 18 Dec 2005 22:02:39 -0000 1.31
@@ -1,4 +1,4 @@
-/* $Id: realtime.c,v 1.30 2005/11/22 02:48:57 andrew Exp $ */
+/* $Id: realtime.c,v 1.31 2005/12/18 22:02:39 alan Exp $ */
/*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -211,7 +211,9 @@
}
# endif /*RLIMIT_MEMLOCK*/
if (mlockall(MCL_CURRENT|MCL_FUTURE) >= 0) {
- cl_log(LOG_INFO, "pid %d locked in memory.", (int) getpid());
+ if (ANYDEBUG) {
+ cl_log(LOG_DEBUG, "pid %d locked in memory.", (int)
getpid());
+ }
} else if(errno == ENOSYS) {
const char *err = strerror(errno);
------------------------------
Message: 4
Date: Sun, 18 Dec 2005 23:05:56 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: lib by alan from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : alan
Host :
Project : linux-ha
Module : lib
Dir : linux-ha/lib/plugins/lrm
Modified Files:
raexechb.c
Log Message:
Minor English phrasing changes.
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/plugins/lrm/raexechb.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- raexechb.c 20 Oct 2005 16:34:44 -0000 1.39
+++ raexechb.c 19 Dec 2005 06:05:55 -0000 1.40
@@ -280,8 +280,8 @@
if ( 0 == STRNCMP_CONST(op_type, "status") ) {
if (std_output == NULL ) {
- cl_log(LOG_WARNING, "The heartbeat RA may not to output
"
- "status string, such as 'running', to stdout.");
+ cl_log(LOG_WARNING, "The heartbeat RA did output"
+ " anything for status output to stdout.");
return EXECRA_UNKNOWN_ERROR; /* EXECRA_NOT_RUNNING ? */
}
lower_std_output = g_ascii_strdown(std_output, -1);
------------------------------
Message: 5
Date: Sun, 18 Dec 2005 23:18:10 -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:
raexechb.c
Log Message:
bug995: return EXECRA_NOT_RUNNING when no output
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/plugins/lrm/raexechb.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- raexechb.c 19 Dec 2005 06:05:55 -0000 1.40
+++ raexechb.c 19 Dec 2005 06:18:09 -0000 1.41
@@ -282,7 +282,7 @@
if (std_output == NULL ) {
cl_log(LOG_WARNING, "The heartbeat RA did output"
" anything for status output to stdout.");
- return EXECRA_UNKNOWN_ERROR; /* EXECRA_NOT_RUNNING ? */
+ return EXECRA_NOT_RUNNING;
}
lower_std_output = g_ascii_strdown(std_output, -1);
------------------------------
_______________________________________________
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 40
********************************************