1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

324 Commits

Author SHA1 Message Date
Amitay Isaacs
569da46e3c packaging: make ctdb-tests package depend on nc
Signed-off-by: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit d0b539c4d2d4dc8c9eb95801bff09c3bcbeebca5)
2012-05-25 15:25:29 +10:00
Ronnie Sahlberg
dce5969d12 Debug: When scripts hang, we may need to collect additional data in order to debug why the script hung.
Break this debug and datacollection out into an external script to make it easier to modify what data we need to collect.
For now we only collect a pstree so we can see what part of the script we hung in.

S1037271

(This used to be ctdb commit 6e68797af67bee36f2bad045f94806e7e98f27e9)
2012-05-17 10:29:03 +10:00
Martin Schwenke
17a6d1d975 Packaging: Improve dependencies
We don't strictly need gawk (i.e. could probably use nawk), but that
seems to provide /bin/awk on RHEL.

PreReq seems old-school.  We don't have an scriptlets, so nothing
needs to be installed before CTDB.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit e7ba0a30e7b7fe78e83e493128b349708cf0038a)
2012-05-11 10:33:27 +10:00
Martin Schwenke
0fa93a9613 Packaging: add options to ctdb.spec.in to force use of bundled libraries
Ideas borrowed from the Fedora samba4 spec file.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 14a630cbc638d2f3bf699de5d94131e5f7d1a3ea)
2012-05-11 10:33:27 +10:00
Martin Schwenke
469a5889de Packaging: devel package fixes
Group was non-existent, typo in summary.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit f0a14169883661a702a352aa0311a2b433071a83)
2012-05-11 10:33:27 +10:00
Martin Schwenke
9346a5364f Packaging: generate a ctdb-tests package
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 5c23244591b8005f91d8e25e719cd332c711db14)
2012-05-11 10:33:27 +10:00
Amitay Isaacs
cf41acf500 packaging: Setup directories for rpmbuild
Signed-off-by: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit 45773dab630ee44b39df0dd4b50f43fb1e7bb0ba)
2012-03-30 12:33:21 +11:00
Martin Schwenke
56d90e930d Eventscript support - Remove unused interface_modify.sh
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 994492f79275fe84155d842f6bc288c1858217dd)
2012-03-22 15:30:27 +11:00
Ronnie Sahlberg
1b97198519 New version 1.13
This will be the new long term stable branch for ctdb

Main new features are

read-only records: performance/scaling improvement for concurrent access to the same record from multiple nodes.

fetch-lock-collapse: performance/scaling improvement for concurrent write access to the same record from multiple nodes.

(This used to be ctdb commit 05e75dea9eaa0decc2909e0c2cf1715c81374200)
2012-03-01 12:36:03 +11:00
Ronnie Sahlberg
c3ee6e3dbd New version 1.12
* Tue Nov 8 2011 : Version 1.12
 - Add new tunable : AllowClientDBAttach that can be used to stop
   client db access during maintenance operations
 - Updated logging for interfaces that are missing or dont exist but are
   configured to be used.
 - Add timeout argument to ctdb_cmdline_client
 - PDMA support
 - Initial support for 'readonly' delegations for ctdb databases
   This will when finished greatly improve performance for contended hot
   records that are used for just read-access.
 - New 'ctdb cattdb' command
 - Massive updates to tests and eventscripts
 - LCP2 ip allocation algorithm
 - Record Fetch collapse. Collapse multiple fetch-lock requests from cients
   to a single network fetch and defer other concurrent requests until the
   initial fetch completes, and then service the deferred calls locally.
   This will greatly improve performance for contended hot records
   where clients request write-locks.

(This used to be ctdb commit bda24b7f313289404b68ce8b9177fbd6b6a05dd7)
2011-11-08 16:20:09 +11:00
Ronnie Sahlberg
4d80552317 New version 1.11
(This used to be ctdb commit ee9bf1565383bcca70950e9c20fe6b4d0181ce8d)
2011-09-01 12:30:00 +10:00
Ronnie Sahlberg
ee96db07d5 Add new eventscript 40.fs_use that can be used to monitor file system use and flag a node unhealthy when they become full
(This used to be ctdb commit 2fd1babf8135ad5d53f3b25ba823d840ebc66460)
2011-08-11 10:04:40 +10:00
Michael Adam
fe114ca5d5 packaging: honour rpm build target options handed in to makerpms.sh
This allows to call e.g. "makerpms.sh -bs" to build only the source RPM.

(This used to be ctdb commit c6bfba2bb66962b7b05d708f0747002700991472)
2011-07-22 15:48:27 +02:00
Mathieu Parent
4a43450968 Manpage for ping_pong
Signed-off-by: Michael Adam <obnox@samba.org>

