Summary: Clustered TDB
Vendor: Samba Team
Packager: Samba Team <samba@samba.org>
-Version: 1.2.29
+Version: 1.2.64
Release: 1GITHASH
Epoch: 0
License: GNU GPL version 3
Source: ctdb-%{version}.tar.gz
-Prereq: /bin/mktemp /usr/bin/killall
-Prereq: fileutils sed /etc/init.d
+# Packages
+Requires: coreutils, sed, gawk, iptables, iproute, procps, ethtool, sudo
+# Commands - package name might vary
+Requires: /usr/bin/killall, /bin/kill, /bin/netstat
+# Directories
+Requires: /etc/init.d
Provides: ctdb = %{version}
# Create the target build directory hierarchy
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sudoers.d
make DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir} install
%config(noreplace) %{_sysconfdir}/sysconfig/ctdb
%config(noreplace) %{_sysconfdir}/ctdb/notify.sh
+%config(noreplace) %{_sysconfdir}/ctdb/debug-hung-script.sh
%config(noreplace) %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh
+%config(noreplace) %{_sysconfdir}/ctdb/gcore_trace.sh
%config(noreplace) %{_sysconfdir}/ctdb/functions
%attr(755,root,root) %{initdir}/ctdb
%{_docdir}/ctdb/README.eventscripts
%{_docdir}/ctdb/recovery-process.txt
+%{_sysconfdir}/sudoers.d/ctdb
%{_sysconfdir}/ctdb/events.d/00.ctdb
%{_sysconfdir}/ctdb/events.d/01.reclock
%{_sysconfdir}/ctdb/events.d/10.interface
%{_sysconfdir}/ctdb/events.d/91.lvs
%{_sysconfdir}/ctdb/statd-callout
%{_sysconfdir}/ctdb/interface_modify.sh
+%{_sysconfdir}/ctdb/debug_locks.sh
%{_sbindir}/ctdbd
%{_bindir}/ctdb
+%{_bindir}/ctdb_lockwait_helper
%{_bindir}/smnotify
%{_bindir}/ping_pong
%{_bindir}/ltdbtool
%{_libdir}/libctdb.a
%changelog
+
+* Thu Jun 20 2013 : Version 1.2.64
+ - Add configuration variables to maintain configured number of NFS threads
+ - Fix racy code in CTDB commandline tool for ipreallocate/sync
+ - Fix printing of node flags
+* Mon Jun 17 2013 : Version 1.2.63
+ - Sync tdb library version to 1.2.12
+* Mon Apr 22 2013 : Version 1.2.62
+ - Fix a bug where subsequent recoveries can corrupt databases
+ - Fix breakage when freeing log ringbuffer
+ - Add option to create PID file
+ - Check for process existence in service ctdb status instead of ctdb status
+ - Fix ctdb statisticsreset clearing num_clients
+* Fri Apr 05 2013 : Version 1.2.61
+ - Free message list header if all message handlers are freed
+ - Use tdb_parse_record instead of tdb_fetch to avoid memory leaks
+ - Set client socket to non-blocking only after connect succeeds
+ - Make sure statd-callout script is always run as root
+ - Use IP->node mapping info from nodes hosting that IP
+ - Pass CTDB daemon pid on command line to lockwait helper
+* Mon Mar 25 2013 : Version 1.2.60
+ - Do not set close_on_exec for stdio/stderr of child
+ - Check result from lockwait child
+ - Pass locking information on commandline to lockwait helper
+ - Allow for zero length key requests
+* Wed Mar 06 2013 : Version 1.2.59
+ - Do not send ipreallocated event to stopped nodes
+ - Do not fail "ctdb delip" command if IP cannot be moved
+ - Add an index db for faster searches of message handlers
+ - Scheule immediate events using tevent_schedule_immediate
+ - Optimize adding of new timer events (tevent library)
+ - Use standalone helper for locking a record
+* Tue Feb 19 2013 : Version 1.2.58
+ - Terminate traverse children when traverse operation times out
+ - Rewrite socket handling code to read all available data
+ - Remove call to "smbstatus -np" as part of periodic cleanup
+ - Free log ringbuffer in ctdb_fork() for child processes
+ - Use preallocation for pulldb buffer during recovery, instead of growing it
+* Thu Feb 07 2013 : Version 1.2.57
+ - Backport fetch lock collapse patches
+ - Backport debugging of hung eventscripts via external script
+* Wed Dec 02 2012 : Version 1.2.56
+ - When deadlock condition is detected, run extrnal script to log debugging information
+ - Use __db_sequence_number based recovery of persistent databases by default
+* Tue Nov 27 2012 : Version 1.2.55
+ - Do not ignore timed out monitor events
+ - Track nodes that fail takeover run and ban them
+ - For new interfaces mark the link up by default after startup
+ - In 10.interface eventscript use configured interaces to monitor
+ - Do not set the initial interface when adding new public address
+* Wed Oct 30 2012 : Version 1.2.54
+ - Protect against double free of active monitor callback state during shutdown
+ - Remove duplicate code to set tunables from initscript
+* Fri Oct 26 2012 : Version 1.2.53
+ - Initscript: backup corrupt non-persistent database before starting CTDB
+* Fri Oct 05 2012 : Version 1.2.52
+ - util: ctdb_fork() closes all sockets opened by the main daemon
+* Tue Oct 02 2012 : Version 1.2.51
+ - NATGW eventscript does not fail on recovered in case of misconfiguration
+ - Map TEVENT_DEBUG_FATAL to DEBUG_CRIT
+* Wed Sep 12 2012 : Version 1.2.50
+ - Add utility function to dump core and use it for "unknown family, 0" error
+* Tue Aug 21 2012 : Version 1.2.49
+ - logging: Close unix socket /tmp/ctdb.socket in syslogd process
+ - Initscript: Kill any existing ctdbd processes if the ping succeeds
+* Thu Aug 08 2012 : Version 1.2.48
+ - Fix missing set_proc() in policy routing
+* Thu Aug 08 2012 : Version 1.2.47
+ - Add reconfigure event for policy routing
+* Tue Jul 24 2012 : Version 1.2.46
+ - Default route on NAT gateway should have a metric of 10
+* Thu Jul 12 2012 : Version 1.2.45
+ - Robust removal of rogue public IPs
+* Fri Jun 29 2012 : Version 1.2.44
+ - improvements to the policy routing support
+* Thu Mar 29 2012 : Version 1.2.43
+ - Add CTDB_CONTROL_CHECK_SRVID control
+* Mon Mar 12 2012 : Version 1.2.42
+ - Allow non-readonly database UPDATE_RECORD to create non-existing records
+ or else net command and the registry breaks.
+ S1035666
+* Tue Mar 6 2012 : Version 1.2.41
+ - rewrite of 13.per_ip_routing script
+ - readonly record bugfixes
+ - add statistics for readonly delegations and revokes
+* Mon Feb 6 2012 : Version 1.2.40
+ - Fix for LCP2 failure to balance uneven netgroups
+ - Add ReadOnly record support
+* Thu Nov 17 2011 : Version 1.2.39
+ - Handle canceled monitor events better, dont assume they are always status==OK
+* Mon Oct 17 2011 : Version 1.2.38
+ - When adding a new ip, release it from the current node so it gets rebalanced : S1031575
+ - fix autostop for 50.samba eventscript : S1031552
+* Thu Oct 13 2011 : Version 1.2.37
+ - updates to ctdb-diagnostics
+* Thu Sep 22 2011 : Version 1.2.36
+ - Fix for delip failing to delete the ip drom the interface
+ S1028798
+* Thu Sep 8 2011 : Version 1.2.35
+ - Drop loglevel for a tevent warning from critical to error : S1028400
+ - Add new tunable : AllowClientDBAttach to allow different / new approach to concurrent upgrade
+* Fri Aug 26 2011 : Version 1.2.34
+ - Workaround for external startup issue for samba S1028573
+ - Workaround for linux netstat bug S1024874
+* Mon Aug 15 2011 : Version 1.2.33
+ - Activate LCP2 by default
+ - LVS change to make the persistence timer longer
+ - Eventscripts: weaken the TCP checking if we have just started S1024874
+ - I/O queue buffer bug fix
+ - Remove log messages S1026357, S1026492
+ - 10.interface dont check orphaned interfaces
+* Fri Jul 29 2011 : Version 1.2.32
+ - Add new LCP2 ip allocation algorithm
+ - Two fixes for 'ctdb delip ...' CQ S1026664 CQ S10226179
+* Mon Jul 11 2011 : Version 1.2.31
+ - Add extra logging to the debug commands "wipedb" and "backupdb"
+ - Try numips+5 times when rebalancing ips.
+ - Change the name for hte key where we store the public address config.
+ S1019030
+ - Remove benign log message
+ S1024495
+ - Fix that 'onnode con ...' works
+ S1024277
+ - Add extra debug to netstat to capture a bug where samba drops off the
+ netstat output.
+ S1024874
+* Mon May 30 2011 : Version 1.2.30
+ - Add LDBTOOL
+ - workaround funky vlan issue with kernel dropping routes
+ S1023538
+ - remove collection of gpfs data from ctdb-diagnostics
+ S1023524
* Tue May 10 2011 : Version 1.2.29
- Add workaround to RHEL5.5 kernel bug with how it reports bond interface
status when mode 4 is used.