[Pkg-net-snmp-devel] Bug#942151: snmptrapd.service uses MIBSDIR instead of MIBDIRS
Lincoln Ramsay
a1291762 at gmail.com
Fri Oct 11 00:28:51 BST 2019
Package: snmptrapd
Version: 5.7.3+dfsg-1.8ubuntu3.3
Severity: normal
Dear Maintainer,
The snmptrapd.service file has this line:
Environment="MIBSDIR=/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp"
However, snmptrapd expects to see the MIBDIRS rather than MIBSDIR so this line
is not having the intended effect.
This seems to be a Debian packaging issue. I originally had issues running
reportbug so I reported this to Ubuntu instead. They informed me how to use
reportbug. https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1847377
I noticed this while trying to add a directory to the list (custom MIBs).
-- System Information:
Debian Release: buster/sid
APT prefers bionic-updates
APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500, 'bionic'), (100, 'bionic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.15.0-65-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages snmptrapd depends on:
ii libc6 2.27-3ubuntu1
ii libmysqlclient20 5.7.27-0ubuntu0.18.04.1
ii libsnmp30 5.7.3+dfsg-1.8ubuntu3.3
ii libwrap0 7.6.q-27
ii snmpd 5.7.3+dfsg-1.8ubuntu3.3
Versions of packages snmptrapd recommends:
ii perl 5.26.1-6ubuntu0.3
snmptrapd suggests no packages.
-- Configuration Files:
/etc/snmp/snmptrapd.conf changed:
disableAuthorization yes
authCommunity log,execute,net public
-- no debconf information
More information about the Pkg-net-snmp-devel
mailing list