Your message dated Sat, 26 Apr 2014 05:33:45 +0000 with message-id <[email protected]> and subject line Bug#745828: fixed in net-snmp 5.7.2.1~dfsg-4 has caused the Debian Bug report #745828, regarding snmpd: /etc/init.d/snmpd has incorrect sequence of options passed to start-stop-daemon 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 745828: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745828 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: snmpd Version: 5.7.2.1~dfsg-3 Severity: normal Dear Maintainer, When stopping snmpd, the following is observed: # /etc/init.d/snmpd stop Stopping SNMP services::start-stop-daemon: unable to stat //--retry (No such file or directory) rm: cannot remove '/run/snmpd.pid': No such file or directory The modified /etc/init.d/snmpd is included and the patch is given below: --- snmpd~ 2014-04-09 11:08:38.000000000 -0400 +++ snmpd 2014-04-25 11:51:40.010341769 -0400 @@ -52,12 +52,12 @@ ;; stop) log_daemon_msg "Stopping SNMP services:" - start-stop-daemon --quiet --stop --oknodo --exec --retry 3 /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID + start-stop-daemon --quiet --stop --oknodo --retry 3 --exec /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID log_progress_msg " snmpd" ;; restart) log_daemon_msg "Restarting SNMP services:" - start-stop-daemon --quiet --stop --oknodo --exec --retry 3 /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID + start-stop-daemon --quiet --stop --oknod --retry 3 --exec /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then start-stop-daemon --quiet --start --exec /usr/sbin/snmpd -- $SNMPDOPTS log_progress_msg " snmpd" The --exec option for start-stop-daemon expects to be followed by the executable to be run, not by another option. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing') Architecture: powerpc (ppc) Kernel: Linux 3.12-1-powerpc-smp (SMP w/2 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages snmpd depends on: ii adduser 3.113+nmu3 ii debconf [debconf-2.0] 1.5.52 ii libc6 2.18-4 ii libsnmp-base 5.7.2.1~dfsg-3 ii libsnmp30 5.7.2.1~dfsg-3 ii lsb-base 4.1+Debian12 snmpd recommends no packages. Versions of packages snmpd suggests: pn snmptrapd <none> -- Configuration Files: /etc/init.d/snmpd changed: set -e . /lib/lsb/init-functions export PATH=/sbin:/usr/sbin:/bin:/usr/bin test -x /usr/sbin/snmpd || exit 0 OLD_MIBS_DIR="/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp" MIBS_DIR="/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" export MIBDIRS="$MIBS_DIR:$OLD_MIBS_DIR" SNMP_PID="/run/snmpd.pid" SNMPDRUN="yes" SNMPDOPTS="-Lsd -Lf /dev/null -p $SNMP_PID" [ -r /etc/default/snmpd ] && . /etc/default/snmpd cd / case "$1" in start) log_daemon_msg "Starting SNMP services:" # remove old symlink with previous version if [ -L /var/run/agentx ]; then rm -f /var/run/agentx fi if [ ! -d /var/run/agentx ]; then mkdir -p /var/run/agentx fi if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then start-stop-daemon --quiet --start --oknodo --exec /usr/sbin/snmpd \ -- $SNMPDOPTS log_progress_msg " snmpd" fi ;; stop) log_daemon_msg "Stopping SNMP services:" start-stop-daemon --quiet --stop --oknodo --retry 3 --exec /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID log_progress_msg " snmpd" ;; restart) log_daemon_msg "Restarting SNMP services:" start-stop-daemon --quiet --stop --oknod --retry 3 --exec /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then start-stop-daemon --quiet --start --exec /usr/sbin/snmpd -- $SNMPDOPTS log_progress_msg " snmpd" fi ;; reload|force-reload) log_daemon_msg "Reloading SNMP services:" if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then start-stop-daemon --quiet --stop --signal 1 \ --pidfile "$SNMP_PID" --exec /usr/sbin/snmpd log_progress_msg " snmpd" fi ;; status) status=0 if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then status_of_proc /usr/sbin/snmpd snmpd || status=$? fi exit $status ;; *) echo "Usage: /etc/init.d/snmpd {start|stop|restart|reload|force-reload|status}" exit 1 esac exit 0 /etc/snmp/snmpd.conf [Errno 13] Permission denied: u'/etc/snmp/snmpd.conf' /etc/snmp/snmptrapd.conf [Errno 13] Permission denied: u'/etc/snmp/snmptrapd.conf' -- debconf information: snmpd/upgradefrom521:--- /etc/init.d/snmpd~ 2014-04-09 11:08:38.000000000 -0400 +++ /etc/init.d/snmpd 2014-04-25 11:51:40.010341769 -0400 @@ -52,12 +52,12 @@ ;; stop) log_daemon_msg "Stopping SNMP services:" - start-stop-daemon --quiet --stop --oknodo --exec --retry 3 /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID + start-stop-daemon --quiet --stop --oknodo --retry 3 --exec /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID log_progress_msg " snmpd" ;; restart) log_daemon_msg "Restarting SNMP services:" - start-stop-daemon --quiet --stop --oknodo --exec --retry 3 /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID + start-stop-daemon --quiet --stop --oknod --retry 3 --exec /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then start-stop-daemon --quiet --start --exec /usr/sbin/snmpd -- $SNMPDOPTS log_progress_msg " snmpd"
--- End Message ---
--- Begin Message ---Source: net-snmp Source-Version: 5.7.2.1~dfsg-4 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. 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. Hideki Yamane <[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: SHA512 Format: 1.8 Date: Sat, 26 Apr 2014 14:19:55 +0900 Source: net-snmp Binary: snmpd snmptrapd snmp libsnmp-base libsnmp30 libsnmp30-dbg libsnmp-dev libsnmp-perl python-netsnmp tkmib Architecture: source amd64 all Version: 5.7.2.1~dfsg-4 Distribution: unstable Urgency: medium Maintainer: Net-SNMP Packaging Team <[email protected]> Changed-By: Hideki Yamane <[email protected]> Description: libsnmp-base - SNMP configuration script, MIBs and documentation libsnmp-dev - SNMP (Simple Network Management Protocol) development files libsnmp-perl - SNMP (Simple Network Management Protocol) Perl5 support libsnmp30 - SNMP (Simple Network Management Protocol) library libsnmp30-dbg - SNMP (Simple Network Management Protocol) library debug python-netsnmp - SNMP (Simple Network Management Protocol) Python support snmp - SNMP (Simple Network Management Protocol) applications snmpd - SNMP (Simple Network Management Protocol) agents snmptrapd - Net-SNMP notification receiver tkmib - SNMP (Simple Network Management Protocol) MIB browser Closes: 745828 Changes: net-snmp (5.7.2.1~dfsg-4) unstable; urgency=medium . * debian/*.init - fix incorrect sequence of options passed to start-stop-daemon Thanks to Mehul Sanghvi <[email protected]> (Closes: #745828) Checksums-Sha1: e4595b646141a2f6dff36c182399c86c58272680 3036 net-snmp_5.7.2.1~dfsg-4.dsc 511e5232dab4cdc0f975acf5fca0c2adb0514d00 59756 net-snmp_5.7.2.1~dfsg-4.debian.tar.xz 497a5ef551fe13070280c170ba6d3c252c6f34be 56878 snmpd_5.7.2.1~dfsg-4_amd64.deb 1f01a307c8fa2a2baafccbf1e1604f3ee8a5a510 23156 snmptrapd_5.7.2.1~dfsg-4_amd64.deb 04a6e6511744af4ff8c98237deef730a272deae0 145168 snmp_5.7.2.1~dfsg-4_amd64.deb cc883ad46528b25bf0e982943a06dd18ca33b9eb 1767364 libsnmp-base_5.7.2.1~dfsg-4_all.deb 8533feb54c8f1ba426891fd432ed0c0507f86242 2143152 libsnmp30_5.7.2.1~dfsg-4_amd64.deb 0b1ca61424bc0c7c54f5832bf7510112ffaacb55 2124006 libsnmp30-dbg_5.7.2.1~dfsg-4_amd64.deb e22551c010c7f053763be10e8423242cc6f43d0a 1057696 libsnmp-dev_5.7.2.1~dfsg-4_amd64.deb 838b395caa76636f2544df86606033b5da2dd6dc 1455458 libsnmp-perl_5.7.2.1~dfsg-4_amd64.deb fa4411eb31c46471eb167a0a4e8a92277257a3f7 19912 python-netsnmp_5.7.2.1~dfsg-4_amd64.deb 849d46361418076a87067e7bc9e02443d48dc8b8 1430322 tkmib_5.7.2.1~dfsg-4_all.deb Checksums-Sha256: 45039b5512af7230870e1d3d3190b412a2ddd1bfb000b249dbb909c2dea1a240 3036 net-snmp_5.7.2.1~dfsg-4.dsc 3e7166a83d6b0c18a74cb1c3b724fe550532786983b1ae7fdccf17f69cd5d71f 59756 net-snmp_5.7.2.1~dfsg-4.debian.tar.xz fa10ab8db6505818f99d1c145f532c3a19855b499b3695f41a0ff777529103af 56878 snmpd_5.7.2.1~dfsg-4_amd64.deb 160b1dd79f96516684852a5bd3aa9b888c437ff0418edea7c866ed7aac6956f3 23156 snmptrapd_5.7.2.1~dfsg-4_amd64.deb 6f3eb41fe7b7b7ff9e9ad35d418a86b0356678f220328c91887e689bdd908ddd 145168 snmp_5.7.2.1~dfsg-4_amd64.deb 24a3201c5454981bf8ed8dcfae57cc80d33acc5265cf4514238c756d3fc9d8dc 1767364 libsnmp-base_5.7.2.1~dfsg-4_all.deb 92316e8dfc0f9ad568c3e7809322c8153ece8c3cdb18be8363486b3591120fbb 2143152 libsnmp30_5.7.2.1~dfsg-4_amd64.deb 73c390566c93ee211668e83e97b8c87c46f29a74011e0fa4f77653531d7b8ca4 2124006 libsnmp30-dbg_5.7.2.1~dfsg-4_amd64.deb be58744120b6f226a06e436102161c4020bc1a52dcfe9f5eea02b8a67dba7434 1057696 libsnmp-dev_5.7.2.1~dfsg-4_amd64.deb 45d5c5ec29be055138cd58d701dbff9a8baf0bb1107df7d400c09a4beb4b0e3d 1455458 libsnmp-perl_5.7.2.1~dfsg-4_amd64.deb c540f5b65c8b85b340d7befad59e6a22f086038fb42434ab104caee2a27f551c 19912 python-netsnmp_5.7.2.1~dfsg-4_amd64.deb 2db1dec5850519790c5b1f9719229f2100d7b73473e4dc6ae5b057f1415d15a4 1430322 tkmib_5.7.2.1~dfsg-4_all.deb Files: 57ed9867e7e8710d86113e52c8e04c82 56878 net optional snmpd_5.7.2.1~dfsg-4_amd64.deb 2ba60cd67066a515d14decbe0c7ee33a 23156 net optional snmptrapd_5.7.2.1~dfsg-4_amd64.deb 7235c69a502749151bb67173442bc972 145168 net optional snmp_5.7.2.1~dfsg-4_amd64.deb 295d474e6a9b76b4e91da877958fb49d 1767364 libs optional libsnmp-base_5.7.2.1~dfsg-4_all.deb 24260cae99295415ac727b44f391e89e 2143152 libs optional libsnmp30_5.7.2.1~dfsg-4_amd64.deb 55b7032f31e33fd168700b289413421d 2124006 debug extra libsnmp30-dbg_5.7.2.1~dfsg-4_amd64.deb af68ff8e3cd239bc73e69d6f7318c0a9 1057696 libdevel optional libsnmp-dev_5.7.2.1~dfsg-4_amd64.deb 0fd306dc2064a3c976f40d69f98d8a6f 1455458 perl optional libsnmp-perl_5.7.2.1~dfsg-4_amd64.deb 1a49d4e63180dca638b25e8bb00a0bdd 19912 python optional python-netsnmp_5.7.2.1~dfsg-4_amd64.deb 56fbe72510c5ecf97208b95a620c8a63 1430322 net optional tkmib_5.7.2.1~dfsg-4_all.deb 8d2231f8044d8ac75226b0d3396cc7ce 3036 net optional net-snmp_5.7.2.1~dfsg-4.dsc 323334b0aab0f5d5a8f46feba5cb8126 59756 net optional net-snmp_5.7.2.1~dfsg-4.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJTW0PIAAoJEF0yjQgqqrFATiYQAKSMgtwH0n2X9krU5tuBQwzb 3pepKrgfp60gTfnUZO0aJ4SARd4FwJS+R1UBnXuOoAAH6B73tyagN3kNBDsyaNW0 Dxitw89sMVR5hdQPpmaaep0u8E//+T+XPfc7iHXsv9VjkZK2r5PCw9lEqoKTFcsf U7dFZsqtqnfs8t8v3+ejePCLdhWBaxT7nmjTTeqzD/UpUj2z581GGPOws6rXDpiZ IcHVPnOLTmNic+E3SA91fRJvAUuyPRVrRGAafhRVDhh1B3/yNZCrUmrGmBABUKU6 HFJ9+l7YrQ9QNYc7hMG8+Rbufr0vDAaau/3STPb0uDiDSxlPojq7h7fScs2ccoPL IcqXDAysGyJ0dVFx7bzVXrZWtKsZK2S6t9LF8Al1UjOYuf8clNdo7800jO3r4EDh S4AG4swiWOH3bQcU7QEDR3OT+0Yv3mlef4u5J6ZcCRLL/bP9DrxGFaWc3ZHHI88u pBqngYhc4Twx+qF902UwkTUcwm9GWnBaD+JHi64eWcFjcueIA6fpMlaLNzCVl7mZ gNzWZsEUSaIibqlZSjhT1FJkgzp4dbAewYROgCBpUZrYGfXwdUw775EMHN79S+6o FGGVtyCO7/t8uGl0C8NcKmdgu5UOMkRZUCWoqSXMlm4YNoMs5aVVOO+RgWU5CJz1 veZd5bc8B+aIwNAnvDL7 =bBGt -----END PGP SIGNATURE-----
--- End Message ---

