New version 1.2.20
[sahlberg/ctdb.git] / packaging / RPM / ctdb.spec.in
index 9101f80c0728e8c78804a8cd1af3fae99775ca3b..67003e277d8759e1ed11e10c62b72cd95d3c4e3e 100644 (file)
@@ -1,10 +1,9 @@
 %define initdir %{_sysconfdir}/init.d
-
+Name: ctdb
 Summary: Clustered TDB
 Vendor: Samba Team
 Packager: Samba Team <samba@samba.org>
-Name: ctdb
-Version: 1.0.113
+Version: 1.2.20
 Release: 1GITHASH
 Epoch: 0
 License: GNU GPL version 3
@@ -15,6 +14,7 @@ Source: ctdb-%{version}.tar.gz
 
 Prereq: /bin/mktemp /usr/bin/killall
 Prereq: fileutils sed /etc/init.d
+Prereq: /usr/bin/tdbdump /usr/bin/tdbtool
 
 Provides: ctdb = %{version}
 
@@ -27,6 +27,8 @@ ctdb is the clustered database used by samba
 
 #######################################################################
 
+
+
 %prep
 %setup -q
 # setup the init script and sysconfig file
@@ -87,6 +89,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %config(noreplace) %{_sysconfdir}/sysconfig/ctdb
 %config(noreplace) %{_sysconfdir}/ctdb/notify.sh
+%config(noreplace) %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh
 %config(noreplace) %{_sysconfdir}/ctdb/functions
 %attr(755,root,root) %{initdir}/ctdb
 
@@ -95,6 +98,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_sysconfdir}/ctdb/events.d/00.ctdb
 %{_sysconfdir}/ctdb/events.d/01.reclock
 %{_sysconfdir}/ctdb/events.d/10.interface
+%{_sysconfdir}/ctdb/events.d/13.per_ip_routing
 %{_sysconfdir}/ctdb/events.d/11.natgw
 %{_sysconfdir}/ctdb/events.d/11.routing
 %{_sysconfdir}/ctdb/events.d/20.multipathd
@@ -103,10 +107,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_sysconfdir}/ctdb/events.d/41.httpd
 %{_sysconfdir}/ctdb/events.d/50.samba
 %{_sysconfdir}/ctdb/events.d/60.nfs
-%{_sysconfdir}/ctdb/events.d/61.nfstickle
+%{_sysconfdir}/ctdb/events.d/60.ganesha
+%{_sysconfdir}/ctdb/events.d/62.cnfs
 %{_sysconfdir}/ctdb/events.d/70.iscsi
 %{_sysconfdir}/ctdb/events.d/91.lvs
 %{_sysconfdir}/ctdb/statd-callout
+%{_sysconfdir}/ctdb/interface_modify.sh
 %{_sbindir}/ctdbd
 %{_bindir}/ctdb
 %{_bindir}/smnotify
@@ -116,13 +122,138 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/ctdb.1.gz
 %{_mandir}/man1/ctdbd.1.gz
 %{_mandir}/man1/onnode.1.gz
-%{_includedir}/ctdb.h
-%{_includedir}/ctdb_private.h
 %{_libdir}/pkgconfig/ctdb.pc
 
 %{_docdir}/ctdb/tests/bin/ctdb_transaction
 
+%package devel
+Summary: CTDB developmnet libraries
+Group: Development
+
+%description devel
+development libraries for ctdb
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/ctdb.h
+%{_includedir}/ctdb_client.h
+%{_includedir}/ctdb_protocol.h
+%{_includedir}/ctdb_private.h
+%{_includedir}/ctdb_typesafe_cb.h
+%{_libdir}/libctdb.a
+
 %changelog
