Cman: Handle "another instance running" error code
PATCH 1/1 Cman: Handle "another instance running" error code
From: Jan Friesse <[email protected]>
Related: rhbz#617247, rhbz#617234
--- cman/cman_tool/join.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
cman/cman_tool/join.c +6 -0
@@ -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;
Signature · 1 line
1.7.2.3
PATCH 1/1 Cman: Handle "another instance running" error code
Re-iterating the patch for ACK to go in RHEL6.
Fabio
Quoted 24 lines · Fabio M. Di Nitto
From: Jan Friesse <[email protected]>
Related: rhbz#617247, rhbz#617234
--- cman/cman_tool/join.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)cman/cman_tool/join.c +6
-0@@ -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;