[Pkg-net-snmp-devel] Bug#401306: snmpd: restart,
reload fail if snmpd not already running
Sam Couter
sam at couter.id.au
Sat Dec 2 14:25:56 CET 2006
Package: snmpd
Version: 5.2.3-4
The init script combines "set -e" with "start-stop-daemon --stop", but
misses "--oknodo" on the stop, restart and reload actions.
start-stop-daemon returns 1 if it can't find a process to stop, and the
init script bails out.
Fix: add --oknodo to the start-stop-daemon invocations in the stop,
restart and reload actions in the init script.
--
Sam Couter | mailto:sam at couter.id.au
| jabber:sam at teknohaus.dyndns.org
OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20061203/64db0b98/attachment.pgp
More information about the Pkg-net-snmp-devel
mailing list