Hi,

On Fri, Aug 27, 2010 at 04:03:33PM +0200, Alain.Moulle wrote:
> Hi,
> 
> in script IPaddr, in the ip_stop function where we have :
> 
> if [ `$ROUTE | grep $OCF_RESKEY_ip` ]
> 
> I suggest to change by :
> if [ `$ROUTE -n | grep $OCF_RESKEY_ip` ]
> 
> so that if name resolution (dns) is not responding, it does
> not prevent the ip_stop to run and the IP addr to be unconfigured .
> 
> I had fallen in this case ...
> And -n avoids the problem to occur.
> 
> Am I right ?

Suggestion accepted. Thanks for the information.

Cheers,

Dejan

> Thanks
> Alain
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to