[Bug 701944] [NEW] snmpd postinst fails if user cannot be deleted

Disconnect 701944 at bugs.launchpad.net
Wed Jan 12 15:22:00 UTC 2011


Public bug reported:

Setting up snmpd (5.4.2.1~dfsg0ubuntu1-0ubuntu2.1) ...
userdel: cannot remove entry 'snmp' from /etc/passwd
/usr/sbin/deluser: `/usr/sbin/userdel snmp' returned error code 1. Exiting.
dpkg: error processing snmpd (--configure):
 subprocess installed post-installation script returned error exit status 1

We use ldap authentication, so deluser fails (correctly, as I don't want
packages wandering around screwing up global user/group entries.)

Removing the deluser/adduser block from the postinst (leaving the chown
there) works fine.

** Affects: net-snmp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in ubuntu.
https://bugs.launchpad.net/bugs/701944

Title:
  snmpd postinst fails if user cannot be deleted



More information about the Ubuntu-server-bugs mailing list