All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] Cman: Handle "another instance running" error code
@ 2011-01-06 10:28 Fabio M. Di Nitto
  2011-01-06 10:37 ` Fabio M. Di Nitto
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio M. Di Nitto @ 2011-01-06 10:28 UTC (permalink / raw)
  To: cluster-devel.redhat.com

From: Jan Friesse <jfriesse@redhat.com>

Related: rhbz#617247, rhbz#617234
---
 cman/cman_tool/join.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/cman/cman_tool/join.c b/cman/cman_tool/join.c
index 60460d5..caa5bf6 100644
--- a/cman/cman_tool/join.c
+++ b/cman/cman_tool/join.c
@@ -85,6 +85,12 @@ static const char *corosync_exit_reason(signed char status)
 	case 16:
 		return "Required directory not present /var/lib/corosync.";
 		break;
+	case 17:
+		return "Could not acquire lock";
+		break;
+	case 18:
+		return "Another Corosync instance is already running";
+		break;
 	default:
 		sprintf(reason, "Error, reason code is %d", status);
 		return reason;
-- 
1.7.2.3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Cluster-devel] [PATCH] Cman: Handle "another instance running" error code
  2011-01-06 10:28 [Cluster-devel] [PATCH] Cman: Handle "another instance running" error code Fabio M. Di Nitto
@ 2011-01-06 10:37 ` Fabio M. Di Nitto
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio M. Di Nitto @ 2011-01-06 10:37 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Re-iterating the patch for ACK to go in RHEL6.

Fabio

On 1/6/2011 11:28 AM, Fabio M. Di Nitto wrote:
> From: Jan Friesse <jfriesse@redhat.com>
> 
> Related: rhbz#617247, rhbz#617234
> ---
>  cman/cman_tool/join.c |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/cman/cman_tool/join.c b/cman/cman_tool/join.c
> index 60460d5..caa5bf6 100644
> --- a/cman/cman_tool/join.c
> +++ b/cman/cman_tool/join.c
> @@ -85,6 +85,12 @@ static const char *corosync_exit_reason(signed char status)
>  	case 16:
>  		return "Required directory not present /var/lib/corosync.";
>  		break;
> +	case 17:
> +		return "Could not acquire lock";
> +		break;
> +	case 18:
> +		return "Another Corosync instance is already running";
> +		break;
>  	default:
>  		sprintf(reason, "Error, reason code is %d", status);
>  		return reason;



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-06 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-06 10:28 [Cluster-devel] [PATCH] Cman: Handle "another instance running" error code Fabio M. Di Nitto
2011-01-06 10:37 ` Fabio M. Di Nitto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.