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

Bug 34355

Summary: nagios-nrpe does not check for nagios user/group
Product: Gentoo Linux Reporter: Davin Boling <davin>
Component: New packagesAssignee: Dean Bailey <alron>
Status: RESOLVED FIXED    
Severity: normal CC: lanius
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 29607    

Description Davin Boling 2003-11-25 13:04:47 UTC
nagios-nrpe is a package that allows nagios plugins to be executed on machines
which nagios is not installed on. Currently, /etc/nagios/nrpe.cfg AND
/etc/init.d/nrpe depend on the nagios user/group, but installing nagios-nrpe by
itself (a perfectly sane practice) does not create this user and group. I
recommend adding a check in the ebuild to see if these already exist, and if
not, they should be added to the system. Without this step, the ebuild will not
work "out of the box".

Reproducible: Always
Steps to Reproduce:
1. emerge net-analyzer/nagios-nrpe
2. customize /etc/nagios/nrpe.cfg (not required to generate bug)
3. /etc/init.d/nrpe start

Actual Results:  
 * Starting nrpe...
start-stop-daemon: group `nagios' not found

 * Failed to Start nrpe                                                   [ !! ]

Expected Results:  
nrpe should start without an error.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-06 13:31:13 UTC
fixed in 1.8-r1 :)