[SCM] CTDB repository - branch master updated - ctdb-1.13-333-g9be3b23

2012-10-25 Thread Amitay Isaacs
The branch, master has been updated
   via  9be3b23adbfc844b71bf1d4ddf0fbc3b269f15fa (commit)
  from  e2213db479129ce9c2b2fb88ec8c53cbd33d54b3 (commit)

http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master


- Log -
commit 9be3b23adbfc844b71bf1d4ddf0fbc3b269f15fa
Author: Volker Lendecke v...@samba.org
Date:   Tue Oct 23 21:49:34 2012 +0200

Add a \n to an error message

---

Summary of changes:
 server/ctdb_ltdb_server.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/server/ctdb_ltdb_server.c b/server/ctdb_ltdb_server.c
index e012067..0432e49 100644
--- a/server/ctdb_ltdb_server.c
+++ b/server/ctdb_ltdb_server.c
@@ -1117,7 +1117,7 @@ int32_t ctdb_control_db_attach(struct ctdb_context *ctdb, 
TDB_DATA indata,
if (db) {
if (db-persistent != persistent) {
DEBUG(DEBUG_ERR, (ERROR: DB Attach %spersistent to 
%spersistent 
- database %s, persistent ?  : 
non-,
+ database %s\n, persistent ?  : 
non-,
  db- persistent ?  : non-, 
db_name));
return -1;
}


-- 
CTDB repository


[SCM] Samba Shared Repository - branch master updated

2012-10-25 Thread Andrew Bartlett
The branch, master has been updated
   via  e9b6b23 selftest: Add many more tests for our posix ACL handling
   via  3cdd888 pysmbd: Fix pysmbd octal mode handling
  from  9dbb645 dsdb-cracknames: Return DRSUAPI_DS_NAME_STATUS_NO_MAPPING 
when there is no SID

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit e9b6b23fbdafff700ceb788dbff2ba69584ff833
Author: Andrew Bartlett abart...@samba.org
Date:   Thu Oct 25 16:27:19 2012 +1100

selftest: Add many more tests for our posix ACL handling

This tests the mapping of posix ACLs to NT ACLs, the invalidation of
NT ACLs stored as an xattr and ensures this security-critical code
continues to work in the long term.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett abart...@samba.org
Autobuild-Date(master): Thu Oct 25 10:05:16 CEST 2012 on sn-devel-104

commit 3cdd888093e57a8cfc29d82ea47c8887a50e73a4
Author: Andrew Bartlett abart...@samba.org
Date:   Thu Oct 25 16:25:22 2012 +1100

pysmbd: Fix pysmbd octal mode handling

It is clearly too long since Computer Science 101... ;-)

Andrew Bartlett

---

Summary of changes:
 source3/smbd/pysmbd.c|4 +-
 source4/scripting/python/samba/tests/posixacl.py |  237 +-
 2 files changed, 238 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/pysmbd.c b/source3/smbd/pysmbd.c
index 66aba21..5e2daa1 100644
--- a/source3/smbd/pysmbd.c
+++ b/source3/smbd/pysmbd.c
@@ -158,8 +158,8 @@ static SMB_ACL_T make_simple_acl(gid_t gid, mode_t 
chmod_mode)
 
mode_t mode = SMB_ACL_READ|SMB_ACL_WRITE;
 
-   mode_t mode_user = (chmod_mode  0700)  16;
-   mode_t mode_group = (chmod_mode  070)  8;
+   mode_t mode_user = (chmod_mode  0700)  6;
+   mode_t mode_group = (chmod_mode  070)  3;
mode_t mode_other = chmod_mode   07;
SMB_ACL_ENTRY_T entry;
SMB_ACL_T acl = sys_acl_init(frame);
diff --git a/source4/scripting/python/samba/tests/posixacl.py 
b/source4/scripting/python/samba/tests/posixacl.py
index 78a07f7..449a87c 100644
--- a/source4/scripting/python/samba/tests/posixacl.py
+++ b/source4/scripting/python/samba/tests/posixacl.py
@@ -18,7 +18,7 @@
 
 Tests for the Samba3 NT - posix ACL layer
 
-from samba.ntacls import setntacl, getntacl
+from samba.ntacls import setntacl, getntacl, checkset_backend
 from samba.dcerpc import xattr, security, smb_acl, idmap
 from samba.param import LoadParm
 from samba.tests import TestCase
@@ -61,6 +61,70 @@ class PosixAclMappingTests(TestCase):
 self.assertEquals(facl.as_sddl(anysid),acl)
 os.unlink(tempf)
 
+def test_setntacl_smbd_setposixacl_getntacl(self):
+random.seed()
+lp = LoadParm()
+path = None
+path = os.environ['SELFTEST_PREFIX']
+acl = 
O:S-1-5-21-2212615479-2695158682-2101375467-512G:S-1-5-21-2212615479-2695158682-2101375467-513D:(A;OICI;0x001f01ff;;;S-1-5-21-2212615479-2695158682-2101375467-512)
+tempf = os.path.join(path,pytests+str(int(10*random.random(
+open(tempf, 'w').write(empty)
+setntacl(lp,tempf,acl,S-1-5-21-2212615479-2695158682-2101375467, 
use_ntvfs=True)
+
+# This will invalidate the ACL, as we have a hook!
+smbd.set_simple_acl(tempf, 0640)
+
+# However, this only asks the xattr
+try:
+facl = getntacl(lp,tempf, direct_db_access=True)
+self.assertTrue(False)
+except TypeError:
+pass
+os.unlink(tempf)
+
+def test_setntacl_smbd_chmod_getntacl(self):
+random.seed()
+lp = LoadParm()
+path = None
+path = os.environ['SELFTEST_PREFIX']
+acl = 
O:S-1-5-21-2212615479-2695158682-2101375467-512G:S-1-5-21-2212615479-2695158682-2101375467-513D:(A;OICI;0x001f01ff;;;S-1-5-21-2212615479-2695158682-2101375467-512)
+tempf = os.path.join(path,pytests+str(int(10*random.random(
+open(tempf, 'w').write(empty)
+setntacl(lp,tempf,acl,S-1-5-21-2212615479-2695158682-2101375467, 
use_ntvfs=True)
+
+# This should invalidate the ACL, as we include the posix ACL in the 
hash
+(backend_obj, dbname) = checkset_backend(lp, None, None)
+backend_obj.wrap_setxattr(dbname,
+  tempf, system.fake_access_acl, )
+
+#however, as this is direct DB access, we do not notice it
+facl = getntacl(lp,tempf, direct_db_access=True)
+anysid = security.dom_sid(security.SID_NT_SELF)
+self.assertEquals(acl, facl.as_sddl(anysid))
+os.unlink(tempf)
+
+def test_setntacl_smbd_chmod_getntacl_smbd(self):
+random.seed()
+lp = LoadParm()
+path = None
+path = os.environ['SELFTEST_PREFIX']
+acl = 

[SCM] Samba Shared Repository - branch master updated

2012-10-25 Thread Andrew Bartlett
The branch, master has been updated
   via  a2d5326 python-ntacls: Cope with ACL revision 4
   via  f8e6bb4 dbwrap: use talloc_stackframe() in db_tdb_log_key()
   via  1008f6f selftest: Always unlink the tempf in posixacl test
   via  117d5f4 selftest: Cover the important non-Samba invalidation of the 
NT ACL
   via  53244c9 selftest: Cover one more NT ACL invalidation case and 
improve comments
  from  e9b6b23 selftest: Add many more tests for our posix ACL handling

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit a2d53262e835b0c74282d389b1dd6dad2395f0f1
Author: Andrew Bartlett abart...@samba.org
Date:   Wed Oct 24 18:24:12 2012 +1100

python-ntacls: Cope with ACL revision 4

This is the new revision with the hash of the posix or system ACL.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett abart...@samba.org
Autobuild-Date(master): Thu Oct 25 15:04:39 CEST 2012 on sn-devel-104

commit f8e6bb46c005e82d5a8646e691de9282828005cc
Author: Andrew Bartlett abart...@samba.org
Date:   Wed Oct 24 18:23:04 2012 +1100

dbwrap: use talloc_stackframe() in db_tdb_log_key()

We can not be sure that there is already a talloc_stackframe() in place
so we must create one.

Andrew Bartlett

commit 1008f6fbf49d5b797c7d968ea7ffdcb29d623644
Author: Andrew Bartlett abart...@samba.org
Date:   Thu Oct 25 20:18:28 2012 +1100

selftest: Always unlink the tempf in posixacl test

commit 117d5f4c372c02d69106df45e12ac69d1c047f50
Author: Andrew Bartlett abart...@samba.org
Date:   Thu Oct 25 20:17:55 2012 +1100

selftest: Cover the important non-Samba invalidation of the NT ACL

This covers the case where we have a valid hash of the posix ACL (or the NT 
ACL from the
POSIX ACL) and we notice it no longer matches.

Andrew Bartlett

commit 53244c915113cef87692756e9ad545ff75074df0
Author: Andrew Bartlett abart...@samba.org
Date:   Thu Oct 25 19:58:15 2012 +1100

selftest: Cover one more NT ACL invalidation case and improve comments

This tries to show the difference between the cases where we trap
the POSIX ACL change and where we actually detect an OS-level change.

Andrew Bartlett

---

Summary of changes:
 lib/dbwrap/dbwrap_tdb.c  |7 ++--
 source4/scripting/python/samba/ntacls.py |2 +
 source4/scripting/python/samba/tests/posixacl.py |   41 +
 3 files changed, 39 insertions(+), 11 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/dbwrap/dbwrap_tdb.c b/lib/dbwrap/dbwrap_tdb.c
index 80d41b4..a3a6c87 100644
--- a/lib/dbwrap/dbwrap_tdb.c
+++ b/lib/dbwrap/dbwrap_tdb.c
@@ -42,10 +42,11 @@ static void db_tdb_log_key(const char *prefix, TDB_DATA key)
 {
size_t len;
char *keystr;
-
+   TALLOC_CTX *frame;
if (DEBUGLEVEL  10) {
return;
}
+   frame = talloc_stackframe();
len = key.dsize;
if (DEBUGLEVEL == 10) {
/*
@@ -53,10 +54,10 @@ static void db_tdb_log_key(const char *prefix, TDB_DATA key)
 */
len = MIN(10, key.dsize);
}
-   keystr = hex_encode_talloc(talloc_tos(), (unsigned char *)(key.dptr),
+   keystr = hex_encode_talloc(frame, (unsigned char *)(key.dptr),
   len);
DEBUG(10, (%s key %s\n, prefix, keystr));
-   TALLOC_FREE(keystr);
+   TALLOC_FREE(frame);
 }
 
 static int db_tdb_record_destr(struct db_record* data)
diff --git a/source4/scripting/python/samba/ntacls.py 
b/source4/scripting/python/samba/ntacls.py
index 44cbbe9..f304047 100644
--- a/source4/scripting/python/samba/ntacls.py
+++ b/source4/scripting/python/samba/ntacls.py
@@ -78,6 +78,8 @@ def getntacl(lp, file, backend=None, eadbfile=None, 
direct_db_access=True):
 return ntacl.info.sd
 elif ntacl.version == 3:
 return ntacl.info.sd
+elif ntacl.version == 4:
+return ntacl.info.sd
 else:
 return smbd.get_nt_acl(file, security.SECINFO_OWNER | 
security.SECINFO_GROUP | security.SECINFO_DACL | security.SECINFO_SACL)
 
diff --git a/source4/scripting/python/samba/tests/posixacl.py 
b/source4/scripting/python/samba/tests/posixacl.py
index 449a87c..482b48b 100644
--- a/source4/scripting/python/samba/tests/posixacl.py
+++ b/source4/scripting/python/samba/tests/posixacl.py
@@ -82,7 +82,7 @@ class PosixAclMappingTests(TestCase):
 pass
 os.unlink(tempf)
 
-def test_setntacl_smbd_chmod_getntacl(self):
+def test_setntacl_invalidate_getntacl(self):
 random.seed()
 lp = LoadParm()
 path = None
@@ -103,25 +103,47 @@ class PosixAclMappingTests(TestCase):
 self.assertEquals(acl, facl.as_sddl(anysid))
 os.unlink(tempf)
 
-   

[SCM] Samba Shared Repository - branch master updated

2012-10-25 Thread Jeremy Allison
The branch, master has been updated
   via  52ace67 s3:smbd:durable: factor stat checks out into 
vfs_default_durable_reconnect_check_stat()
  from  a2d5326 python-ntacls: Cope with ACL revision 4

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 52ace6767fddb389e3393c4b19685e59782c6a90
Author: Michael Adam ob...@samba.org
Date:   Tue Oct 23 13:00:02 2012 +0200

s3:smbd:durable: factor stat checks out into 
vfs_default_durable_reconnect_check_stat()

This makes vfs_default_durable_reconnect() simpler to read
and it reduces code duplication in the failure case handling.

Signed-off-by: Michael Adam ob...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org

Autobuild-User(master): Jeremy Allison j...@samba.org
Autobuild-Date(master): Thu Oct 25 23:03:13 CEST 2012 on sn-devel-104

---

Summary of changes:
 source3/smbd/durable.c |  653 +++-
 1 files changed, 261 insertions(+), 392 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/durable.c b/source3/smbd/durable.c
index 4c6ff67..5d276f3 100644
--- a/source3/smbd/durable.c
+++ b/source3/smbd/durable.c
@@ -298,6 +298,263 @@ NTSTATUS vfs_default_durable_disconnect(struct 
files_struct *fsp,
return NT_STATUS_OK;
 }
 
+
+/**
+ * Check whether a cookie-stored struct info is the same
+ * as a given SMB_STRUCT_STAT, as coming with the fsp.
+ */
+static bool vfs_default_durable_reconnect_check_stat(
+   struct vfs_default_durable_stat *cookie_st,
+   SMB_STRUCT_STAT *fsp_st,
+   const char *name)
+{
+   int ret;
+
+   if (cookie_st-st_ex_dev != fsp_st-st_ex_dev) {
+   DEBUG(1, (vfs_default_durable_reconnect (%s): 
+ stat_ex.%s differs: 
+ cookie:%llu != stat:%llu, 
+ denying durable reconnect\n,
+ name,
+ st_ex_dev,
+ (unsigned long long)cookie_st-st_ex_dev,
+ (unsigned long long)fsp_st-st_ex_dev));
+   return false;
+   }
+
+   if (cookie_st-st_ex_ino != fsp_st-st_ex_ino) {
+   DEBUG(1, (vfs_default_durable_reconnect (%s): 
+ stat_ex.%s differs: 
+ cookie:%llu != stat:%llu, 
+ denying durable reconnect\n,
+ name,
+ st_ex_ino,
+ (unsigned long long)cookie_st-st_ex_ino,
+ (unsigned long long)fsp_st-st_ex_ino));
+   return false;
+   }
+
+   if (cookie_st-st_ex_mode != fsp_st-st_ex_mode) {
+   DEBUG(1, (vfs_default_durable_reconnect (%s): 
+ stat_ex.%s differs: 
+ cookie:%llu != stat:%llu, 
+ denying durable reconnect\n,
+ name,
+ st_ex_mode,
+ (unsigned long long)cookie_st-st_ex_mode,
+ (unsigned long long)fsp_st-st_ex_mode));
+   return false;
+   }
+
+   if (cookie_st-st_ex_nlink != fsp_st-st_ex_nlink) {
+   DEBUG(1, (vfs_default_durable_reconnect (%s): 
+ stat_ex.%s differs: 
+ cookie:%llu != stat:%llu, 
+ denying durable reconnect\n,
+ name,
+ st_ex_nlink,
+ (unsigned long long)cookie_st-st_ex_nlink,
+ (unsigned long long)fsp_st-st_ex_nlink));
+   return false;
+   }
+
+   if (cookie_st-st_ex_uid != fsp_st-st_ex_uid) {
+   DEBUG(1, (vfs_default_durable_reconnect (%s): 
+ stat_ex.%s differs: 
+ cookie:%llu != stat:%llu, 
+ denying durable reconnect\n,
+ name,
+ st_ex_uid,
+ (unsigned long long)cookie_st-st_ex_uid,
+ (unsigned long long)fsp_st-st_ex_uid));
+   return false;
+   }
+
+   if (cookie_st-st_ex_gid != fsp_st-st_ex_gid) {
+   DEBUG(1, (vfs_default_durable_reconnect (%s): 
+ stat_ex.%s differs: 
+ cookie:%llu != stat:%llu, 
+ denying durable reconnect\n,
+ name,
+ st_ex_gid,
+ (unsigned long long)cookie_st-st_ex_gid,
+ (unsigned long long)fsp_st-st_ex_gid));
+   return 

autobuild: intermittent test failure detected

2012-10-25 Thread autobuild
The autobuild test system has detected an intermittent failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey/2012-10-26-0627/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-10-26-0627/samba3.stderr
   http://git.samba.org/autobuild.flakey/2012-10-26-0627/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-10-26-0627/samba.stderr
   http://git.samba.org/autobuild.flakey/2012-10-26-0627/samba.stdout
  
The top commit at the time of the failure was:

commit 52ace6767fddb389e3393c4b19685e59782c6a90
Author: Michael Adam ob...@samba.org
Date:   Tue Oct 23 13:00:02 2012 +0200

s3:smbd:durable: factor stat checks out into 
vfs_default_durable_reconnect_check_stat()

This makes vfs_default_durable_reconnect() simpler to read
and it reduces code duplication in the failure case handling.

Signed-off-by: Michael Adam ob...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org

Autobuild-User(master): Jeremy Allison j...@samba.org
Autobuild-Date(master): Thu Oct 25 23:03:13 CEST 2012 on sn-devel-104


[SCM] CTDB repository - branch 1.2.40 updated - ctdb-1.2.52-2-g046f879

2012-10-25 Thread Amitay Isaacs
The branch, 1.2.40 has been updated
   via  046f8799361794997cedae3d4ff812216661e04e (commit)
   via  f1f2a3b74674120993bf7a51ecb1437095eb9318 (commit)
  from  39196986c69f3a7751f2b3a69f242263d6864514 (commit)

http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=1.2.40


- Log -
commit 046f8799361794997cedae3d4ff812216661e04e
Author: Amitay Isaacs ami...@gmail.com
Date:   Fri Oct 26 16:19:35 2012 +1100

New version 1.2.53

Signed-off-by: Amitay Isaacs ami...@gmail.com

commit f1f2a3b74674120993bf7a51ecb1437095eb9318
Author: Martin Schwenke mar...@meltin.net
Date:   Wed Mar 28 14:50:36 2012 +1100

Initscript - add backup of corrupt non-persistent databases

Corrupt non-persistent databases never get analysed because ctdbd
zeroes them at startup.

Modify the initscript so that corrupt non-persistent databases are
moved aside to a backup.  If the number of backups for a particular
database exceeds $CTDB_MAX_CORRUPT_DB_BACKUPS (default 10) then the
oldest excess backups are garbage collected.

Abstracts from and cleans up the code for checking persistent
databases.

Logging of related messages is done to syslog or a log file as
specified.

Signed-off-by: Martin Schwenke mar...@meltin.net

Cherry-picked-from: 00cd75595685dae829758abf1a4cb644af7ed50e

Conflicts:
config/ctdb.init

---

Summary of changes:
 config/ctdb.init   |  156 ++--
 packaging/RPM/ctdb.spec.in |4 +-
 2 files changed, 96 insertions(+), 64 deletions(-)


Changeset truncated at 500 lines:

diff --git a/config/ctdb.init b/config/ctdb.init
index 68850c0..7c75726 100755
--- a/config/ctdb.init
+++ b/config/ctdb.init
@@ -111,85 +111,112 @@ build_ctdb_options () {
 maybe_set --max-persistent-check-errors 
$CTDB_MAX_PERSISTENT_CHECK_ERRORS
 }
 
-check_tdb () {
-   local PDBASE=$1
-
-   test x$TDBTOOL_HAS_CHECK = x1  {
-   #
-   # Note tdbtool always exits with 0
-   #
-   local OK=`/usr/bin/tdbtool $PDBASE check | grep Database 
integrity is OK | wc -l`
-   test x$OK = x1 || {
-   return 1;
-   }
-
-   return 0;
-   }
-
-   /usr/bin/tdbdump $PDBASE /dev/null 2/dev/null || {
-   return $?;
-   }
-
-   return 0;
-}
-
-check_persistent_databases () {
-PERSISTENT_DB_DIR=${CTDB_DBDIR:-/var/ctdb}/persistent
-mkdir -p $PERSISTENT_DB_DIR 2/dev/null
-local ERRCOUNT=$CTDB_MAX_PERSISTENT_CHECK_ERRORS
+# Log given message or stdin to either syslog or a CTDB log file
+do_log ()
+{
+if [ $CTDB_SYSLOG = yes -o \
+   ${CTDB_OPTIONS#*--syslog} != $CTDB_OPTIONS ] ; then
 
-test -z $ERRCOUNT  {
-   ERRCOUNT=0
-}
-test x$ERRCOUNT != x0  {
-   return 0;
-}
-
-if test -x /usr/bin/tdbtool ; then
-HAVE_TDBTOOL=1
+   logger -t ctdb.init $@
 else
-HAVE_TDBTOOL=0
+   _l=${CTDB_LOGFILE:-/var/log/log.ctdb}
+   {
+   date
+   if [ -n $* ] ; then
+   echo $*
+   else
+   cat
+   fi
+   } $_l
 fi
+}
 
-if test x$HAVE_TDBTOOL = x1 ; then
-TDBTOOL_HAS_CHECK=`echo help | /usr/bin/tdbtool | grep check | wc -l`
+select_tdb_checker ()
+{
+# Find the best TDB consistency check available.
+use_tdb_tool_check=false
+if [ -x /usr/bin/tdbtool ]  \
+   echo help | /usr/bin/tdbtool | grep -q check ; then
+
+   use_tdb_tool_check=true
+elif [ -x /usr/bin/tdbtool -a -x /usr/bin/tdbdump ] ; then
+   do_log EOF
+WARNING: The installed 'tdbtool' does not offer the 'check' subcommand.
+ Using 'tdbdump' for database checks.
+ Consider updating 'tdbtool' for better checks!
+EOF
+elif [ -x /usr/bin/tdbdump ] ; then
+   do_log EOF
+WARNING: 'tdbtool' is not available.
+ Using 'tdbdump' to check the databases.
+ Consider installing a recent 'tdbtool' for better checks!
+EOF
 else
-TDBTOOL_HAS_CHECK=0
+   do_log EOF
+WARNING: Cannot check databases since neither
+ 'tdbdump' nor 'tdbtool check' is available.
+ Consider installing tdbtool or at least tdbdump!
+EOF
+return 1
 fi
+}
+
+check_tdb ()
+{
+_db=$1
 
-if test -x /usr/bin/tdbdump ; then
-HAVE_TDBDUMP=1
+if $use_tdb_tool_check ; then
+   # tdbtool always exits with 0  :-(
+   if tdbtool $_db check 2/dev/null |
+   grep -q Database integrity is OK ; then
+   return 0
+   else
+   return 1
+   fi
 else
-HAVE_TDBDUMP=0
+   tdbdump $_db /dev/null 2/dev/null
+   return $?
 fi
+}
 
-if test x$HAVE_TDBDUMP = x0 -a x$TDBTOOL_HAS_CHECK = x0 ; then
-echo WARNING: Cannot check persistent databases since
-echo 

[SCM] CTDB repository - annotated tag ctdb-1.2.53 created - ctdb-1.2.53

2012-10-25 Thread Amitay Isaacs
The annotated tag, ctdb-1.2.53 has been created
at  bb30317d1e132a7cce2664b1225340902554cc2a (tag)
   tagging  046f8799361794997cedae3d4ff812216661e04e (commit)
  replaces  ctdb-1.2.52
 tagged by  Amitay Isaacs
on  Fri Oct 26 16:19:53 2012 +1100

- Log -
new version 1.2.53

Amitay Isaacs (1):
  New version 1.2.53

Martin Schwenke (1):
  Initscript - add backup of corrupt non-persistent databases

---


-- 
CTDB repository


[SCM] CTDB repository - annotated tag ctdb-2.0.0 created - ctdb-2.0.0

2012-10-25 Thread Amitay Isaacs
The annotated tag, ctdb-2.0.0 has been created
at  e29f936515e60dd057627d3fc72ae67b3075305b (tag)
   tagging  e2213db479129ce9c2b2fb88ec8c53cbd33d54b3 (commit)
  replaces  ctdb-1.13
 tagged by  Amitay Isaacs
on  Wed Oct 24 19:04:42 2012 +1100

- Log -
CTDB version 2.0.0

Amitay Isaacs (82):
  build: Add rules to create ctags/etags
  packaging: Setup directories for rpmbuild
  build: Remove re-definition of same variable
  build: Display correct LIB_FLAGS while building
  build: Use system talloc library if available
  build: Use system tevent library if available
  build: Use system tdb library if available
  recovery: Add prototypes for tdb internal functions
  build: Substitute POPT macros once and reuse variables
  tests/tool: Fix the nodestatus test
  tests/tool: New nodestatus test
  tests: exportfs always outputs with options in brackets
  tests: Add a script to run cluster tests and make target test_cluster
  tests: Add regular expression parsing for hop_count_buckets
  tests: Fix the error messages in test event script
  ctdbd: Fix the error message string
  tests: Check for assigned IP addresses only if we are on real cluster
  tests: Check assigned IPs from ctdb output
  tests: Set the debug level = 3 when running local tests
  tests: Use CTDB_TEST_REAL_CLUSTER to decide if tests use local daemons
  recoverd: Fix spurious warnings when running with --nopublicipcheck
  ctdbd: Fix spurious warnings when running with --nopublicipcheck
  includes: Move special tevent defines from tevent.h to includes.h
  Remove explicit include of lib/tevent/tevent.h.
  ctdb_test: Remove faked wrappers for tevent functions in stub testing
  lib/tevent: Remove local modifications to tevent
  lib/tevent: Remove the files required to build tevent as a library
  lib/tevent: Sync tevent from samba git tree
  lib/talloc: Remove the files required to build talloc as a library
  lib/talloc: Sync talloc from samba git tree
  lib/tdb: Remove the files required to build tdb as a library
  lib/tdb: Sync tdb from samba git tree
  tests/tool: Fix the nodestatus test
  tests/tool: New nodestatus test
  tests: Fix wrapper scripts
  tests: CTDB_TEST_WRAPPER has to be an absolute path on a real cluster
  tests: test_wrap needs to set TEST_SCRIPTS_DIR
  tests/simple: Fix typo in the test message
  server: locking: Provide a common API for non-blocking locking of TDBs
  Revert server: locking: Provide a common API for non-blocking locking of 
TDBs
  tests: Use per node log files when running tests with local daemons
  packaging: make ctdb-tests package depend on nc
  server: Replace BOOL datatype with bool, True/False with true/false
  tests: Fix flakey behavior of ctdb_fetch test
  tests: Fix ctdb_fetch test (parse extra lines of output)
  tests: Increment RSN always in ctdb_update_record_persistent test
  Fix compiler warnings.
  util: Do not try to lockdown memory when running in local daemons mode
  ctdbd: Return explicit boolean values for function returning bool
  Remove tevent_loop_allow_nesting()
  web: Add my name to the developer list.
  util: Do not lock down memory when running with local daemons
  doc: Fix path string of /etc/sysconfig/ctdb file
  Revert when creating/adding a public ip, set the initial interface to be 
the first interface specified
  doc: Fix the hyperlink for Testing CTDB page
  scripts: Remove duplicate code from init script to set tunables
  doc: Fix documentation for setup event
  doc: Add info about execute permissions on event scripts
  header: Added DB statistics update macros
  common: Add routines to get process and lock information
  ctdbd: locking: Provide non-blocking API for locking of TDB 
record/db/alldb
  tools/ctdb: Display the locking statistics
  tests: Fix statistics test for new output lines from locking API
  ctdbd_test: Include ctdb_lock.c code for test stubs
  ctdb_freeze: Replace locking functions with locking API
  ctdb_recover: Replace static locking functions with locking API
  ctdbd: Replace lockwait with locking API and remove ctdb_lockwait.c
  locking: Schedule a new lock request everytime a lock is released
  locking: Add database priority handling for older versions of samba
  locking: Do not use ctdb_kill() to kill smbd processes
  build: Set CTDB_PATH to /tmp/ctdb.socket if SOCKPATH is not defined
  web: Remove reference to non-existent config files
  web: Add the links to ftp/http ctdb download area
  web: Add posix locking information to prerequisites
  doc: README - add information about CTDB, license and website
  build: Extract building of manpages in a separate Makefile
  packaging: 

[SCM] CTDB repository - annotated tag ctdb-2.0.0 deleted - ctdb-1.13-332-ge2213db

2012-10-25 Thread Amitay Isaacs
The annotated tag, ctdb-2.0.0 has been deleted
   was  e29f936515e60dd057627d3fc72ae67b3075305b

---
tag ctdb-2.0.0

CTDB version 2.0.0
e2213db479129ce9c2b2fb88ec8c53cbd33d54b3 Avoid a bashism in 60.ganesha
---


-- 
CTDB repository