PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000780PacketFencepublic2009-08-19 16:192009-10-16 16:27
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000780: violation.log cannot be appended when a violation is triggered in the browser
DescriptionThe 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.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships

-  Notes
(0001338)
rbalzard (administrator)
2009-10-15 15:09

I can't reproduce it. it looks good when I test it, everything work fine.
Is it still an issue ?
(0001350)
rbalzard (administrator)
2009-10-16 16:27

cannot reproduce it. closing the ticket

- 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


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker