[Pkg-net-snmp-devel] Bug#611668: snmpd init script does not use pidfiles
Jean-Philippe Menil
jean-philippe.menil at univ-nantes.fr
Mon Jan 31 19:35:07 UTC 2011
Package: snmpd
Version: 5.4.3~dfsg-2
The init script calls start-stop-daemon to start and stop the daemons
without using pidfiles. This means that on systems with multiple daemon
instances (for example, where a user has made their own secondary init
script, see: , or where the user is running snmpd within linux container
guests), the stop call will kill all instances instead of just one.
PID files should always be used in init scripts where daemon support is
available.
Reproducible: Always
Steps to Reproduce:
1. Start the daemon: /etc/init.d/snmpd start
2. Start another copy of the daemon with another configuration file, or
in a linux container
3. Stop the daemon: /etc/init.d/snmpd stop
Actual Results:
All daemons die, or wrong daemon dies.
Expected Results:
Only correct deamon dies.
Regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jean-philippe_menil.vcf
Type: text/x-vcard
Size: 361 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20110131/be3c802a/attachment.vcf>
More information about the Pkg-net-snmp-devel
mailing list