[Pkg-net-snmp-devel] Bug#615846: snmpd: init script using wrong return code on option "status"

Michael Prokop mika at debian.org
Thu Apr 12 21:32:54 UTC 2012


* Ignace Mouzannar [Thu Apr 12, 2012 at 12:11:57PM -0400]:
> On Mon, 2011-02-28 at 13:30 +0100, Michael Prokop wrote:

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

> I am unable to reproduce this on a freshly installed Squeeze, using the
> same package version.

> ----
> ~# /etc/init.d/snmpd status
> snmpd is not running ... failed!
> snmptrapd is not running ... failed!
> ~# echo $?
> 3
> ----

> Using:
> ----
> ii  snmpd                            5.4.3~dfsg-2                 SNMP
> (Simple Network Management Protocol) agents
> ----

> Are you still experiencing the same issue? 

No, I sadly (well, luckily on the other hand) can no longer
reproduce this issue on current squeeze installations.

Feel free to close the bugreport.

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20120412/d069c9a0/attachment.pgp>


More information about the Pkg-net-snmp-devel mailing list