[Pkg-net-snmp-devel] Bug#560371: snmp: MIB loading seems broken
Ross Vandegrift
ross at kallisti.us
Thu Dec 10 18:48:05 UTC 2009
Package: snmp
Version: 5.4.2.1~dfsg-3
Severity: normal
In 5.4.1~dfsg-12, I had /usr/share/snmp/mibs setup with lots of MIBs
that I use all the time. After upgrading to 5.4.2.1~dfsg-3, the default
MIBDIRS changed to /usr/share/mibs. This broke a number of application
and doesn't appear to have been documented in the release notes.
I moved all of my MIBs from /usr/share/snmp/mibs to /usr/share/mibs, but
I am no longer able to resolve them:
rvandegrift at malaclypse:~$ MIBS=all snmptranslate -On CISCO-VTP-MIB::vtpVlanName
No log handling enabled - turning on stderr logging
Cannot find module (CISCO-VTP-MIB): At line 1 in (none)
CISCO-VTP-MIB::vtpVlanName: Unknown Object Identifier
I can do it, but I have to explicitly add /usr/share/mibs to MIBDIRS:
rvandegrift at malaclypse:~$ MIBDIRS="+/usr/share/mibs" snmptranslate -On CISCO-VTP-MIB::vtpVlanName
No log handling enabled - turning on stderr logging
Cannot find module (NET-SNMP-VACM-MIB): At line 2 in (none)
.1.3.6.1.4.1.9.9.46.1.3.1.1.4
This doesn't seem right - if that's the default, why does it need to be
set to take effect?
Ross
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages snmp depends on:
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libsnmp15 5.4.2.1~dfsg-3 SNMP (Simple Network Management Pr
ii libssl0.9.8 0.9.8k-6 SSL shared libraries
Versions of packages snmp recommends:
ii perl-modules 5.10.1-8 Core Perl modules
snmp suggests no packages.
-- no debconf information
More information about the Pkg-net-snmp-devel
mailing list