-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tags #505237 patch
thanks

Hello,

I attached a diff which might fix it, could you please test it?
Thanks.

- --
/*
Mit freundlichem Gruß / With kind regards,
Patrick Matthäi

E-Mail: [EMAIL PROTECTED]

Comment:
Always if we think we are right,
we were maybe wrong.
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkklgx0ACgkQ2XA5inpabMfbjgCeJrb29uGaqblEnBuabadaQKgi
hiQAoJ/aorwxGdjalN7BZ2oQKwbp6aZR
=5VRO
-----END PGP SIGNATURE-----
diff -Naur net-snmp-5.4.1~dfsg.orig/debian/snmpd.init net-snmp-5.4.1~dfsg/debian/snmpd.init
--- net-snmp-5.4.1~dfsg.orig/debian/snmpd.init	2008-11-20 16:27:19.000000000 +0100
+++ net-snmp-5.4.1~dfsg/debian/snmpd.init	2008-11-20 16:29:17.000000000 +0100
@@ -40,12 +40,12 @@
   start)
     echo -n "Starting network management services:"
     if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then
-	start-stop-daemon --quiet --start --exec /usr/sbin/snmpd \
+	start-stop-daemon --quiet --oknodo --start --exec /usr/sbin/snmpd \
 	    -- $SNMPDOPTS
 	echo -n " snmpd"
     fi
     if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then
-	start-stop-daemon --quiet --start --exec /usr/sbin/snmptrapd \
+	start-stop-daemon --quiet --oknodo --start --exec /usr/sbin/snmptrapd \
 	    -- $TRAPDOPTS
 	echo -n " snmptrapd"
     fi
@@ -66,13 +66,13 @@
     # Allow the daemons time to exit completely.
     sleep 2
     if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then
-	start-stop-daemon --quiet --start --exec /usr/sbin/snmpd -- $SNMPDOPTS
+	start-stop-daemon --quiet --oknodo --start --exec /usr/sbin/snmpd -- $SNMPDOPTS
 	echo -n " snmpd"
     fi
     if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then
 	# Allow snmpd time to start up.
 	sleep 1
-	start-stop-daemon --quiet --start --exec /usr/sbin/snmptrapd -- $TRAPDOPTS
+	start-stop-daemon --quiet --oknodo --start --exec /usr/sbin/snmptrapd -- $TRAPDOPTS
 	echo -n " snmptrapd"
     fi
     echo "."
@@ -80,7 +80,7 @@
   reload|force-reload)
     echo -n "Reloading network management services:"
     if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then
-        start-stop-daemon --quiet --stop --signal 1 \
+        start-stop-daemon --quiet --oknodo --stop --signal 1 \
 	    --pidfile /var/run/snmpd.pid --exec /usr/sbin/snmpd
 	echo -n " snmpd"
     fi

Attachment: add_oknodo_snmpd_init.diff.sig
Description: Binary data

Reply via email to