| Summary: | net-snmp-5.6.1 init scripts don't inhale from /etc/conf.d | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Scott Bertilson <ssb> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
My mistake already handled. |
The supplied init scripts (files/snmpd.init and files/snmptrapd.init) use but do not inhale options from /etc/conf.d/<daemon>. Something like: --- snmpd.init 2009-10-16 03:51:05.000000000 -0500 +++ snmpd.init.new 2011-09-07 18:28:50.990000046 -0500 @@ -10,6 +10,7 @@ need net } +[ -e /etc/conf.d/snmpd ] && . /etc/conf.d/snmpd SNMPD_PIDFILE="${SNMPD_PIDFILE:-/var/run/snmpd.pid}" checkconfig() { and --- snmptrapd.init 2009-10-16 03:51:05.000000000 -0500 +++ snmptrapd.init.new 2011-09-07 18:29:44.693534606 -0500 @@ -8,6 +8,7 @@ need net } +[ -e /etc/conf.d/snmptrapd ] && . /etc/conf.d/snmptrapd SNMPTRAPD_PIDFILE="${SNMPTRAPD_PIDFILE:-/var/run/snmptrapd.pid}" start() {