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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/701944
Title:
snmpd postinst fails if user cannot be deleted
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs