[Pkg-net-snmp-devel] Bug#505237: /etc/init.d/snmpd start reports error if already running
wferi at niif.hu
Mon Nov 10 23:51:37 UTC 2008
Justification: Policy 9.3.2
The start action shouldn't fail if the service is already running:
# invoke-rc.d snmpd start
Starting network management services:invoke-rc.d: initscript snmpd, action "start" failed.
This happens with TRAPDRUN=yes in /etc/default/snmpd. I don't run
snmpd, but looks like that would result in the same error.
At first sight, adding --oknodo to the two start-stop-daemon invocations
(just like it's already done in the stop case) would fix this.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (600, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.26-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
More information about the Pkg-net-snmp-devel