git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v3 1/2] t/lib-http/apache.conf: load mod_unixd module in apache 2.4

From
Jacob Keller <jacob.e.keller@intel.com>
Date
Feb 25, 2016, 18:57 UTC
Message-ID
<1456426632-23257-1-git-send-email-jacob.e.keller@intel.com>
From: Jacob Keller <jacob.keller@gmail.com>

Since 2.4, apache will fail to load unless mod_unixd is loaded in order to drop privileges.

Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
---

I am not sure why this wasn't there already, but I am unable to run httpd 2.4.18 without it, on Fedora 23.

 t/lib-httpd/apache.conf | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/t/lib-httpd/apache.conf b/t/lib-httpd/apache.conf
index 7d15e6d44c83..f667e7ce2f33 100644
--- a/t/lib-httpd/apache.conf
+++ b/t/lib-httpd/apache.conf
@@ -64,6 +64,9 @@ LockFile accept.lock
 <IfModule !mod_mpm_prefork.c>
 	LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
 </IfModule>
+<IfModule !mod_unixd.c>
+	LoadModule unixd_module modules/mod_unixd.so
+</IfModule>
 </IfVersion>
 
 PassEnv GIT_VALGRIND
-- 
2.7.1.429.g45cd78e
Next: Jacob Keller
Message 1 of 15 in “t/lib-http/apache.conf: load mod_unixd module in apache 2.4”
  1. 1/2 t/lib-http/apache.conf: load mod_unixd module in apache 2.4Jacob Keller, Feb 25, 2016
  2. 2/2 git: submodule honor -c credential.* from command lineJacob Keller, Feb 25, 2016
  3. Eric SunshineFeb 26, 2016
  4. Jacob KellerFeb 26, 2016
  5. Eric SunshineFeb 26, 2016
  6. Jacob KellerFeb 26, 2016
  7. Jeff KingFeb 26, 2016
  8. Jacob KellerFeb 26, 2016
  9. Jeff KingFeb 25, 2016
  10. Junio C HamanoFeb 25, 2016
  11. Junio C HamanoFeb 25, 2016
  12. Junio C HamanoFeb 25, 2016
  13. Jacob KellerFeb 25, 2016
  14. Junio C HamanoFeb 25, 2016
  15. Jacob KellerFeb 25, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.