New version 1.2.64
[ctdb.git] / packaging / RPM / ctdb.spec.in
index f87a51cbfe4f1332ac79978f83bddf4abd8c2f9c..1a5ccfcdf8ba9ab989f3b1addc347d99000b70d3 100644 (file)
@@ -3,7 +3,7 @@ Name: ctdb
 Summary: Clustered TDB
 Vendor: Samba Team
 Packager: Samba Team <samba@samba.org>
-Version: 1.2.41
+Version: 1.2.64
 Release: 1GITHASH
 Epoch: 0
 License: GNU GPL version 3
@@ -12,8 +12,12 @@ URL: http://ctdb.samba.org/
 
 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}
 
@@ -63,6 +67,7 @@ rm -rf $RPM_BUILD_ROOT
 # 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
 
@@ -88,12 +93,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
@@ -112,8 +120,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_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
@@ -144,6 +154,87 @@ development libraries for ctdb
 %{_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