[SCM] CTDB repository - branch ipv6-test updated -
12bc85c90a640a72ff538c003eb81da9dd1f2e3f
Ronnie Sahlberg
sahlberg at samba.org
Thu Aug 21 23:31:39 GMT 2008
The branch, ipv6-test has been updated
via 12bc85c90a640a72ff538c003eb81da9dd1f2e3f (commit)
from 4dfbfb4618433d9ed79ca1bdb1e2e51d96d4ee62 (commit)
http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=ipv6-test
- Log -----------------------------------------------------------------
commit 12bc85c90a640a72ff538c003eb81da9dd1f2e3f
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Fri Aug 22 09:25:47 2008 +1000
Do not fail the takeip event if the "ip addr add ..." command failed.
Let the event complete successfully. the local recovery daemon will check that we have the address and reissue takip othervise.
There are several reasons why "ip addr add " can fail, one is a misconfiguration
anothe ris that for ipv6 the stack is a lot more picky than for ipv4. for examplke this WILL fail in ipv6 if there is a duplicate ip address on the network.
thus this check could cause rolling-recoveries which is why it has to go
-----------------------------------------------------------------------
Summary of changes:
config/events.d/10.interface | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/config/events.d/10.interface b/config/events.d/10.interface
index 15e5561..4d07077 100755
--- a/config/events.d/10.interface
+++ b/config/events.d/10.interface
@@ -59,7 +59,6 @@ case $cmd in
}
/sbin/ip addr add $ip/$maskbits dev $iface || {
echo "Failed to add $ip/$maskbits on dev $iface"
- exit 1
}
# cope with the script being killed while we have the interface blocked
iptables -D INPUT -i $iface -d $ip -j DROP 2> /dev/null
--
CTDB repository
More information about the samba-cvs
mailing list