PacketFence - BTS - PacketFence | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000780 | PacketFence | public | 2009-08-19 16:19 | 2009-10-16 16:27 | |
Reporter | obilodeau | ||||
Assigned To | obilodeau | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
fixed in git revision | |||||
fixed in mtn revision | |||||
Summary | 0000780: violation.log cannot be appended when a violation is triggered in the browser | ||||
Description | The new violation types introduced with packetfence 1.8.4 can be triggered from code running in the browser. This has the effect that if the violation action is log, apache needs to be able to write in the log. [Tue Jul 14 14:43:06 2009] [error] [client 192.168.2.253] Uncaught exception from user code: [Tue Jul 14 14:43:06 2009] [error] [client 192.168.2.253] \tUnable to open /usr/local/pf/logs/violation.log for append: Permission denied at /usr/local/pf/lib/pf/violation.pm line 361 [Tue Jul 14 14:43:06 2009] [error] [client 192.168.2.253] at /usr/local/pf/lib/pf/action.pm line 207 [Tue Jul 14 14:43:06 2009] [error] [client 192.168.2.253] \tpf::action::action_log('00:12:f0:13:32:ba', 1100003) called at /usr/local/pf/lib/pf/action.pm line 143 [Tue Jul 14 14:43:06 2009] [error] [client 192.168.2.253] \tpf::action::action_execute('00:12:f0:13:32:ba', 1100003, '') called at /usr/local/pf/lib/pf/violation.pm line 361 [Tue Jul 14 14:43:06 2009] [error] [client 192.168.2.253] \tpf::violation::violation_add('00:12:f0:13:32:ba', 1100003, 'vid', 1100003, 'mac', '00:12:f0:13:32:ba') called at /usr/local/pf/bin/pfcmd line 1772 [Tue Jul 14 14:43:06 2009] [error] [client 192.168.2.253] \tmain::command_param('violation') called at /usr/local/pf/bin/pfcmd line 217 What I don't get is that apache runs as user pf so it should be able to do so. This will need further investigation. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-08-19 16:19 | obilodeau | New Issue | |||
2009-08-20 14:39 | obilodeau | Status | new => assigned | ||
2009-08-20 14:39 | obilodeau | Assigned To | => obilodeau | ||
2009-10-15 15:09 | rbalzard | Note Added: 0001338 | |||
2009-10-15 15:09 | rbalzard | Status | assigned => feedback | ||
2009-10-16 16:27 | rbalzard | Note Added: 0001350 | |||
2009-10-16 16:27 | rbalzard | Status | feedback => closed | ||
2009-10-16 16:27 | rbalzard | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|