snmpd isn't stopped before postinst tries to start it

Bug #270961 reported by Rob Schmidt on 2008-09-16
2
Affects Status Importance Assigned to Milestone
net-snmp (Ubuntu)
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:/var/lib/dpkg/info# apt-cache policy snmpd
snmpd:
  Installed: 5.4.1~dfsg-7.1ubuntu5
  Candidate: 5.4.1~dfsg-7.1ubuntu5
  Version table:
 *** 5.4.1~dfsg-7.1ubuntu5 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

Related branches

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package net-snmp - 5.4.1~dfsg-7.1ubuntu6

---------------
net-snmp (5.4.1~dfsg-7.1ubuntu6) intrepid; urgency=low

  * debian/snmpd.init: Fix snmpd script error. (LP: #270961)

 -- Chuck Short <email address hidden> Mon, 22 Sep 2008 14:18:08 -0400

Changed in net-snmp:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers