Re: [PATCH 1/3] t/lib-httpd: dynamically detect httpd and modules path
- From
Jeff King <peff@peff.net>
- Date
- Nov 8, 2023, 16:44 UTC
- Message-ID
- <20231108164432.GA1028115@coredump.intra.peff.net>
- In-Reply-To
- <ZUtmAyVHO4ROhLEq@tanuki>
On Wed, Nov 08, 2023 at 11:42:11AM +0100, Patrick Steinhardt wrote:
> I was a bit torn myself when writing this. I can also see a potential > future where we would drop the hardcoded list of locations altogether in > favor of always using PATH. After all we already rely on PATH to resolve > other tools as well, so why should httpd be special there?
httpd/apache2 is often in sbin, which is not as commonly found in the PATH of regular users. E.g., this is the case on Debian (it is /sbin/apache2, and a newly created user will not have that in their PATH).
-Peff