[Linux-HA] auto_failback syntax

Guochun Shi gshi at ncsa.uiuc.edu
Wed Aug 10 11:58:06 MDT 2005


At 01:19 PM 8/10/2005 -0400, you wrote:
>On Wed, Aug 10, 2005 at 10:39:38AM -0500, Guochun Shi wrote:
>> What version are you using?
>> 
>> "yes" and "on" should act like the same. What was not working right if you set it to "yes"? Any error message?
>> 
>> -Guochun
>
>This is an ipfail bug.  It just occurred to me that I check for the
>value of auto_failback and I'm looking for "on".
>
>Is it possible for heartbeat to sanitize the config options once they
>have been parsed?  It's awkward for clients to have to know all of the
>possible ways you can say 'True' for an option.
I remember this was reported before (?)

How about move str_to_boolean() in config.c to cl_plumbing/str2boolean.c so that a client have access to it?
int str_to_boolean(const char* value, int* boolean)

-Guochun



More information about the Linux-HA mailing list