Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 460442

Summary: net-analyzer/nrpe fails to start after reboot due to /run
Product: Gentoo Linux Reporter: Eric Martin <eric.joshua.martin>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patchfile for /etc/init.d/nrpe

Description Eric Martin 2013-03-05 19:26:24 UTC
Created attachment 341034 [details, diff]
patchfile for /etc/init.d/nrpe

net-analyzer/nrpe will not start on a fresh boot since /var/run/nrpe isn't created because /var/run -> /run which is tmpfs.  I have included a patch that will check to see if the folder exists, and create it if not.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2013-03-06 09:46:25 UTC
The patch is wrong, especially since it's running in global scope.

Besides, a fresh install wouldn't have the problem; if it's an upgrade, just change the pidfile in the configuration files:

# PID FILE
# The name of the file in which the NRPE daemon should write it's process ID
# number.  The file is only written if the NRPE daemon is started by the root
# user and is running in standalone mode.

pid_file=/run/nrpe.pid