[Pkg-freeipa-devel] [Git][freeipa-team/certmonger][master] 2 commits: Revert-Don-t-close-STDERR-when-submitting-request.patch: Revert a commit which...

Timo Aaltonen gitlab at salsa.debian.org
Thu Apr 9 22:10:15 BST 2020



Timo Aaltonen pushed to branch master at FreeIPA packaging / certmonger


Commits:
43336b2e by Timo Aaltonen at 2020-04-09T22:28:28+03:00
Revert-Don-t-close-STDERR-when-submitting-request.patch: Revert a commit which for some reason causes server install to fail.

- - - - -
8fc294b8 by Timo Aaltonen at 2020-04-10T00:09:40+03:00
releasing package certmonger version 0.79.9-2

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/Revert-Don-t-close-STDERR-when-submitting-request.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+certmonger (0.79.9-2) unstable; urgency=medium
+
+  * Revert-Don-t-close-STDERR-when-submitting-request.patch: Revert a
+    commit which for some reason causes server install to fail.
+    (Closes: #955530)
+
+ -- Timo Aaltonen <tjaalton at debian.org>  Fri, 10 Apr 2020 00:06:30 +0300
+
 certmonger (0.79.9-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/patches/Revert-Don-t-close-STDERR-when-submitting-request.patch
=====================================
@@ -0,0 +1,28 @@
+From da9a41ef92bf2f3d9da34cbe7d0effb3a3277019 Mon Sep 17 00:00:00 2001
+From: Timo Aaltonen <tjaalton at debian.org>
+Date: Thu, 9 Apr 2020 22:11:04 +0300
+Subject: [PATCH] Revert "Don't close STDERR when submitting request"
+
+This reverts commit 205775f73f7eef7b207acccac6b853562adf604b.
+---
+ src/submit-e.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/submit-e.c b/src/submit-e.c
+index 69b4f8e2..d6158d7a 100644
+--- a/src/submit-e.c
++++ b/src/submit-e.c
+@@ -941,8 +941,8 @@ cm_submit_e_helper_main(int fd, struct cm_store_ca *ca,
+ 		}
+ 		return -1;
+ 	}
+-	cm_log(2, "Redirecting stdin to /dev/null, leaving stdout and stderr open for child \"%s\".\n", argv[0]);
+-	cm_subproc_mark_most_cloexec(STDOUT_FILENO, STDERR_FILENO, -1);
++	cm_log(2, "Redirecting stdin and stderr to /dev/null, leaving stdout open for child \"%s\".\n", argv[0]);
++	cm_subproc_mark_most_cloexec(STDOUT_FILENO, -1, -1);
+ 	cm_log(1, "Running enrollment helper \"%s\".\n", argv[0]);
+ 	execvp(argv[0], argv);
+ 	u = errno;
+-- 
+2.25.1
+


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
+Revert-Don-t-close-STDERR-when-submitting-request.patch
 fix-keythi-h-path.diff
 fix-service-environment.diff
 use-dbus-run-session.diff



View it on GitLab: https://salsa.debian.org/freeipa-team/certmonger/-/compare/078a1697b0138ccdea0865e1e2895a038bb39571...8fc294b8eec0391b645b66f01c6dc3fe9bb6feeb

-- 
View it on GitLab: https://salsa.debian.org/freeipa-team/certmonger/-/compare/078a1697b0138ccdea0865e1e2895a038bb39571...8fc294b8eec0391b645b66f01c6dc3fe9bb6feeb
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freeipa-devel/attachments/20200409/3cee8afd/attachment-0001.html>


More information about the Pkg-freeipa-devel mailing list