autobuild[sn-devel-144]: intermittent test failure detected

2017-05-15 Thread autobuild
The autobuild test system (on sn-devel-144) 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.sn-devel-144/2017-05-16-0327/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-144/2017-05-16-0327/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-144/2017-05-16-0327/samba.stdout
  
The top commit at the time of the failure was:

commit 9b5078919796da8dd7893e0a4f716dc1f1991de5
Author: Amitay Isaacs 
Date:   Thu Apr 20 14:34:54 2017 +1000

ctdb-tests: Use tighter pattern for matching expected output

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12792

Signed-off-by: Amitay Isaacs 
Reviewed-by: Martin Schwenke 

Autobuild-User(master): Martin Schwenke 
Autobuild-Date(master): Mon May 15 08:08:10 CEST 2017 on sn-devel-144



autobuild[sn-devel-144]: intermittent test failure detected

2017-05-15 Thread autobuild
The autobuild test system (on sn-devel-144) 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.sn-devel-144/2017-05-15-2137/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-144/2017-05-15-2137/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-144/2017-05-15-2137/samba.stdout
  
The top commit at the time of the failure was:

commit 9b5078919796da8dd7893e0a4f716dc1f1991de5
Author: Amitay Isaacs 
Date:   Thu Apr 20 14:34:54 2017 +1000

ctdb-tests: Use tighter pattern for matching expected output

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12792

Signed-off-by: Amitay Isaacs 
Reviewed-by: Martin Schwenke 

Autobuild-User(master): Martin Schwenke 
Autobuild-Date(master): Mon May 15 08:08:10 CEST 2017 on sn-devel-144



[SCM] pam wrapper repository - branch master updated

2017-05-15 Thread Andreas Schneider
The branch, master has been updated
   via  7d45bbb Bump version to 1.0.4
   via  c6bb9df pwrap: Do not leak srcfd on error
  from  80f27a3 pam_wrapper: Fix the build without pam_vsyslog

https://git.samba.org/?p=pam_wrapper.git;a=shortlog;h=master


- Log -
commit 7d45bbb5c308e322901e90642b4dcf0a4bee200f
Author: Andreas Schneider 
Date:   Mon May 15 16:37:44 2017 +0200

Bump version to 1.0.4

Signed-off-by: Andreas Schneider 
Reviewed-by: Kai Blin 

commit c6bb9dfe74c51621587cc92c496fcde4721e6a6b
Author: Andreas Schneider 
Date:   Tue Apr 11 08:39:44 2017 +0200

pwrap: Do not leak srcfd on error

Signed-off-by: Andreas Schneider 
Reviewed-by: Kai Blin 

---

Summary of changes:
 CMakeLists.txt| 2 +-
 ChangeLog | 4 
 src/pam_wrapper.c | 3 ++-
 3 files changed, 7 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a929eb2..f03a137 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ set(APPLICATION_NAME ${PROJECT_NAME})
 
 set(APPLICATION_VERSION_MAJOR "1")
 set(APPLICATION_VERSION_MINOR "0")
-set(APPLICATION_VERSION_PATCH "3")
+set(APPLICATION_VERSION_PATCH "4")
 
 set(APPLICATION_VERSION 
"${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}")
 
diff --git a/ChangeLog b/ChangeLog
index c2be509..8440261 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 ChangeLog
 ==
 
+version 1.0.4 (released 2017-05-15)
+  * Fix build on OpenBSD
+  * Fix a resource leak
+
 version 1.0.3 (released 2017-04-06)
   * Fixed some build issues with strict compiler flags
   * Logging to syslog is disabled by default
