Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507542 - net-analyzer/nrpe could use readme.gentoo.eclass
Summary: net-analyzer/nrpe could use readme.gentoo.eclass
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sysadmin Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-13 08:06 UTC by Pacho Ramos
Modified: 2014-04-19 17:32 UTC (History)
0 users

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 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 :/