[PATCH 05/12] hs20-spp-html: apache + systemd hides the log file.

Ben Greear greearb
Sat Mar 28 08:44:15 PDT 2015


It seems that apache is running in some sort of chroot on my systems,
so no matter what you set the log file to, it's going to be hidden off
in this temp directory.

We can still configure it within that chroot though if you want.

Ben

On 03/28/2015 02:17 AM, Jouni Malinen wrote:
> On Thu, Mar 26, 2015 at 05:39:51PM -0400, greearb at candelatech.com wrote:
>> Add note so that the user has a chance to find it more easily.
>> diff --git a/hs20/server/www/spp.php b/hs20/server/www/spp.php
>> +// Note that systemd + apache may run under chroot, and so your log file will
>> +// be in some hard-to-find place like:
>> +// /tmp/systemd-httpd.service-XqgPdBa/tmp/hs20_spp_server.log
>>   $last = exec("$osu_root/spp/hs20_spp_server -r$osu_root -f/tmp/hs20_spp_server.log", $output, $ret);
>
> I would much rather provide means for configuring the log file path in
> config.php.
>

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Hostap mailing list