[Pkg-net-snmp-devel] Bug#942151: Bug#942151: snmptrapd.service uses MIBSDIR instead of MIBDIRS

Craig Small csmall at debian.org
Fri Oct 11 04:07:05 BST 2019


On Fri, 11 Oct 2019 at 10:33, Lincoln Ramsay <a1291762 at gmail.com> wrote:

>
> 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.
>
It's been like that (incorrectly) for a while and unfortunately, 5.8 also
has this.
Given that the path is defined at compile-time it probably should be
commented out. The fact it has been wrong and doing nothing for a while and
yet snmptrapd works shows how often it gets used.

However, it's bad because people who do want to change the path (like you)
get led down the wrong... path.

A simple fix I can put in the next release, thanks for the report.

 - Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-net-snmp-devel/attachments/20191011/e9cb6b1d/attachment.html>


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