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

lib-httpd/apache.conf and mod_unixd.so

From
Duy Nguyen <pclouds@gmail.com>
Date
Jun 12, 2016, 10:48 UTC
Message-ID
<CACsJy8D8e2R9YZGGFQR-AC0OtWWYriuJoTmvtG4VuqdfPZGXeQ@mail.gmail.com>

I need help from apache experts. On my system (gentoo 64bit, apache-2.4.20), running an httpd test gives me

-- 8< -- Initialized empty Git repository in /home/pclouds/w/git/temp/t/trash directory.t5539-fetch-http-shallow/.git/ checking prerequisite: NOT_ROOT

mkdir -p "$TRASH_DIRECTORY/prereq-test-dir" &&
(
        cd "$TRASH_DIRECTORY/prereq-test-dir" &&
        uid=$(id -u) &&
        test "$uid" != 0
)
prerequisite NOT_ROOT ok
[Sun Jun 12 10:42:19.958873 2016] [core:crit] [pid 31585] AH00136:
Server MUST relinquish startup privileges before accepting
connections.  Please ensure mod_unixd or other system security module
is loaded.
AH00016: Configuration Failed
1..0 # SKIP web server setup failed
-- 8< --

A quick search shows that loading mod_unixd.so will do (and did make httpd run for me). Problem is, can I just update apache.conf to load it when apache version >= 2.4? I don't know if doing that would cause failure for other people because mod_unixd has existed since 2.2 and people have run httpd tests fine so far...

-- 
Duy
Next: Jeff King
Message 1 of 3 in “lib-httpd/apache.conf and mod_unixd.so”
  1. Duy NguyenJun 12, 2016
  2. Jeff KingJun 12, 2016
  3. Duy NguyenJun 12, 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.