Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418297 - net-analyzer/nagios-nrpe installs /etc/init.d/nrpe with wrong permissions
Summary: net-analyzer/nagios-nrpe installs /etc/init.d/nrpe with wrong permissions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on: 410891
Blocks:
  Show dependency tree
 
Reported: 2012-05-30 19:40 UTC by Doug Warner
Modified: 2012-06-07 00:10 UTC (History)
2 users (show)

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 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!