[SCM] CTDB repository - branch master updated -
ctdb-1.0.81-23-g82ee458
Ronnie Sahlberg
sahlberg at samba.org
Wed May 13 22:27:39 GMT 2009
The branch, master has been updated
via 82ee458329968001bb03b2aec42e65f532f007b3 (commit)
via fcd6226a6c00cf657532aa76804bfe029df21ba6 (commit)
from b7ed7fd4a5fbd344d41caa1afa100b1f24506173 (commit)
http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 82ee458329968001bb03b2aec42e65f532f007b3
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Thu May 14 08:55:40 2009 +1000
new version 1.0.82
commit fcd6226a6c00cf657532aa76804bfe029df21ba6
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Thu May 14 08:55:05 2009 +1000
use scope host when adding the interface to loopback so we dont respond to ARPs for this ip
-----------------------------------------------------------------------
Summary of changes:
config/events.d/11.natgw | 9 ++++++++-
packaging/RPM/ctdb.spec | 16 +++++++++++++++-
2 files changed, 23 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/config/events.d/11.natgw b/config/events.d/11.natgw
index 3da60d8..8a71c86 100644
--- a/config/events.d/11.natgw
+++ b/config/events.d/11.natgw
@@ -28,6 +28,13 @@ delete_all() {
}
case $cmd in
+ startup)
+ # do not respond to ARPs that are for ip addresses with scope 'host'
+ echo 3 > /proc/sys/net/ipv4/conf/all/arp_ignore
+ # do not send out arp requests from loopback addresses
+ echo 2 > /proc/sys/net/ipv4/conf/all/arp_announce
+ ;;
+
recovered)
MYPNN=`ctdb pnn | cut -d: -f2`
NATGWMASTER=`ctdb natgwlist | head -1`
@@ -50,7 +57,7 @@ case $cmd in
# We do this so that the ip address will exist on a
# non-loopback interface so that samba may send it along in the
# KDC requests.
- ip addr add $CTDB_NATGW_PUBLIC_IP_HOST dev lo
+ ip addr add $CTDB_NATGW_PUBLIC_IP_HOST dev lo scope host
ip route add 0.0.0.0/0 via $NATGWIP metric 10
fi
diff --git a/packaging/RPM/ctdb.spec b/packaging/RPM/ctdb.spec
index ba8de45..ef2f71e 100644
--- a/packaging/RPM/ctdb.spec
+++ b/packaging/RPM/ctdb.spec
@@ -4,7 +4,7 @@ Summary: Clustered TDB
Vendor: Samba Team
Packager: Samba Team <samba at samba.org>
Name: ctdb
-Version: 1.0.81
+Version: 1.0.82
Release: 1
Epoch: 0
License: GNU GPL version 3
@@ -132,6 +132,20 @@ fi
%{_libdir}/pkgconfig/ctdb.pc
%changelog
+* Thu May 14 2009 : Version 1.0.82
+ - Update the "ctdb lvsmaster" command to return -1 on error.
+ - Add a -Y flag to "ctdb lvsmaster"
+ - RHEL5 apache leaks semaphores when crashing. Add semaphore cleanup to the
+ 41.httpd eventscript and try to restart apache when it has crashed.
+ - Fixes to some tests
+ - Add a -o option to "onnode" which will redirect all stdout to a file for
+ each of the nodes.
+ - Add a natgw and a lvs node specifier to onnode so that we can use
+ "onnode natgw ..."
+ - Assign the natgw address to lo instead of the private network so it can also
+ be used where private and public networks are the same.
+ - Add GPL boilerplates to two missing scripts.
+ - Change the natgw prefix NATGW_ to CTDB_NATGW_
* Fri May 8 2009 : Version 1.0.81
- use smbstatus -np instead of smbstatus -n in the 50.samba eventscript
since this avoids performing an expensive traverse on the locking and brlock
--
CTDB repository
More information about the samba-cvs
mailing list