Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227795 - net-analyzer/nagios-3.0.2 web interface won't run due to permission error
Summary: net-analyzer/nagios-3.0.2 web interface won't run due to permission error
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 13:11 UTC by hexa
Modified: 2008-06-24 18:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hexa 2008-06-17 13:11:49 UTC
Cgi scripts from nagios which apache runs try to access /etc/nagios/*.cfg files. They can't since they are running under user apache and scripts are under user nagios. I added user apache to nagios group and it started working.

nadzor nagios # tail -n 1 /etc/group
nagios:x:442:apache


Reproducible: Always

Steps to Reproduce:
install nagios
run nagios 
access it from apache
Actual Results:  
it says it can't access the cfg files

Expected Results:  
working web page showing nagios status
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-17 14:00:43 UTC
As hinted in red letters, "Gentoo Bugzilla" is not the correct product to file bugs regarding ebuilds. Please use "New -> Gentoo Linux -> Component: Ebuilds" in future.
Comment 2 hexa 2008-06-17 14:27:53 UTC
I'm sorry for that. Was in a hurry.
I see you already fixed this.
Comment 3 hexa 2008-06-17 14:28:38 UTC
to rephrase that. bug is not fixed, but the category of it was corrected.
Comment 4 Tobias Scherbaum (RETIRED) gentoo-dev 2008-06-24 18:18:30 UTC
(In reply to comment #0)
> Cgi scripts from nagios which apache runs try to access /etc/nagios/*.cfg
> files. They can't since they are running under user apache and scripts are
> under user nagios. I added user apache to nagios group and it started working.
> 
> nadzor nagios # tail -n 1 /etc/group
> nagios:x:442:apache
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> install nagios
> run nagios 
> access it from apache
> Actual Results:  
> it says it can't access the cfg files
> 
> Expected Results:  
> working web page showing nagios status
> 

[ ] You did read the postinstall messages.
[X] Please do so.