diff --git a/src/pam_wrapper.c b/src/pam_wrapper.c
index 889c79a..4be8146 100644
--- a/src/pam_wrapper.c
+++ b/src/pam_wrapper.c
@@ -553,7 +553,8 @@ static int p_copy(const char *src, const char *dst, const 
char *pdir, mode_t mod
if (mode == 0) {
rc = fstat(srcfd, );
if (rc != 0) {
-   return -1;
+   rc = -1;
+   goto out;
}
mode = sb.st_mode;
}


-- 
pam wrapper repository



[SCM] pam wrapper repository - annotated tag pam_wrapper-1.0.4 created

2017-05-15 Thread Andreas Schneider
The annotated tag, pam_wrapper-1.0.4 has been created
at  ed5f46a88135870e1f8d0bf4e88376a3709352eb (tag)
   tagging  7d45bbb5c308e322901e90642b4dcf0a4bee200f (commit)
  replaces  pam_wrapper-1.0.3
 tagged by  Andreas Schneider
on  Mon May 15 17:22:13 2017 +0200

- Log -
pam_wrapper-1.0.4
-BEGIN PGP SIGNATURE-

iQIzBAABCAAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAlkZx6kACgkQfuD8TcwB
Tj2U7w//dGdGRDkD6qpXAG15TzPMG5K85PAloLk14a2uUD1bYqp+zrN95y7SNRTf
A59vIXJFe4maDRTiZp6IQfkJ0cMir294DL7R6dGd+qAaultw4cdS/sFcF9PxaGoa
4/0zcRagDi6ZgCQvT4M1zBXbHnyUaZlggGQJpRszsMP1Q7hUaa6ntDszfuKRZDif
kZEnYnlSATbEx1t5xwlvrXj8p02+kOhtqGujeNnTzMvG5BSeIiGW5W83uSVtBHr3
pIcMfC0+L17cVDXgB+Az6V9Gg8UPPTNJaRoty+jcb5qnWrWrG1hBJDCjClr5RGRG
VC8OqzLsVakEJsiHejmMxQQ2RzrjdDNCFHIFqjyauVN1scE2adNgSRvWEX+sgo4j
g6KFdwVzMyPKSzpfAA/a9ZTTsskegXm7um+HBxckEyKiWZ7Mw4RZKyPH2kM7VssY
fS1MC05hFsqDZN25GwXXdUUj2QXkFqfHS2rPz/9aBfGRQfJCVw9jjAcamRsBTRI7
X25HUHE9jGLVDu0EKVaSoQYPZ+rfAfYldUwDGjXYkyRLDT+wLbRQgVvl5ezk2uDZ
6laaaNZAQJLViyWldrPT74uax+gtlEOJTn1oK6vpnE+HobU5YxW4zc+gOjZ2JXwL
wwqTTrsGEx7vVZkncZny5Pih18Zi/mFST0+w7DHi+WEh6FCtuwg=
=K4OR
-END PGP SIGNATURE-

Andreas Schneider (2):
  pwrap: Do not leak srcfd on error
  Bump version to 1.0.4

Volker Lendecke (1):
  pam_wrapper: Fix the build without pam_vsyslog

---


-- 
pam wrapper repository



autobuild[sn-devel-144]: intermittent test failure detected

2017-05-15 Thread autobuild
The autobuild test system (on sn-devel-144) 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.sn-devel-144/2017-05-15-0910/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-144/2017-05-15-0910/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-144/2017-05-15-0910/samba.stdout
  
The top commit at the time of the failure was:

commit 5098636c784df917fb038ac4822f7a863d9543de
Author: Jeremy Allison 
Date:   Thu May 11 16:15:56 2017 -0700

s4: nmblookup: Allocate event context off NULL instead of 
talloc_autofree_context().

It's already correctly freed on exit.

Signed-off-by: Jeremy Allison 
Reviewed-by: Ralph Boehme 

Autobuild-User(master): Ralph Böhme 
Autobuild-Date(master): Sat May 13 21:01:25 CEST 2017 on sn-devel-144



[SCM] Samba Shared Repository - branch master updated

2017-05-15 Thread Martin Schwenke
The branch, master has been updated
   via  9b50789 ctdb-tests: Use tighter pattern for matching expected output
   via  3db5728 ctdb-tests: Explicitly search for the specific log entry
  from  5098636 s4: nmblookup: Allocate event context off NULL instead of 
talloc_autofree_context().

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


- Log -
commit 9b5078919796da8dd7893e0a4f716dc1f1991de5
Author: Amitay Isaacs 
Date:   Thu Apr 20 14:34:54 2017 +1000

ctdb-tests: Use tighter pattern for matching expected output

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12792

Signed-off-by: Amitay Isaacs 
Reviewed-by: Martin Schwenke 

Autobuild-User(master): Martin Schwenke 
Autobuild-Date(master): Mon May 15 08:08:10 CEST 2017 on sn-devel-144

commit 3db572832e9b99ea5b6d531d3b7331b8c0131fd6
Author: Amitay Isaacs 
Date:   Tue Mar 7 16:52:26 2017 +1100

ctdb-tests: Explicitly search for the specific log entry

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12792

... instead of expecting the last line to be the matching log entry.

Signed-off-by: Amitay Isaacs 
Reviewed-by: Martin Schwenke 

---

Summary of changes:
 ctdb/tests/eventd/eventd_051.sh| 2 +-
 ctdb/tests/eventd/scripts/local.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/ctdb/tests/eventd/eventd_051.sh b/ctdb/tests/eventd/eventd_051.sh
index 213965a..46162de 100755
--- a/ctdb/tests/eventd/eventd_051.sh
+++ b/ctdb/tests/eventd/eventd_051.sh
@@ -20,4 +20,4 @@ simple_test run monitor 30
 required_result 0 <