Your message dated Thu, 15 Jan 2009 18:21:19 +0100
with message-id <496f708f.50...@scram.de>
and subject line Re: [Pkg-net-snmp-devel] Bug#453123: Upgrade fails if snmpd is
running
has caused the Debian Bug report #453123,
regarding Upgrading snmpd from 5.2.2-3 to 5.2.3-1 hangs in snmpd.postinst
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
453123: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453123
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: snmpd
Version: 5.2.3-1
Severity: normal
I have noticed this on several machines, that upgrading snmpd just
"sits there"
I have taken a ps -ef --forest when it happens, and that shows:
root 4213 3193 0 12:24 pts/0 00:00:00 | \_ apt-get install
snmpd
root 4448 4213 0 12:25 pts/0 00:00:00 | \_
/usr/bin/dpkg --status-fd 11 --configure perl perl-modules libperl5.8
libperl-dev libsnmp-base libsnmp9 libsnmp-perl snmpd
root 4458 4448 0 12:26 pts/0 00:00:00 | \_
/usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/snmpd.postinst
configure 5.2.2-3
root 4469 4458 0 12:26 pts/0 00:00:00 | \_
[snmpd.postinst] <defunct>
And this process tree never finishes. Hitting CTRL-C terminates the
snmpd.postinst and the apt-get install finishes with an error for snmpd.
A subsequent apt-get install -f apparently fixes that error and the system
seems to be in a "good" state afterwards. But apt-get install hangs and
requires manual intervention.
-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.vmware
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages snmpd depends on:
ii adduser 3.87 Add and remove users and groups
ii debconf 1.5.2 Debian configuration management sy
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libsensors3 1:2.10.0-7 library to read temperature/voltag
ii libsnmp9 5.2.3-1 NET SNMP (Simple Network Managemen
ii libwrap0 7.6.dbs-9 Wietse Venema's TCP wrappers libra
snmpd recommends no packages.
-- debconf information:
snmpd/upgradefrom36:
* snmpd/upgradefrom521:
--- End Message ---
--- Begin Message ---
Version: 5.4.1~dfsg-12
Steve Langasek schrieb:
> But it is precisely against version 5.4.1~dfsg-4 that bug #453123 was
> submitted. It's possible that bug #453123 is not the same as bug #391203
> with which it has been merged, since 453123 shows a failure to start the
> daemon at all rather than a hang after start. Should these bugs be
> un-merged?
The whole bug is a mess. The original bug was about some upgrade not stopping
snmpd propperly. With 5.4.1~dfsg-12, the upgrade won't fail anymore, however if
snmpd fails to stop, the old version will still be running after the upgrade.
Later someone posted a followup with a duplicate of #391203.
Thanks for letting me know. The issue (and both bugs) should be resolved now.
Jochen
--- End Message ---