[Pkg-net-snmp-devel] Bug#665203: snmpd: Upgrade from lenny to squeeze breaks postinstall when using NIS

Kai Storbeck kai at xs4all.nl
Thu Mar 22 15:35:56 UTC 2012


Package: snmpd
Version: 5.4.3~dfsg-2
Severity: serious
Justification: Policy 6.2 Maintainer scripts idempotency

Dear Reader,

When configured with NIS, deluser doesn't work properly. This is a bug in itself, but I can't find the right place to file *that*.

Since part of the upgrade process of *snmpd* uses deluser, it violates the maintainer scripts. The scripts HANG, whilst waiting for the nisserver to magically remove the user 'snmpd'.

To reproduce, configure nis, and add a password entry in /etc/passwd:
        +:*:::::/sbin/nologin

Then try upgrading snmpd (any version where the postinst script will invoke 'deluser snmpd' will probably do).


If you think this bug is not in the right place, please reassign it to the package "adduser".

Kind regards,
Kai


-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27.43-xsserver (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages snmpd depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  debconf [debconf-2.0]   1.5.36.1         Debian configuration management sy
ii  libc6                   2.11.3-2         Embedded GNU C Library: Shared lib
ii  libsnmp15               5.4.3~dfsg-2     SNMP (Simple Network Management Pr
ii  libwrap0                7.6.q-19         Wietse Venema's TCP wrappers libra
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip

snmpd recommends no packages.

snmpd suggests no packages.

-- Configuration Files:
/etc/default/snmpd changed [not included]
/etc/snmp/snmpd.conf changed [not included]

-- debconf information:
  snmpd/upgradefrom521:





More information about the Pkg-net-snmp-devel mailing list