On Fri, 11 Oct 2019 at 10:33, Lincoln Ramsay <[email protected]> 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

Reply via email to