On Dec 4, 2008, at 4:35 AM, Jan Safranek wrote:

Jan Houtsma wrote:
Hi,

Other reports are already getting in. It's only related to x86_64
systems. Apparently new releases
are only tested on i386? Because this segfault is so obvious on x86_64
and happens as soon as
you start the daemon with default config.

As Fedora maintainer of net-snmp packages I apologize for the
inconvenience. Net-SNMP was broken in Rawhide and Fedora 10 Alpha/Beta
since June and nobody (including myself) did not notice it - it seems
nobody tests on x86_64.

I had to wait for fixed rpm to land in our build environment, which took some time. Fixed net-snmp packages are now on their way. If you want to
speed things up please leave feedback at
https://admin.fedoraproject.org/updates/net-snmp-5.4.2.1-2.fc10


I suggest that you backport the /var/cache/hrmib code so that stat(2) and opendir(3) can be used to populate the HR-MIB. The net-snmp patch is almost trivial (becuase it reuses code done on other platforms), and the patch to rpm to support populating /var/cache/hrmib within rpm, not net-snmp, sources is way easier to maintain.

The patch is used in PLD, Gentoo, and @rpm5.org, and was sent to net- snmp in August.

Truly, linking against -lrpm and dragging in Berkeley DB to daemon code has almost nothing to
do with net-snmp -- the HR-MIB can be populated much more simply.

73 de Jeff

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to