[prev in list] [next in list] [prev in thread] [next in thread] 

List:       redhat-linux-cluster
Subject:    Re: [Linux-cluster] [PATCH] wrong strings in quorum disk registration.
From:       Patrick Caulfield <pcaulfie () redhat ! com>
Date:       2007-01-05 10:31:55
Message-ID: 459E291B.5040101 () redhat ! com
[Download RAW message or body]

Simone Gotti wrote:
> Hi all,
> 
> on the openais based cman-2.0.35-2.el5 the output of "cman_tool nodes"
> or "clustat" provides a wrong quorum device name:
> 
> [root@nodo01 ~]# cman_tool nodes
> Node  Sts   Inc   Joined               Name
>    0   X      0                        /dev/sdb1��
>    1   M      4   2007-01-05 13:03:18  nodo01
>    2   X      0                        nodo02
> 
> [root@nodo01 ~]# clustat
> /dev/sdb1�� not found
> realloc 924
> Member Status: Quorate
> 
>   Member Name                        ID   Status
>   ------ ----                        ---- ------
>   nodo01                                1 Online, Local
>   nodo02                                2 Offline
>   /dev/sdb1��                       0 Online, Estranged
> 
> 
> Looking at the code look like the call to info_call in
> cman_register_quorum_device passed a too small by one "inlen" argument
> missing the ending \0 of the device name string.
> I attached a patch the should fix this, I hope it's correct.
> 


Now committed to CVS

Thank very much.

-- 

patrick

--
Linux-cluster mailing list
Linux-cluster@redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic