snmpd isn't stopped before postinst tries to start it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: snmpd
Sorry if this was already reported but snmpd upgrade failed in "intrepid (development branch)"
The postinst script tried to start snmpd but it was already started.
When I looked at the scripts it seems to be missing a snmpd stop in preinst (there is one in prerm, but that doesn't seem to have an effect on upgrade).
Anyway, I haven't played too much with dpkg package management, but it seems like it should be in preinst since it is in packages like apache2-mpm-prefork and postfix.
root@binion:
snmpd:
Installed: 5.4.1~dfsg-
Candidate: 5.4.1~dfsg-
Version table:
*** 5.4.1~dfsg-
500 http://
100 /var/lib/
This bug was fixed in the package net-snmp - 5.4.1~dfsg- 7.1ubuntu6
--------------- dfsg-7. 1ubuntu6) intrepid; urgency=low
net-snmp (5.4.1~
* debian/snmpd.init: Fix snmpd script error. (LP: #270961)
-- Chuck Short <email address hidden> Mon, 22 Sep 2008 14:18:08 -0400