snmpd init status script doesn't check $SNMPDRUN or $SNMPDRUN
Bug #886426 reported by
William Van Hevelingen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Debian) |
Fix Released
|
Unknown
|
|||
net-snmp (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
The init script for snmpd should check the $SNMPDRUN and $TRAPDRUN variables before returning the status
Example:
------------
SNMPDRUN=yes
TRAPDRUN=no
root@hydralisk:~# service snmpd status
* snmpd is running
* snmptrapd is not running
snmptrapd should not return status if TRAPDRUN=no and vice versa
Changed in net-snmp (Ubuntu): | |
importance: | Undecided → Low |
Changed in net-snmp (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Thanks for taking the time to submit this bug report.
While I can see your suggestion making sense, I don't know of any other init jobs which behave that way. I will certainly leave the bug open in case a maintainer sees it differently.