Re: [PATCH 1/3] t/lib-httpd: load mod_unixd
- From
Jeff King <peff@peff.net>
- Date
- Apr 10, 2015, 03:09 UTC
- Message-ID
- <20150410030913.GA11280@peff.net>
- In-Reply-To
- <55264615.2050107@drmicha.warpmail.net>
On Thu, Apr 09, 2015 at 11:27:49AM +0200, Michael J Gruber wrote:
Show 7 quoted lines
> In my case (apache 2.4, fedora 21), t/lib-http.sh failed to start the > web server, so the tests above would (succeed trivially but) not run. > > Maybe debian is using an apache default config that has mod_unixd built > in, to ease the transition from apache 2.2? Many were bitten by these > new requirements after the switch to 2.4, and some distros may have > worked around that.
Yes, this is exactly it. On my Debian system:
$ apache2 -l
Compiled in modules:
core.c
mod_so.c
mod_watchdog.c
http_core.c
mod_log_config.c
mod_logio.c
mod_version.c
mod_unixd.c> Do your tests run with this patch applied?
Yes. I think your patch is fine, as the IfModule means we handle both the built-in and dynamic cases.
-Peff