[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: heartbeat by lge from

Alan Robertson alanr at unix.sh
Fri Oct 1 09:42:25 MDT 2004


linux-ha-cvs at lists.linux-ha.org wrote:
> linux-ha CVS committal
> 
> Author  : lge
> Host    : 
> Project : linux-ha
> Module  : heartbeat
> 
> Dir     : linux-ha/heartbeat/lib
> 
> 
> Modified Files:
> 	ResourceManager.in 
> 
> 
> Log Message:
> micro fixes
>  initialize logfacility = -1 in hb_cluster_new()
>  fix off by one error in media_idx range check in read_child_dispatch()
>  add commented out "not running" branch to we_own_resource() in ResourceManager.in 
> 
> ===================================================================
> RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/lib/ResourceManager.in,v
> retrieving revision 1.22
> retrieving revision 1.23
> diff -u -3 -r1.22 -r1.23
> --- ResourceManager.in	16 Apr 2004 19:01:00 -0000	1.22
> +++ ResourceManager.in	1 Oct 2004 13:10:34 -0000	1.23
> @@ -1,6 +1,6 @@
>  #!/bin/sh
>  #
> -#	$Id: ResourceManager.in,v 1.22 2004/04/16 19:01:00 gshi Exp $
> +#	$Id: ResourceManager.in,v 1.23 2004/10/01 13:10:34 lge Exp $
>  #
>  #	New haresources format:
>  #
> @@ -181,6 +181,9 @@
>    spath=`scriptpath $1`;
>  
>    case `$spath $arg status` in
> +    # uncomment next line if you have misbehaving scripts,
> +    # and you don't want to fix each single one of them...
> +    #  *not\ [Rr]unning*)	return 3;;
>      *[Rr]unning*|*OK*)	return 0;;
>      *)			return 3;;
>    esac

lge:

Why don't you just remove the commented out case above.  It really ought to 
work.  But, maybe change it to [Nn]ot [Rr]unning.

-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me claim 
from you at all times your undisguised opinions." - William Wilberforce



More information about the Linux-HA-Dev mailing list