{"thread":{"id":"42583","subject":"lib-httpd/apache.conf and mod_unixd.so","startedAt":"2016-06-16T02:19:52Z","lastAt":"2016-06-16T02:19:53Z","messageCount":3,"participants":["Duy Nguyen","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"289027","messageId":"CACsJy8D8e2R9YZGGFQR-AC0OtWWYriuJoTmvtG4VuqdfPZGXeQ@mail.gmail.com","threadId":"42583","inReplyTo":null,"subject":"lib-httpd/apache.conf and mod_unixd.so","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2016-06-12T10:48:42Z","receivedAt":"2016-06-16T02:19:52Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"I need help from apache experts. On my system (gentoo 64bit,\napache-2.4.20), running an httpd test gives me\n\n-- 8< --\nInitialized empty Git repository in /home/pclouds/w/git/temp/t/trash\ndirectory.t5539-fetch-http-shallow/.git/\nchecking prerequisite: NOT_ROOT\n\nmkdir -p \"$TRASH_DIRECTORY/prereq-test-dir\" &&\n(\n        cd \"$TRASH_DIRECTORY/prereq-test-dir\" &&\n        uid=$(id -u) &&\n        test \"$uid\" != 0\n\n)\nprerequisite NOT_ROOT ok\n[Sun Jun 12 10:42:19.958873 2016] [core:crit] [pid 31585] AH00136:\nServer MUST relinquish startup privileges before accepting\nconnections.  Please ensure mod_unixd or other system security module\nis loaded.\nAH00016: Configuration Failed\n1..0 # SKIP web server setup failed\n-- 8< --\n\nA quick search shows that loading mod_unixd.so will do (and did make\nhttpd run for me). Problem is, can I just update apache.conf to load\nit when apache version >= 2.4? I don't know if doing that would cause\nfailure for other people because mod_unixd has existed since 2.2 and\npeople have run httpd tests fine so far...\n-- \nDuy\n"},{"id":"289057","messageId":"20160612130044.GB15289@sigill.intra.peff.net","threadId":"42583","inReplyTo":"CACsJy8D8e2R9YZGGFQR-AC0OtWWYriuJoTmvtG4VuqdfPZGXeQ@mail.gmail.com","subject":"Re: lib-httpd/apache.conf and mod_unixd.so","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2016-06-12T13:00:44Z","receivedAt":"2016-06-16T02:19:53Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Sun, Jun 12, 2016 at 05:48:42PM +0700, Duy Nguyen wrote:\n\n> A quick search shows that loading mod_unixd.so will do (and did make\n> httpd run for me). Problem is, can I just update apache.conf to load\n> it when apache version >= 2.4? I don't know if doing that would cause\n> failure for other people because mod_unixd has existed since 2.2 and\n> people have run httpd tests fine so far...\n\nAre you running a version that has 5922322 (t/lib-httpd: load mod_unixd,\n2015-05-11)?\n\n-Peff\n"},{"id":"289059","messageId":"CACsJy8BSF0PxkHoEXkW7nT4dn2ELnUuQA4VZSNZYgVWwerb-kA@mail.gmail.com","threadId":"42583","inReplyTo":"20160612130044.GB15289@sigill.intra.peff.net","subject":"Re: lib-httpd/apache.conf and mod_unixd.so","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2016-06-12T14:20:58Z","receivedAt":"2016-06-16T02:19:53Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Sun, Jun 12, 2016 at 8:00 PM, Jeff King <peff@peff.net> wrote:\n> On Sun, Jun 12, 2016 at 05:48:42PM +0700, Duy Nguyen wrote:\n>\n>> A quick search shows that loading mod_unixd.so will do (and did make\n>> httpd run for me). Problem is, can I just update apache.conf to load\n>> it when apache version >= 2.4? I don't know if doing that would cause\n>> failure for other people because mod_unixd has existed since 2.2 and\n>> people have run httpd tests fine so far...\n>\n> Are you running a version that has 5922322 (t/lib-httpd: load mod_unixd,\n> 2015-05-11)?\n\nNope. This is nd/shallow-deepen which has a really old base. Good to\nknow it's already fixed.\n-- \nDuy\n"}]}