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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ben Greear <greearb@xxxxxxxxxxxxxxx>

Add note so that the user has a chance to find it more easily.

Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx>
---
 hs20/server/www/spp.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hs20/server/www/spp.php b/hs20/server/www/spp.php
index c56d3d69e..77a2ebb44 100644
--- a/hs20/server/www/spp.php
+++ b/hs20/server/www/spp.php
@@ -141,6 +141,9 @@ $addr = $_SERVER["REMOTE_ADDR"];
 putenv("HS20ADDR=$addr");
 putenv("HS20TEST=$test");
 
+// 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);
 
 if ($ret == 2) {
-- 
2.20.1


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux