[Pkg-net-snmp-devel] Bug#794641: snmpd: if snmp user is already present the postinstall script fails

geoff geoff at eurogamer.net
Wed Aug 5 09:56:43 UTC 2015


Package: snmpd
Version: 5.7.2.1+dfsg-1
Severity: normal

   * What led up to the situation?

   Installing snmpd after adding an snmp user/group

   * What was the outcome of this action?

   Adduser in the postinstall fails:

   adduser: The user `snmp' already exists. Exiting.

   * What outcome did you expect instead?

   Postinstall shouln't choke if snmp user is already present


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

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages snmpd depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.56
ii  libc6                  2.19-18
ii  libsnmp-base           5.7.2.1+dfsg-1
ii  libsnmp30              5.7.2.1+dfsg-1
ii  lsb-base               4.1+Debian13+nmu1

snmpd recommends no packages.

Versions of packages snmpd suggests:
pn  snmptrapd  <none>

-- Configuration Files:
/etc/snmp/snmpd.conf [Errno 13] Permission denied: u'/etc/snmp/snmpd.conf'

-- debconf information:
  snmpd/upgradefrom521:



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