(This used to be ctdb commit af75d3e37412e03d3978073edbe6dee78f265c3c)
2011-06-23 15:56:17 +02:00
Michael Adam
0b80a7618d packaging: add ltdbtool and its manpage to the RPM
(This used to be ctdb commit ce6409dc7d059701f0fe4b57e7c05c38c66629c5)
2011-05-04 14:40:13 +02:00
Michael Adam
26ab9c272f packaging: remove the dependency to tdbtool and tdbdump from the spec file
The init script does now check for the availability of tdbdump
and "tdbtool check" and issues warnings if they are not available.
This can remove a dependency loop with building samba RPMs.

(This used to be ctdb commit c7652c4038e012b7ef9bc1da352dd2c02d60dc29)
2011-04-05 13:58:09 +02:00
Ronnie Sahlberg
1df9ed58b0 Add 60.ganesha to what gets installed by make install as well as by the RPM
(This used to be ctdb commit 8a6da384f3fa08b1c5eba79d6febc7af7b3d9229)
2010-12-06 11:50:18 +11:00
Ronnie Sahlberg
25b65edf8b new version 1.10
(This used to be ctdb commit 401ad5bb3c4d2f34e34c4b61649c77391ac2f791)
2010-10-21 11:12:30 +11:00
Ronnie Sahlberg
3376d9e72a we no longer have a 61.nfstickle script
(This used to be ctdb commit 8909d3a10362a8e58ffd71bc4cd035c12c584157)
2010-08-30 18:22:28 +10:00
Ronnie Sahlberg
ccdb91a169 move the directives to build the devel file to the end of the specfile
so that the dependencies are right
or else the dependencies all end up in the devel package and not the main
ctdb package

(This used to be ctdb commit 6e4347eb8e62c28987820f6e58626271c900b011)
2010-08-23 16:00:19 +10:00
Rusty Russell
145b09c9a8 version: generate RPM version from git
This unifies our RPM version handling, based on tags.
1) Tags are of form ctdb-<version>.
2) The first <version> starts with .1.
3) Devel versions end with .0.<patchnum>.<checksum>.devel to reliably
   identify them.

This means that devel versions will correctly supersede releases and earlier
devels, but new releases will correctly supersede older devel RPMs.

Making a new release is as simple as creating a new git tag.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

(This used to be ctdb commit 44009e02a661d4a1e14246f650974fc4ed7a07c9)
2010-07-02 13:22:20 +10:00
Ronnie Sahlberg
bdbf7077e8 rename ccan/typesafe_cb.h to ctdb_typesafe_cb.h and
add this file to the install/rpm

(This used to be ctdb commit 96f186240a17386de1e02eb3af392d97bb55a1ae)
2010-06-02 09:18:48 +10:00
Ronnie Sahlberg
40c6535127 move the header files and libctdb.a out into a separate ctdb-devel rpm
(This used to be ctdb commit 3587df065669972a631ba08918df37536c9cb633)
2010-05-26 10:01:37 +10:00
Ronnie Sahlberg
0d46488f6e Merge commit 'rusty/libctdb2'
(This used to be ctdb commit d41b802250ddc0a89581eb6285edfd66bdc7a78a)
2010-05-25 12:48:49 +10:00
Ronnie Sahlberg
949fc096ed new version 1.9
(This used to be ctdb commit e553da6a060c9cd2514bdb888cf0e50d35572b88)
2010-05-25 12:47:15 +10:00
Rusty Russell
5db92ccd4d libctdb: Ronnie's build changes, so we actually build libctdb with make.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

(This used to be ctdb commit f02526486680db1473bdf10328e8f62a2590c745)
2010-05-20 15:57:40 +09:30
Rusty Russell
d5f6026a22 libctdb: reorganize headers: remove ctdb.h, add ctdb_client.h and ctdb_protocol.h
ctdb_client.h is the existing internal client interface (which was mainly
in ctdb.h), and ctdb_protocol.h is the information needed for the wire
protocol only.

ctdb.h will be the new, shiny, libctdb API.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

(This used to be ctdb commit 4bba6b8cd47b352f98d41f9f06258d5ac3c9adef)
2010-05-20 15:18:30 +09:30
Ronnie Sahlberg
1cb2b0b2d0 Add a new eventscript 62.cnfs to integrate better with gpfs/cnfs
(This used to be ctdb commit 4a679422dc231aa98605b9cc322e4ab442f7bde4)
2010-05-04 13:56:55 +10:00
Ronnie Sahlberg
4f191982ca add an example script that can be called from crontab to cleanup
and release public ip addresses if ctdbd is no longer running

(This used to be ctdb commit 1cdaaa0a3f53d1b075340a33dfdc42b534e99187)
2010-04-22 14:23:02 +10:00
Ronnie Sahlberg
8ed2e059f5 new version 1.0.114
(This used to be ctdb commit b07beb68bf2adf65e837669be0c7464852f829ac)
2010-03-24 17:21:10 +11:00
Michael Adam
df2ca26557 packaging: add tdbtool and tdbdump as dependencies to the RPM
The init script relies on the existence.
This should fix bug #6773 on bugzilla.samba.org:
https://bugzilla.samba.org/show_bug.cgi?id=6773

Michael

(This used to be ctdb commit 35e6aa1630732665deaed1e7fbf2c3bf6664895d)
2010-03-10 07:55:41 +01:00
Stefan Metzmacher
628ac65709 config: add 13.per_ip_routing event script
With this script it's possible to generate routing tables
per public ip address.

metze

(This used to be ctdb commit ff5678fbec2daef461143acf00cef3f94d7655fc)
2010-01-20 11:10:57 +01:00
Stefan Metzmacher
4493ba6ffa config: add interface_modify.sh and call it under flock to make modification on interfaces atomic
When two releaseip events run in parallel it's possible that the 2nd script
readds a secondary ip that was removed by the 1st script.

metze

(This used to be ctdb commit e02417b2a55c45ac2c125b1b3463c9c39e7bc07a)
2010-01-20 11:10:48 +01:00
Ronnie Sahlberg
f066939a62 new version 1.0.113
(This used to be ctdb commit 4bcb07c412260147cd926452287885d05b2344c1)
2010-01-13 07:12:08 +11:00
Martin Schwenke
91fba1e121 New version 1.0.112.
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 64ae8b0702cfdc44a778e0cc3705dd685f9f6ab0)
2010-01-12 21:07:45 +11:00
Ronnie Sahlberg
f34ba65d57 New version 1.0.111
(This used to be ctdb commit 484ae893f2179bebd0e2a2efe5f9619a39e48227)
2009-12-18 15:16:04 +11:00
Ronnie Sahlberg
01a0824288 Version 1.0.110
(This used to be ctdb commit 859e18db681dabe0990793d03f58e59a061aa8bb)
2009-12-18 12:32:58 +11:00
Ronnie Sahlberg
9b507abd6e version 1.0.109
(This used to be ctdb commit 99894a70fe2ebfe43daae7e88ff0fc9cab33e0fb)
2009-12-17 15:49:01 +11:00
Ronnie Sahlberg
2c80c91c87 version 1.0.108
(This used to be ctdb commit fff280878e670e93a818c0071f3172056214e8c4)
2009-12-07 19:04:41 +11:00
Michael Adam
3420278b3a packaging: package tests/bin/ctdb_transaction under /usr/share/doc/tests/bin
For testing/diagnostic purposes.

Michael

(This used to be ctdb commit b796d736946856abfbe53de95dfcd73072ee8ccd)
2009-12-04 23:18:12 +01:00
Ronnie Sahlberg
2b4fbe5c41 version 1.0.107
(This used to be ctdb commit 22f00368b4cb3a6bfb92033a7dbe693d31b41a54)
2009-12-02 11:28:42 +11:00
Ronnie Sahlberg
6f045cad29 version 1.0.106
(This used to be ctdb commit b5a21fd39269a6e2a9d1c8182dd42a1773ccbb3f)
2009-12-02 11:26:51 +11:00
Ronnie Sahlberg
894a2f9c0b new version 1.0.105
(This used to be ctdb commit 5fdf842db09cd806248cdbdce2270f39ed213872)
2009-11-19 11:08:14 +11:00
Ronnie Sahlberg
14a6592511 version 1.0.104
(This used to be ctdb commit 5e13a25df5ccf184bd48595c99765a592bbc5969)
2009-11-06 11:16:05 +11:00
Ronnie Sahlberg
666d1d019b new version 1.0.103
(This used to be ctdb commit 020e2e30e56b9675f345ee62d6bf585396208059)
2009-11-03 11:46:37 +11:00
Michael Adam
e38dda00e7 packaging: use githash in rpm release by default.
setting USE_GITHASH=no in the environment makes
makerpms.sh omit the git hash

Michael

(This used to be ctdb commit 209ff041596e39688186c99995863ed3e816b8e4)
2009-11-03 00:16:28 +01:00
Michael Adam
5fa3a2c96a packaging(RPM): don't touch the run levels in ctdb install/udpate.
We should really leave it up to the administrator to decide
whether ctdb should be started automatically at boot-time.

Michael

(This used to be ctdb commit c1d8496f9fd5e8046f3d990264258dfb054f3b32)
2009-10-30 21:42:34 +11:00
Ronnie Sahlberg
784a89ec62 new version 1.0.102
(This used to be ctdb commit 4892222ffb255dccd8ced1cb047f199386bb3e98)
2009-10-29 13:49:27 +11:00
Ronnie Sahlberg
019f3c930e version 1.0.101
(This used to be ctdb commit 47b67077bdfa64938bb0fa6d1ca8f56fbd5c960e)
2009-10-28 17:42:01 +11:00
Ronnie Sahlberg
d82fdcb56f new version 1.0.100
(This used to be ctdb commit fa34e8a5d588026029dca949151697817fe7f127)
2009-10-28 16:18:28 +11:00
Ronnie Sahlberg
42718a8842 new version 1.0.99
(This used to be ctdb commit 14fca8383b6b1da49278a9181a975543b956161b)
2009-10-22 18:16:33 +11:00
Ronnie Sahlberg
149ea4e577 dont restart ctdb when installing the rpm
(This used to be ctdb commit ead97cabeb1e0b73bff9d45f8aec8b226769ee9f)
2009-10-21 13:54:02 +11:00
Ronnie Sahlberg
6dd7a8bcfa version 1.0.98
(This used to be ctdb commit 02862c086d045497f49f3c060700419815d607e7)
2009-10-20 15:36:35 +11:00
Ronnie Sahlberg
6152a7060b new version 1.0.97
(This used to be ctdb commit ef992a64d2376b621d4d2973ae22e567158aee12)
2009-10-15 07:41:56 +11:00
Ronnie Sahlberg
53900b99ea version 1.0.96
(This used to be ctdb commit 536229fd120bc3fdc2419e22d3bd6ab243dd6667)
2009-10-14 14:52:24 +11:00
Ronnie Sahlberg
2cb9580464 new version 1.0.95
(This used to be ctdb commit 3501d6b70bd905d6fdc4e74fe2cedc3ba77e4b86)
2009-10-12 18:53:20 +11:00
Ronnie Sahlberg
eb9a77c887 version 1.0.94
(This used to be ctdb commit 5cb4d63bf6887d15aba37fafc3f6b6ba38027f13)
2009-10-08 19:17:57 +11:00
Ronnie Sahlberg
d29c4b5c4d version 1.0.93
(This used to be ctdb commit e77bf5708df6782b4516f698b9981a1d27e2f10b)
2009-10-06 17:05:14 +11:00
Ronnie Sahlberg
1d60064139 version 1.0.92
(This used to be ctdb commit 9ffb0d08d34cbafed0e49350a3a72b15d92c8ea7)
2009-10-02 14:38:16 +10:00
Ronnie Sahlberg
11c56dfd56 New version 1.0.91
(This used to be ctdb commit d1332f4d5d3d3e4b4e0cd362a6903d09e0d5fcbb)
2009-09-29 13:31:41 +10:00
Ronnie Sahlberg
4f0f2cc196 add a new eventscript 01.reclock
if the reclock file has been set, then this script will test that the
    reclock file can actually be accessed.
    if the file does not exist, or if the attempts to stat the file hangs,
    the node will be marked unhealthy after the third failed monitoring event
    and after the tenth failure, ctdb itself will shutdown.

(This used to be ctdb commit 2cb04747887674def299e574fccb827c1c3194e7)
2009-09-28 14:06:40 +10:00
Ronnie Sahlberg
6e793bec7c new version 1.0.90
(This used to be ctdb commit 5624da65d3fad1905c9f93a9e41a90b98ad692d2)
2009-09-12 07:30:18 +10:00
Ronnie Sahlberg
19cfcd358c new version 1.0.89
(This used to be ctdb commit 46823aa7c673bc18a1424500b3f01da9c2dd6333)
2009-09-04 03:05:37 +10:00
Ronnie Sahlberg
9927ea7a00 new version 1.0.88
(This used to be ctdb commit fbfa1c72875dda4d1636d8e72c67ba09b10455df)
2009-08-17 11:04:40 +10:00
Ronnie Sahlberg
366d413f2b new version 1.0.87
(This used to be ctdb commit d187eb8507f35a650ff3ffc50fa49110eebca0bd)
2009-07-17 13:01:11 +10:00
Ronnie Sahlberg
243bb51f02 New version 1.0.86
(This used to be ctdb commit 841a2d9635341baa1a6dd9ec558fc7cadb4e3af4)
2009-06-30 09:09:06 +10:00
Ronnie Sahlberg
52861523f6 new version 1.0.85
(This used to be ctdb commit a4b682e3b2657abeca3e387d96949f83bdbd7b2f)
2009-06-23 11:30:25 +10:00
Ronnie Sahlberg
5f680fa2b4 rename 99.routing to 11.routing so that it executed before the service scripts
(This used to be ctdb commit 9bc8e7eec7ffa8969f0f170a77b13cd0033790f1)
2009-06-23 11:29:26 +10:00
Ronnie Sahlberg
0ddf79a3bc increase the timeout before we shutdown when ther ecovery daemon is hung
(This used to be ctdb commit facddcacb4a961cddb117818fa38a3e97770b2fa)
2009-06-18 09:20:18 +10:00
Ronnie Sahlberg
34fbfb8b89 rename 99.routing to 11.routing
so it is executed before any of the service scripts

(This used to be ctdb commit 1205673499618f90f413fad9e96a88733b5ce359)
2009-06-18 09:11:46 +10:00
Ronnie Sahlberg
e2810c0cb4 new version 1.0.84
(This used to be ctdb commit af1b3de978089a9819716b33c13c941b5558cb17)
2009-06-02 15:05:41 +10:00
Ronnie Sahlberg
f49c71fa4f new version 1.0.83
(This used to be ctdb commit f236fa289f3115b1f4eb108eb668392dc520f61a)
2009-06-02 13:13:03 +10:00
Ronnie Sahlberg
caf0e863a4 remove the obsolete ipmux component.
this is replaced by LVS since a long time

(This used to be ctdb commit dca41ec04788922ce5f4c52d346872b3e35f8cbb)
2009-05-25 12:33:52 +10:00
Ronnie Sahlberg
f62b433946 add 31.clamd to the install and the rpm
(This used to be ctdb commit bfc6ac07f8b7b326e75d8c9bf73051a440ee0011)
2009-05-25 12:11:01 +10:00
Ronnie Sahlberg
26b37d29b4 new version 1.0.82
(This used to be ctdb commit 82ee458329968001bb03b2aec42e65f532f007b3)
2009-05-14 08:55:40 +10:00
Michael Adam
b1701e09df makerpms.sh: add GPL license header
Michael

(This used to be ctdb commit 7498e176817719eadd91201bbd0d9ceb91eefdae)
2009-05-13 16:12:41 +10:00
Ronnie Sahlberg
d6e1f04a67 new version 1.0.81
(This used to be ctdb commit a8019f20cd42a1965410fef5bac2c5b73657b38e)
2009-05-08 17:29:57 +10:00
Michael Adam
73913bb7c5 packaging: also package ping_pong
Michael

(This used to be ctdb commit 300e84f7023e9194b313e96db943e4050bd64e68)
2009-05-06 10:39:47 +10:00
root
4cef9994a5 new version 1.0.80
(This used to be ctdb commit bf1b76955db6ba00ec64686b53084268573ba6a0)
2009-05-01 12:37:52 +10:00
Ronnie Sahlberg
8752745173 new version 1.0.79
(This used to be ctdb commit 6c900aa343096c5e1e297e055c36832ffa5028dd)
2009-04-08 12:56:52 +10:00
Ronnie Sahlberg
62afe2ff71 install ctdb.pc from the RPM
(This used to be ctdb commit 1b47ddc97373376b416a50939b74dc8c926fc917)
2009-04-08 09:34:20 +10:00
Ronnie Sahlberg
71745ef97d new release 1.0.78
(This used to be ctdb commit 00d2213613822b758939019361a619bd7d7f4984)
2009-03-31 20:04:45 +11:00
Ronnie Sahlberg
24d84952f8 we should also install the 11.natgw eventscript if we want to be able to use it
(This used to be ctdb commit 42e2797271bc1cdb4eecf1227d4c2db668587193)
2009-03-31 20:00:00 +11:00
Ronnie Sahlberg
53d6626503 install a default /etc/ctdb/notify.sh script as example on how to use
snmptrap/email to notify that a node has changed health status

(This used to be ctdb commit ee52c0866e2b26c396fe60946159c559d47199eb)
2009-03-31 14:38:52 +11:00
Ronnie Sahlberg
df9d401d8c new version 1.0.77
(This used to be ctdb commit 274a4a1fe2e016f33296ebfc5ed6337ce3141d06)
2009-03-31 11:42:10 +11:00
Ronnie Sahlberg
4c1acd8472 new version 1.0.76
(This used to be ctdb commit 56b7095994d1de95e40a223ed503b5572ea9d1b9)
2009-03-25 14:52:08 +11:00
Ronnie Sahlberg
e9e27bf264 new version 1.0.75
(This used to be ctdb commit 857733ae2bdfa0037af224abfabc020e2ac384c7)
2009-03-24 14:08:57 +11:00
Ronnie Sahlberg
5804af9a11 new version 1.0.74
(This used to be ctdb commit 0772190203d501a39072f16948604742d7d59a5e)
2009-03-16 09:27:56 +11:00
Ronnie Sahlberg
e2b67ffe98 new version 1.0.73
(This used to be ctdb commit ecf26af22245d0f55aded50e8768b0c21495f98c)
2009-03-04 07:25:26 +11:00
Ronnie Sahlberg
697e9b1a3a new version 1.0.72
(This used to be ctdb commit e1be8cb2dc32f56eabd537b658b47929818b8d01)
2009-02-18 13:22:26 +11:00
Ronnie Sahlberg
a9ca48a999 new version 1.0.71
(This used to be ctdb commit a6cdf9106074890b76d2eabe496af244e0134d31)
2009-02-02 14:04:40 +11:00
Michael Adam
7e85009724 packaging(RPM): detect and use ccache if available
Michael

(This used to be ctdb commit c412c9e2d69a3f07e195259f6ad5767fa8160a94)
2009-01-19 14:46:30 +01:00
Michael Adam
466124ced7 makerpms: fix detection of support for --rsyncable flag in gzip.
Michael

(This used to be ctdb commit 0dafb869265d0c369bb5ce45fbcabc2232d6fced)
2009-01-17 16:33:11 +01:00
root
db217e28e3 new version
(This used to be ctdb commit 73a7b611bf2ef87e92d6b18c538a260aa988a2e5)
2009-01-16 20:49:52 +11:00
Michael Adam
dc956da422 makerpms: fix creation of tarball when gzip does not know "--rsynceable"
--rsynceable is a patch to gzip that not all distributors / packagers
add to gzip. (It has just bitten me on openSUSE.) This path first detects
whether gzip knows about --rsynceable and then calls gzip accordingly.

Michael

(This used to be ctdb commit 62eccefc15e2ca737098980aa0b7d226df73a456)
2009-01-16 20:49:52 +11:00
Michael Adam
68b9c87674 ctdb.spec: fix version and (RPM-)release number.
Originally, 1.0 was the version in the spec file and 68 was the release.
But in fact everyone talked about ctdb version 1.0.68.
This puts this straight...

Michael

(This used to be ctdb commit a98a3ff2aad59d51fca6a2f3e2bdcfc99e84fa70)
2009-01-16 20:49:52 +11:00
Michael Adam
a80acd49b3 makerpms: confess
Michael

(This used to be ctdb commit 826511f759c3bfa7c587c97786b955572039d2ac)
2009-01-16 20:49:52 +11:00
Michael Adam
1694ad5ddc makerpms: don't hard-code the version number but extract it from ctdb.spec
Michael

(This used to be ctdb commit 32eac6fc3cce2a9d0a38add56a8bb893e4a85076)
2009-01-16 20:49:52 +11:00
Michael Adam
5c99c26dae makerpms: remove the need of calling makerpms.sh from the top level directory
Instead, extract needed information from the dirname of the invoked name.

Michael

(This used to be ctdb commit cf1e46d734ed51b4ac2eb8a09f2f787ae5c51092)
2009-01-16 20:49:52 +11:00
Michael Adam
b1bca68f83 makerpms: don't cd to $SPECDIR but rpmbuild -ba $SPECDIR/$SPECFILE instead
Michael

(This used to be ctdb commit 25dbefc92e7303a7b679a769eb06a7c25fdcf198)
2009-01-16 20:49:51 +11:00
Michael Adam
a34bce885b makerpms: catch error of git archive correctly (echo resets $?)
Michael

(This used to be ctdb commit 85e942a26f5e7d4584d31005ff88c36dca215a11)
2009-01-16 20:49:51 +11:00
Michael Adam
8601777cc8 makerpms: move comment to appropriate place
Michael

(This used to be ctdb commit ef4caf6874436ff3f451b95586893e39a8cec1ad)
2009-01-16 20:49:51 +11:00
Michael Adam
91cdf4384f makerpms: use variable (SPECFILE) that is available instead of hard coded file name
Michael

(This used to be ctdb commit 9661b7a4f3773d645d0525c4430e3cccf0f32eb5)
2009-01-16 20:49:51 +11:00
Ronnie Sahlberg
db7d239e03 new version 1.0.69
(This used to be ctdb commit fd85e53794ef7fe24c51c94534370545a0711bd4)
2008-12-18 14:31:28 +11:00
Michael Adam
1c8a9a88e3 packaging: set docdir in calls to make (to get it right on e.g. SuSE systems).
Currently docdir = /usr/share/doc is hardcoded in the Makefile.in.
Some systems use a different doc dir (SuSE uses /usr/share/doc/packages).

And not all versions of autoconf provide the --docdir parameter
(2.61 does, while 2.59 does not). So we use the quick solution
to specify "docdir=%{_docdir}" in the make calls in the spec file.

Michael

(This used to be ctdb commit 140768ce79d8ea3af2adb3ac011b58a29a09b50e)
2008-12-16 09:50:40 +11:00
Ronnie Sahlberg
22772d9463 New version 1.0.68
(This used to be ctdb commit e50c9667b86160eb5dfb9868aff420b72f799a5f)
2008-12-12 09:39:55 +11:00
Ronnie Sahlberg
9f2de14fb8 new version 1.0.67
(This used to be ctdb commit 01633d30f764e8da42c4e5c4710b69cd379c9b39)
2008-12-04 15:25:03 +11:00
Ronnie Sahlberg
51ace76ea6 add a description of the recovery-process
(This used to be ctdb commit 194abb41e1a0036956a9401efcae8b14ed66c532)
2008-12-04 14:35:00 +11:00
Ronnie Sahlberg
a782bdbacd inew version 1.0.66
ddwq

(This used to be ctdb commit 499a01fece2a5f24f1b2943cf3dc6e9a3a8ca3b5)
2008-11-24 19:06:02 +11:00
Ronnie Sahlberg
090e5fdf5e new version 1.0.65
update the example sysconfig file. the default log level is 2, not 0

