[Pkg-net-snmp-devel] Bug#932775: snmpd: Systemd service file also does not respect /etc/default/snmpd

Cool Fire coolfire at insomnia247.nl
Mon Aug 19 21:47:02 BST 2019

Package: snmpd
Version: 5.7.3+dfsg-5
Followup-For: Bug #932775

It seems the systemd service file (/lib/systemd/system/snmpd.service)
also ignores the /etc/default/snmpd file. It does not even appear to
attempt to read any configuration for there but rather has the defaults
hardcoded into the service file's ExecStart parameter.

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

Kernel: Linux 4.19.0-5-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages snmpd depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.71
ii  libc6                  2.28-10
ii  libmariadb3            1:10.3.15-1
ii  libsnmp-base           5.7.3+dfsg-5
ii  libsnmp30              5.7.3+dfsg-5
ii  libssl1.1              1.1.1c-1
ii  lsb-base               10.2019051400
ii  zlib1g                 1:1.2.11.dfsg-1

snmpd recommends no packages.

Versions of packages snmpd suggests:
ii  snmptrapd  5.7.3+dfsg-5

-- Configuration Files:
/etc/default/snmpd changed:
export MIBS=
SNMPDOPTS='-LS0-5d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux -p /var/run/snmpd.pid'
TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid'

-- debconf information:

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