[Bug 270961] [NEW] snmpd isn't stopped before postinst tries to start it
Rob Schmidt
rob at oddawa.ca
Tue Sep 16 16:38:14 BST 2008
Public bug reported:
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 at 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
** Affects: net-snmp (Ubuntu)
Importance: Undecided
Status: New
--
snmpd isn't stopped before postinst tries to start it
https://bugs.launchpad.net/bugs/270961
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in ubuntu.
More information about the Ubuntu-server-bugs
mailing list