(This used to be ctdb commit 1f25958dc739677a487fa496fbeffcda7a0f2204)
2008-11-13 10:55:20 +11:00
Ronnie Sahlberg
0e7fa751af new version 1.0.64
(This used to be ctdb commit 1a7ff4577d33f0dd470f7465c7d0e875c962f54e)
2008-10-22 11:06:18 +11:00
Ronnie Sahlberg
fc6ed25cd5 new version 1.0.63
(This used to be ctdb commit 59a879626a6a55fb6a43cadf5338c1aa6afe96d1)
2008-10-20 09:47:54 +11:00
Ronnie Sahlberg
4a66281cb6 new version 1.0.62
(This used to be ctdb commit 49431e799ba7f7c78f596fdf896316a2e22c745e)
2008-10-16 17:59:55 +11:00
Ronnie Sahlberg
02f6731454 new version 1.0.61
(This used to be ctdb commit 0098efd4443038f2d902e3a7c3640e63f06be7d1)
2008-10-15 16:40:44 +11:00
Ronnie Sahlberg
a9977269f0 install the new multipath monitoring event script
(This used to be ctdb commit 3b8d49bf58f4145cdca08565f06cd43fd36991e1)
2008-10-15 16:29:09 +11:00
Ronnie Sahlberg
3902855275 change ip route add to route add -net since this works more reliably
update the makefile and rpm to install 99.routing

(This used to be ctdb commit c0b3bd8a3fa580dca5afa97c8012fccb25231373)
2008-10-15 01:49:19 +11:00
Ronnie Sahlberg
07b9c38f57 new version 1.0.60
(This used to be ctdb commit 77ed0d71b1fb8d06d70d01a8e8f9eb04ffe7f02f)
2008-10-15 01:32:46 +11:00
Ronnie Sahlberg
9d717f32e1 new version 1.0.59
(This used to be ctdb commit 8e504fc8c01f750d1cb5d2289ef12c423daf1ad4)
2008-10-07 18:23:12 +11:00
Ronnie Sahlberg
589dcbe8cb new version 1.0.58
(This used to be ctdb commit c4bc4317df4106e81b238dbfaf861ca6104304c1)
2008-08-27 10:26:34 +10:00
Ronnie Sahlberg
c1be066611 version 1.0.57 : initial ipv6 support
(This used to be ctdb commit 7da0c65c8526d66d4f2a788bd646d39237befa54)
2008-08-25 08:52:29 +10:00
Ronnie Sahlberg
0e3baef65a new version 1.0.56
(This used to be ctdb commit 196973fef38a9b258e0976d5454161d11d573ddc)
2008-08-11 23:50:42 +10:00
Ronnie Sahlberg
bef21da483 fix the date soe rpmbuild works
(This used to be ctdb commit c94b295b078dc009c18aa416d0de232a12241014)
2008-08-11 10:36:38 +10:00
Ronnie Sahlberg
4ec495abca new version 1.0.55
(This used to be ctdb commit 29aaa339ef745208fb0b746db5cbc3a32d0d81b2)
2008-08-11 10:33:22 +10:00
Ronnie Sahlberg
1da433254c new version 1.0.54
(This used to be ctdb commit a4814aa8b0b165b9d6c4c55fc5aee33cd1a570bd)
2008-08-08 10:01:20 +10:00
Andrew Tridgell
e1fe26051b up release number
(This used to be ctdb commit 7ed5fbe7fa3bc3cb729d9b516d2a73d52e28d22d)
2008-08-08 10:00:33 +10:00
Ronnie Sahlberg
2ffa38ad59 new version 1.0.53
this adds completely new transaction code for persistent databases

(This used to be ctdb commit bcbac6724840cdabe55e38a4c62779f853bd09ba)
2008-08-07 18:57:24 +10:00
Ronnie Sahlberg
bb154c8de6 New version 1.0.52
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>

(This used to be ctdb commit a9bce1ac9794f108825190948f404c864a533435)
2008-08-04 14:58:52 +10:00
Ronnie Sahlberg
e8c1785f2b new version 1.0.51
(This used to be ctdb commit ded1a974cdd86b436c6e5cba27069d1a3796dbe9)
2008-07-28 17:11:15 +10:00
Ronnie Sahlberg
3637add42b new version 1.0.50
(This used to be ctdb commit b08a988fbdad0da850c9b79791c1a8970555147f)
2008-07-18 13:49:05 +10:00
Ronnie Sahlberg
68d01c59b2 Allow the fix-to-make-persistent-writes-safer work with unpatched samba versions
(This used to be ctdb commit 52716d26eb84104d65828bed38e69f214a5fa824)
2008-07-17 18:53:54 +10:00
Ronnie Sahlberg
b9ba443da3 new version 1.0.48
(This used to be ctdb commit ccf9334bd20b1398623dd649987aa15119dac14e)
2008-07-17 13:56:17 +10:00
Andrew Tridgell
d7da19a608 fixed postun script to prevent corrupting RPM database
(This used to be ctdb commit 9043913a54fe707083697f0587c6ffde86ca5a69)
2008-07-16 12:23:05 +10:00
Ronnie Sahlberg
9a9b506d23 Add two new options
CTDB_SAMBA_SKIP_CONF_CHECK and CTDB_SAMBA_CHECK_PORTS.
The first is used to tell ctdb to no longer monitoring if the smb.conf file is consistent or not.

The second specifies which ports to check that smb is listening on
instead of using testparm to figure this out.

Since the net, testparm and smbstatus may block indefinitely in some configurations
we must have a way to configure ctdb to NOT use any of these three commands
in the scripts. These commands should thus never be used in scripts.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>

(This used to be ctdb commit 2fe52c7979ecd28250ec4ac195d3c3999916e573)
2008-07-15 11:03:35 +10:00
Ronnie Sahlberg
d16bc2f655 new version 1.0.47
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>

(This used to be ctdb commit 1de62d1ad71fa784d5e93f76da8f872cad9b9f42)
2008-07-11 11:48:41 +10:00
Martin Schwenke
80c95f1820 Signed-off-by: Martin Schwenke <martin@meltin.net>
Update packaging/RPM/ctdb.spec to reflect onnode changes.

(This used to be ctdb commit f4a6dd98c86f2028c00b62313a071a94cafc95f9)
2008-07-11 09:34:40 +10:00
Ronnie Sahlberg
4dfcceb3de new version 10.0.46
(This used to be ctdb commit d94e76bfb3e464c0540331caf282efc13ff60e42)
2008-07-10 13:00:50 +10:00
Ronnie Sahlberg
0fba2e36b1 Revert "pull the development files out into their own package"
This reverts commit 36be210bbc5e0af75c5fd6e57863272bfa0e942e.

(This used to be ctdb commit 02ed800f3c09e2a3d56de5ae226708d0953dd4a1)
2008-07-09 13:14:47 +10:00
Ronnie Sahlberg
48a1be7b7c Revert "add spec file for development rpm"
This reverts commit bd7b254b81dda4d9d62516abf32f93f2503eb9bb.

(This used to be ctdb commit cb67382603ffabda7f7f958b494c79b4a3c5ebe2)
2008-07-09 13:14:34 +10:00
Ronnie Sahlberg
ac283c3a9a Revert "copy ctdb-dev to the spec directory"
This reverts commit 8814997c1b9623397058088dd0e1775cecfe371b.

(This used to be ctdb commit a77850d8baebcf0b216d7c1391da9cce1c43ce2e)
2008-07-09 13:14:07 +10:00
Ronnie Sahlberg
41f6925e89 copy ctdb-dev to the spec directory
(This used to be ctdb commit 8814997c1b9623397058088dd0e1775cecfe371b)
2008-07-09 13:07:17 +10:00
Ronnie Sahlberg
4d8b9952e8 add spec file for development rpm
(This used to be ctdb commit bd7b254b81dda4d9d62516abf32f93f2503eb9bb)
2008-07-09 11:37:02 +10:00
Ronnie Sahlberg
9d65d4d79a pull the development files out into their own package
(This used to be ctdb commit 36be210bbc5e0af75c5fd6e57863272bfa0e942e)
2008-07-09 11:32:19 +10:00
Ronnie Sahlberg
9ab368e3b2 install the readme in /usr/share/doc/ctdb/ instead of under /etc
(This used to be ctdb commit becce6a9a759730d0c675a56516bb0a32a54c9f3)
2008-07-09 11:08:44 +10:00
Ronnie Sahlberg
6bf597d061 mark /etc/ctdb/functions as a config file to keep rpmlint happy
(This used to be ctdb commit 8f6cd88e74de24af8dde2b6cabb2348c4f914b99)
2008-07-09 10:24:19 +10:00
Ronnie Sahlberg
f1c4041c84 new version 1.0.45
(This used to be ctdb commit b4b2408ba1bdce22abb3fb19d398b72e96da6505)
2008-07-08 10:03:57 +10:00
Ronnie Sahlberg
6eff9289d7 new version .44
(This used to be ctdb commit 6043f926f89b361c7fe14fc60d2769fd2ba63dfc)
2008-07-07 09:07:49 +10:00
Ronnie Sahlberg
e75c7907fe new version
(This used to be ctdb commit af5d9435822917d36929e667063db69e6a426d3d)
2008-07-01 09:34:43 +10:00
Ronnie Sahlberg
ff4af5ff9f initdit/ctdb is not a config file
(This used to be ctdb commit 9f501cee9132114e7467a33dab5cfe0737f94f44)
2008-06-27 09:31:18 +10:00
Ronnie Sahlberg
aa82d15e75 it is 2008 not 2008 right now :-)
(This used to be ctdb commit 8734bd32809ad817ad28d96315a139674429c395)
2008-06-13 13:53:05 +10:00
Ronnie Sahlberg
79caa61de8 update to 1.0.42
(This used to be ctdb commit de8f1bedc56da05c03cfd0e4780839771d94a58f)
2008-06-13 13:50:28 +10:00