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 ?

Thanks
Alain
_______________________________________________
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