Hi, Dave Shield wrote: > At least up until the first time that a privileged account runs one of > the Net-SNMP tools. > That would then automatically generate the indexes, which would then > be available for later uses. > > Actually, the one disadvantage of the patch that I supplied is that > it'll prevent "personal" MIB directories from being indexed. At the > moment, they're normally owned by the user concerned, so that person > can create/update the index file. If the indexes are moved to the > /var tree, then that would typically not be generally writeable, so > such personal indexes couldn't be written there. > > But I always expected this patch to need some tweaking before it was > ready to go live.
How about separating index file generation code from index using code? This way, we could provide a snmp-update-index program to be called on install, package postinst, admin or user mibs updates, etc., and other library code would just try to use the indexes. If they don't exist, bad luck, but basically not worse than currently. The lib functionality wouldn't be affected. And we would get rid of the FHS and permission problems. We could even ship a default index file inside the Debian package, along with the other files. :) Thanks, bye, Roland ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
