On 2011-03-23 18:49, Wes Hardaker wrote:
>>>>>> On Wed, 23 Mar 2011 17:09:02 +0100, Bart Van Assche<bvanass...@acm.org>  
>>>>>> said:
>
> BVA>  What I'm worried about is that different Linux distributors might
> BVA>  configure Net-SNMP differently (by enabling / disabling different
> BVA>  features) and hence ending up with incompatible ABI's and that for
> BVA>  exactly the same Net-SNMP source code version and shared library
> BVA>  version. As far as I know that is something that is considered
> BVA>  unacceptable for shared libraries.
>
> Yes, but we've already always had that concern.  Ubuntu and Fedora pass
> different configure arguments that will result in the functionality in
> libnetsnmpmibs that will certainly be different per OS.  Not only that,
> you could very much consider --enable-ipv6 to have the exact same
> problem.  If one OS includes it and another doesn't then you'll end up
> with different APIs in the libraries with the same version number.
>
> I'd argue that any linux distribution that enables the minimalist
> support needs to be talked to, as they're not thinking clearly.  It's
> not a feature set that would ever be turned on for larger systems.
> Generally the linux distributions try and turn on as much as possible,
> not as little as possible.

I think it would be quite reasonable for a distribution to turn off the 
netsnmp_unused feature. It is, after all, unused.

What this all comes down to is how to go about removing obsolete 
interfaces - f_create_from_tstring is deprecated since 5.4 but there is 
no reason to believe that it shouldn't work any more, but on the other 
hand I doubt that anyone have tested it since 5.4...

As for libnetsnmpmibs, I am increasingly convinced that it shouldn't be 
treated as a user lib at all - libnetsmpmibs contains data extractors 
that are all but internal to the agent, just like libnetsnmptrapd 
contains trap handlers that are all but internal to snmptrapd and as a 
consequence of that I think they should be merged into their respective 
program.

/MF

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to