All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio M. Di Nitto <fabbione@fabbione.net>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] Cman: Handle "another instance running" error code
Date: Thu, 06 Jan 2011 11:37:30 +0100	[thread overview]
Message-ID: <4D259B6A.3010102@fabbione.net> (raw)
In-Reply-To: <1294309704-6096-1-git-send-email-fdinitto@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;



      reply	other threads:[~2011-01-06 10:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D259B6A.3010102@fabbione.net \
    --to=fabbione@fabbione.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.