Your message dated Wed, 20 Dec 2006 17:17:18 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#401306: fixed in net-snmp 5.2.3-5 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: snmpd Version: 5.2.3-4 It seems that the /etc/init.d/snmpd script (in etch) fails to restart snmpd if it fails to stop snmpd or snmptrapd. It fails to take into account that snmptrapd might be disabled (TRAPDRUN=0). Here, start-stop-daemon successfully stops snmpd but then dies when trying to stop snmptrapd: # bash -x /etc/init.d/snmpd restart + set -e + test -x /usr/sbin/snmpd + test -x /usr/sbin/snmptrapd + export MIBDIRS=/usr/share/snmp/mibs + MIBDIRS=/usr/share/snmp/mibs + SNMPDRUN=yes + SNMPDOPTS='-Lsd -Lf /dev/null -p /var/run/snmpd.pid' + TRAPDRUN=no + TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid' + '[' -r /etc/default/snmpd ']' + . /etc/default/snmpd ++ export MIBDIRS=/usr/share/snmp/mibs ++ MIBDIRS=/usr/share/snmp/mibs ++ SNMPDRUN=yes ++ SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1' ++ TRAPDRUN=no ++ TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid' + cd / + case "$1" in + echo -n 'Restarting network management services:' Restarting network management services:+ start-stop-daemon --quiet --stop --exec /usr/sbin/snmpd How to reproduce (with default configuration files): apt-get install snmpd /etc/init.d/snmpd restart Expected behavior: an snmpd process is running. Observed behavior: snmpd failed to restart. System information: # dpkg --status snmpd Package: snmpd Status: install ok installed Priority: optional Section: net Installed-Size: 1056 Maintainer: Net-SNMP Packaging Team <[EMAIL PROTECTED]> Architecture: i386 Source: net-snmp Version: 5.2.3-4 Replaces: snmptraplogd Depends: libc6 (>= 2.3.6-6), libsensors3 (>= 1:2.10.1), libsnmp9 (>= 5.2.3), libwrap0, adduser, debconf Conflicts: snmp (<< 3.6-3), snmptraplogd Conffiles: /etc/default/snmpd a6bc1c3f7a7f23ece2e019cfa6dd6f2c /etc/snmp/snmpd.conf 152d349fcd18ec08f1a31cb4c3e2681b /etc/snmp/snmptrapd.conf a2ee110581a5a9a1e2252400cb176bcc /etc/init.d/snmpd 830572c85a626a06a109b0474f02ec6b Description: NET SNMP (Simple Network Management Protocol) Agents The Simple Network Management Protocol (SNMP) provides a framework for the exchange of management information between agents (servers) and clients. The NET SNMP agent is a daemon which listens for incoming SNMP requests from clients and provides responses. # uname -a Linux zaxxon 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 UTC 2006 i686 GNU/Linux A suggested fix: *** /etc/init.d/snmpd~ 2006-11-23 20:19:03.000000000 +0200 --- /etc/init.d/snmpd 2006-12-11 12:31:24.000000000 +0200 *************** *** 54,61 **** ;; restart) echo -n "Restarting network management services:" ! start-stop-daemon --quiet --stop --exec /usr/sbin/snmpd ! start-stop-daemon --quiet --stop --exec /usr/sbin/snmptrapd # Allow the daemons time to exit completely. sleep 2 if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then --- 54,61 ---- ;; restart) echo -n "Restarting network management services:" ! start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmpd ! start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmptrapd # Allow the daemons time to exit completely. sleep 2 if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then -- Tuomas
--- End Message ---
--- Begin Message ---Source: net-snmp Source-Version: 5.2.3-5 We believe that the bug you reported is fixed in the latest version of net-snmp, which is due to be installed in the Debian FTP archive: libsnmp-base_5.2.3-5_all.deb to pool/main/n/net-snmp/libsnmp-base_5.2.3-5_all.deb libsnmp-perl_5.2.3-5_sparc.deb to pool/main/n/net-snmp/libsnmp-perl_5.2.3-5_sparc.deb libsnmp9-dev_5.2.3-5_sparc.deb to pool/main/n/net-snmp/libsnmp9-dev_5.2.3-5_sparc.deb libsnmp9_5.2.3-5_sparc.deb to pool/main/n/net-snmp/libsnmp9_5.2.3-5_sparc.deb net-snmp_5.2.3-5.diff.gz to pool/main/n/net-snmp/net-snmp_5.2.3-5.diff.gz net-snmp_5.2.3-5.dsc to pool/main/n/net-snmp/net-snmp_5.2.3-5.dsc snmp_5.2.3-5_sparc.deb to pool/main/n/net-snmp/snmp_5.2.3-5_sparc.deb snmpd_5.2.3-5_sparc.deb to pool/main/n/net-snmp/snmpd_5.2.3-5_sparc.deb tkmib_5.2.3-5_all.deb to pool/main/n/net-snmp/tkmib_5.2.3-5_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jochen Friedrich <[EMAIL PROTECTED]> (supplier of updated net-snmp package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Wed, 20 Dec 2006 16:29:41 +0100 Source: net-snmp Binary: libsnmp9 tkmib snmp libsnmp-perl libsnmp-base libsnmp9-dev snmpd Architecture: source all sparc Version: 5.2.3-5 Distribution: unstable Urgency: low Maintainer: Net-SNMP Packaging Team <[EMAIL PROTECTED]> Changed-By: Jochen Friedrich <[EMAIL PROTECTED]> Description: libsnmp-base - NET SNMP (Simple Network Management Protocol) MIBs and Docs libsnmp-perl - NET SNMP (Simple Network Management Protocol) Perl5 Support libsnmp9 - NET SNMP (Simple Network Management Protocol) Library libsnmp9-dev - NET SNMP (Simple Network Management Protocol) Development Files snmp - NET SNMP (Simple Network Management Protocol) Apps snmpd - NET SNMP (Simple Network Management Protocol) Agents tkmib - NET SNMP (Simple Network Management Protocol) MIB Browser Closes: 367629 401306 402568 402685 403549 403614 Changes: net-snmp (5.2.3-5) unstable; urgency=low . * Fix restart of snmpd (Closes: #402568, #401306) * Add Spanish translation (Closes: #402685) Thanks to Javier Fernández-Sanguino Peña <[EMAIL PROTECTED]> * Add Brazilian Portuguese translation (Closes: #403549) Thanks to André LuÃs Lopes" <[EMAIL PROTECTED]> * Add patch to get rid of nasty memory management bug caused by duplicate IP addresses. (Closes: #403614, #367629) This might help for #370132, as well (unconfirmed). Files: ddb1da1f2db83c821e3aaf89ab888734 941 net optional net-snmp_5.2.3-5.dsc b9270227e5be29f5618bfb80c67c056c 87555 net optional net-snmp_5.2.3-5.diff.gz fc6fe80242bd76fe54599da2f83dd7da 1200110 libs optional libsnmp-base_5.2.3-5_all.deb fb9b402e57edcad370281b391df40537 854886 net optional tkmib_5.2.3-5_all.deb 985aa5b0b2939aaaccced23e7e7bbb43 833190 net optional snmpd_5.2.3-5_sparc.deb 432a8e987c81716840578a7c77058332 924684 net optional snmp_5.2.3-5_sparc.deb b41a7c9309ce99d5c726cc370a3b6864 1780736 libs optional libsnmp9_5.2.3-5_sparc.deb 1537b982365076a098a97c195c5dbcb6 1547422 libdevel optional libsnmp9-dev_5.2.3-5_sparc.deb 89affd471b5ba5b585993d9f88ff6032 917796 perl optional libsnmp-perl_5.2.3-5_sparc.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFiW5H0fhX0Y/ocz0RAjQPAKCXV1qlPOQnsspW/fEYcS9X0hpbugCgnvbS g30jdKQ9nNKZWiScCSMNsak= =kJTS -----END PGP SIGNATURE-----
--- End Message ---

