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

Bug 418297

Summary: net-analyzer/nagios-nrpe installs /etc/init.d/nrpe with wrong permissions
Product: Gentoo Linux Reporter: Doug Warner <doug>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: idl0r, kbonner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 410891    
Bug Blocks:    

Description Doug Warner 2012-05-30 19:40:53 UTC
/etc/init.d/nrpe ends up being installed w/ mode 0750 and owned by nagios:nagios; I believe this is due to this in src_install():

exeopts -m0750 -o nagios -g nagios

This should either be reverted after the specific block that needs it or be changed per-install component.  The init script has to be started by root, so it doesn't make sense for it to be executable by nagios.

Reproducible: Always
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2012-06-07 00:10:36 UTC
Fixed in net-analyzer/nagios-nrpe-2.13. Thanks!