Package: snmpd
Version: 5.4.3~dfsg-2
Severity: normal

| If the status action is requested, the init script will return the following 
exit status codes.
|
| 0   program is running or service is OK
| 1   program is dead and /var/run pid file exists
| 2   program is dead and /var/lock lock file exists
| 3   program is not running
| 4   program or service status is unknown

  -- 
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

snmpd's init script uses status_of_proc in the status option code
but due to lack of pid files (see #611668) this seems to go wrong:

# /etc/init.d/snmpd status
snmpd is not running ... failed!
snmptrapd is not running ... failed!
# echo $?
1

This means snmpd can't be integrated in cluster setups with its
current initscript, see
http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/ap-lsb.html

regards,
-mika-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2011-02-28t13-28...@devnull.michael-prokop.at

Reply via email to