Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233859 - net-analyzer/nagios-nrpe-2.12 can't create a pid file in /var/run since it is run as nagios:nagios
Summary: net-analyzer/nagios-nrpe-2.12 can't create a pid file in /var/run since it is...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-03 23:45 UTC by Andreas Vinsander
Modified: 2008-08-04 15:55 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 Andreas Vinsander 2008-08-03 23:45:45 UTC
The default /etc/nagios/nrpe.cfg file states that /var/run/nrpe.pid should be created when /etc/init.d/nrpe is started. But nrpe is run as nagios:nagios.

I think /var/run/nrpe/nrpe.pid is a better place, with /var/run/nrpe owned by nagios:nagios.

Reproducible: Always
Comment 1 Tobias Scherbaum (RETIRED) gentoo-dev 2008-08-04 15:55:38 UTC
Thanks for reporting!

This is fixed in nagios-nrpe-2.12-r1 (for nagios-2) and nagios-nrpe-2.12-r102 (for nagios-3).