Public bug reported:

The snmptrapd.service file (which comes from net-
snmp_5.7.3+dfsg-1.8ubuntu3.1.debian.tar.xz rather than upstream) 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 an upstream Debian packaging issue, but when I looked
at their bug tracker they said to use the reportbug program. And when I
installed and ran it, it said to use ubuntu-bug.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: snmptrapd 5.7.3+dfsg-1.8ubuntu3.3
ProcVersionSignature: Ubuntu 4.15.0-65.74-generic 4.15.18
Uname: Linux 4.15.0-65-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct  9 09:38:51 2019
InstallationDate: Installed on 2019-02-11 (239 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: net-snmp
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.snmp.snmptrapd.conf: [modified]
mtime.conffile..etc.snmp.snmptrapd.conf: 2019-09-04T14:08:11.370359

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


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1847377

Title:
  snmptrapd.service uses MIBSDIRS instead of MIBDIRS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1847377/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to