+* Tue Feb 8 2011 : Version 1.2.20
+ - Make addip command more robust for "slow" systems.
+* Mon Jan 31 2011 : Version 1.2.19
+ - Extra logging to show why CTDB dont start if it is in STOPPED state
+   CQ S1021747
+ - Collapse all DMASTER migration requests on one single dmaster node for a record into one single lockwait child.
+   CQ S1021584
+* Wed Jan 18 2011 : Version 1.2.18
+ - Fix for a deadlock in the TDB library, causing "Time Jumped" error messages
+   and hung CTDBD process.
+* Mon Jan 17 2011 : Version 1.2.17
+ - Updates to the event logging from Christian.
+ - Libctdb : traverse support
+ - Updates to the event logging by adding internal ticker.
+ - Addip/Delip/Moveip : make more robust by adding retry if failure
+ - Dont ban nodes for ipreallocation failures, being unhealthy is sufficient
+ - NFS eventscripts : lower the fail/restart limits
+ - Eventscript restart : only restart on monitor event.
+ - Libctdb crash issue from Mike Anderson
+ - chante daemon back to real-time process to handle high load better and reduce
+   time jumped messages.
+ - nfs eventscript : skip checking statd when running on SLES systems
+* Wed Dec 22 2010 : Version 1.2.16
+ - 50.samba  dont run serverid wipe in the background in case it
+   is so slow to start that samba manages to come up before it finishes.
+ - 60.nfs  wait 10 intervals before trying to restart lockd.
+   flag the node unhealthy after 15 failures.
+   CQ S1021266
+ - 41.httpd  httpd can sometimes be slow, wait 5 intervals before we try to
+   restart it and 10 intervals before we flag the node unhealthy.
+* Mon Dec 13 2010 : Version 1.2.15
+ - Add two new debugging commands "ctdb readkey/writekey"
+ - idtree overflow bugfix
+ - only run "serverid wipe" when we are actually running samba
+ - libctdb, add roper input queueing so we can support calling
+   sync functions from an async callback
+ - lvs updates
+ - addip, always wait across at least one ip reallocation, making the
+   command slower, but making it easier to use in scripts
+* Mon Dec 6 2010 : Version 1.2.14
+ - detect when ip allocation is inconsistent and some hosts show -1
+   as the node for the ip.
+   cq s1021073
+ - nfs ganesha support in eventscripts
+ - remove lacount/laccessor from the ltdb header
+* Fri Dec 3 2010 : Version 1.2.13
+ - Fix a bug with the script autostart feature.
+   Dont try to start samba during the init event
+* Mon Nov 29 2010 : Version 1.2.12
+ - If we are no longer natgw master, tell winbind to recycle the socket.
+* Mon Nov 22 2010 : Version 1.2.11
+ - Fix bugs in the evenstcripts where we are supposed to automatically
+   start/stop services when CTDB_MANAGES_* changes, and we were not.
+ - Change 60.nfs to allow kNFSd to have been dead for quite a long time
+   before we flag the node as unehalthy and failover.
+* Mon Nov 15 2010 : Version 1.2.10
+ - Make sure to initialize the statistics start time to current time
+   instead of leaving it to point to start of epoch.
+   CQ : S1020838
+ - Create a new tunable DisableIPFailover that is used to tell ctdb
+   to not check any ip allocation at all and never do any failover
+   This can be used to stop/restart individual nodes without causing
+   any ip failovers to happen.
+* Tue Nov 2 2010 : Version 1.2.9
+ - Drop loglevels on several items and remove spam from the messages file
+ - Both nfs and nfslock can fail so restart both if there is a problem
+* Mon Oct 25 2010 : Version 1.2.8
+ - Allow samba to specify that a new database to attach to/ create
+   should use Jenkins3 hash :  CQ1019744
+* Mon Oct 18 2010 : Version 1.2.7
+ - Dont monitor GPFS filesystems in 62.cnfs
+ - If tdb_open() fails, print errno to make troubleshooting easier
+ - Try restarting RPC.LOCKD if it failed to start
+ - Remove a dbug message
+ - Make sure the statd state directory exists before trying to touch files in it.
+* Tue Oct 12 2010 : Version 1.2.6
+ - Move config.tdb handling into a function in 00.ctdb 
+ - Latency counters min/max/avg for all latency statistics
+ - Update default hash size to be 100001
+ - Check all bond devices, dont exit after the first one
+ - Change to useing the Jenkins hash for LMASTER selection
+ - Sync with TDB from upstream samba
+ - idtree fix for AIX
+ - remove some log messages
+ - add rolling statistics
+ - libctdb updates
+* Thu Sep 9 2010 : Version 1.2.5
+ - Suppress some VSFTPD warnings
+ - Make sure all STATD directories exist before we dereference them
+ - AIX socket fix
+ - Fix for a crash when we write a debug message after a memory allocation
+   fail. Fix the message and call ctdb_fatal() properly
+ - Move the state directory off /etc/ctdb and to /var/ctdb
+ - Natgw changes to allow "slave only" natgw members
+ - Fix "ctdb listnodes" so it works again.
+* Mon Aug 30 2010 : Version 1.2.4
+ - fix a bug in the ipreallocate eventscript handling
+ - remove a debug logentry
+* Mon Aug 30 2010 : Version 1.2.3
+ - finish moving CTDB off the udnerlying filesystem.
+   both tickles and statd information
+ - new infrastructure to support the above
+ - move configuration of public addresses into a config persistent database
+   (optionally)
+ - infrastructure for the above
+* Fri Aug 20 2010 : Version 1.2
+ - Initial version 1.2 release
+* Tue May 25 2010 : Version 1.9
+ - Lots of changes
+* Wed Mar 25 2010 : Version 1.0.114
+ - Lots of changes from Metze
 * Wed Jan 13 2010 : Version 1.0.113
  - Incorrect use of dup2() could cause ctdb to spin eating 100% cpu.
 * Tue Jan 12 2010 : Version 1.0.112