Bug#389434: [Pkg-net-snmp-devel] Bug#389434: MIBs in net-snmp
stigge at debian.org
Mon Oct 16 14:32:22 UTC 2006
Thomas Anders wrote:
> This may be desirable for /usr/share/snmp/mibs on a fully
> package-managed system, but custom builds and users with ~/.snmp/mibs
> may not be prepared to do the extra work before using the MIBs,
> especially since net-snmp doesn't even provide a dedicated utility to
> maintain the .index file.
Another idea: Is the .index file really technically necessary? It looks
like always read and regenerated (and rewritten). Why not generate it on
the fly, keeping it in memory and eliminate .index files? They are
basically file lists of the directories, why not just reading the
directory contents directly?
This would also prevent the umask problem.
More information about the Pkg-net-snmp-devel