| Summary: | net-analyzer/nrpe fails to start after reboot due to /run | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Eric Martin <eric.joshua.martin> |
| Component: | Current packages | Assignee: | 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 | ||
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 |
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.