PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001544PacketFencesohpublic2012-09-11 09:332015-02-13 15:42
Reporterobilodeau 
Assigned To 
PrioritylowSeverityminorReproducibilityrandom
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001544: SoH configuration page fails to load because of config file permissions
DescriptionPage doesn't load. A perl CGI fatal error is shown (see add infos).

User environment information:

[root@pf-zen-esx pf]# rpm -q packetfence
packetfence-3.5.0-1.el6.noarch

[root@pf-zen-esx pf]# ls -l /usr/local/pf/conf/{pf,float,network}*.conf*
-rw-r--r-- 1 pf   pf     242 Aug  1 12:34 
/usr/local/pf/conf/floating_network_device.conf
-rw-r--r-- 1 root root   528 Sep  1 18:46 /usr/local/pf/conf/networks.conf
-rw------- 1 root root   521 Sep  1 18:51 /usr/local/pf/conf/pf.conf
-rw-r--r-- 1 pf   pf   24187 Aug  1 12:34 
/usr/local/pf/conf/pf.conf.defaults

[root@pf-zen-esx pf]# uname -a
Linux pf-zen-esx.packetfence.org 2.6.32-279.2.1.el6.x86_64 # 1 SMP Fri Jul 20 
01:55:29 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


It is a permission issue. Apache runs as pf and the configuration is owned by root and not even readable.
Additional InformationError message:
Software error:

Fatal error preventing configuration to load. Please review your 
configuration. Error: Can't call method "Sections" on an undefined value at 
/usr/local/pf/lib/pf/config.pm line 304. at /usr/local/pf/lib/pf/config.pm 
line 248
Compilation failed in require at /usr/local/pf/html/admin/soh.cgi line 27.
BEGIN failed--compilation aborted at /usr/local/pf/html/admin/soh.cgi line 
27.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships
related to 0000960closed pfcmd changes the config files ownership when called at command line 

-  Notes
(0003817)
lmunro (administrator)
2015-02-13 15:42

These bugs have been sitting untouched since 2012.
Closing them and possibly reopening in github tracker where relevant.

- Issue History
Date Modified Username Field Change
2012-09-11 09:33 obilodeau New Issue
2012-09-11 09:38 obilodeau Description Updated
2012-09-11 09:39 obilodeau Relationship added related to 0000960
2015-02-13 15:42 lmunro Note Added: 0003817
2015-02-13 15:42 lmunro Status new => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker