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

Bug 507542

Summary: net-analyzer/nrpe could use readme.gentoo.eclass
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Sysadmin Bugs <sysadmin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2014-04-13 08:06:58 UTC
Replacing this:
        elog "If you are using the nrpe daemon, remember to edit"
        elog "the config file /etc/nagios/nrpe.cfg"

And, then, not logging it every time the package is installed

I can do the transition if you prefer

Thanks
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-04-19 17:15:08 UTC
do it
Comment 2 Pacho Ramos gentoo-dev 2014-04-19 17:32:06 UTC
I have seen this at pkg_setup:
        elog "If you plan to use \"nrpe_check_control\" then you may want to specify"
        elog "different command and services files. You can override the defaults"
        elog "through the \"NAGIOS_COMMAND_FILE\" and \"NAGIOS_SERVICES_FILE\" environment variables."
        elog "NAGIOS_COMMAND_FILE=${NAGIOS_COMMAND_FILE:-/var/rw/nagios.cmd}" 
        elog "NAGIOS_SERVICES_FILE=${NAGIOS_SERVICES_FILE:-/etc/services.cfg}"

Not sure if maybe it could also fit at pkg_postinst and, then, be treated as:
        elog "If you are using the nrpe daemon, remember to edit"
        elog "the config file /etc/nagios/nrpe.cfg"

with readme.gentoo.eclass :/
Comment 3 Jaco Kroon 2021-03-10 15:10:47 UTC
These mentioned warnings and logs are no longer in the newest ebuilds.  Closing as FIXED since it got resolved somewhere along the line.