Re: libsmi-0.1.8 FreeBSD port ready!

Marcin> 2. I have added /usr/local/share/snmp/mibs/ to $mibdir, Marcin> to include MIBs from UCD-SNMP port.
I'd suggest *NOT* to do this, because many MIBs from the UCD-SNMP project are erroneous and can crash libsmi. Even many IETF standard modules are incorrect. We have put much work in cleaning up these errors in the MIBs that come along with libsmi. So it's better to keep them appart and copy only checked modules over to the mibs/site/ directory or another new directory.
Marcin> 3. I have modified configure{.in} to change default Marcin> location of global config file according to $prefix:
Ok, I've applied this to the current source tree. -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.

Frank Strauss writes:
Marcin> 2. I have added /usr/local/share/snmp/mibs/ to $mibdir, to Marcin> include MIBs from UCD-SNMP port.
Frank> I'd suggest *NOT* to do this, because many MIBs from the Frank> UCD-SNMP project are erroneous and can crash libsmi. Even many Frank> IETF standard modules are incorrect. We have put much work in Frank> cleaning up these errors in the MIBs that come along with Frank> libsmi. So it's better to keep them appart and copy only Frank> checked modules over to the mibs/site/ directory or another new Frank> directory.
Frank's statement is unfortunately true for the current UCD release. Many of the MIBs included with the current UCD distribution are simply broken. I have recently spend some time to fix the UCD MIBs and the next UCD release will be much better in this regard. (The changes are already in the CVS version.) But I am not sure I can keep an eye on the UCD MIBs in the future. (I hope that the UCD coders are able to take care of their MIBs themself now that things have been cleaned up - but there is guarantee that this will happen since their parser is very very liberal in what it accepts as input.)
The UCD folks install their MIBs using a ".txt" extension in the file name and this prevents libsmi from finding the MIB modules. (And since the .txt extension really makes no sense to us, we do not really like to check for the presense of ".txt" files in order to resolve IMPORTS.)
So for now, keeping things separate is really the best choice. I hope that things converge in the future - but we are not there yet.
/js

On Thu, 27 Jan 2000, Juergen Schoenwaelder wrote:
Frank's statement is unfortunately true for the current UCD release. Many of the MIBs included with the current UCD distribution are simply broken.
Thank you. In my stupidity I realized that MIB are meant to be platform- and implementation-independent. However, as it usually shows up in an IT world, this is not always a case.
I will be extremely careful when proposing common MIB directory for FreeBSD. Someday, perhaps, and only when you guys okay it.
Thank you, I send-pr this today and move towards gxsnmp.
participants (3)
-
Frank Strauss
-
Juergen Schoenwaelder
-
Marcin Cieslak