Red Hat Bugzilla – Bug 190349
FreeRadius SNMP support is not built
Last modified: 2008-08-25 15:29:52 EDT
Description of problem:
FreeRadius doesn't appear to have the SNMP support enabled. I tried enabling the SMUX support in my
snmpd.conf and enabled the relevant options in radiusd.conf and snmp.conf, yet I couldn't walk the
Looking at the radiusd binary and the libradius.so, neither appear to have been linked to the net-snmp
libraries. The freeradius RPM doesn't list net-snmp-libs as a dependency either, although it *does* list
net-snmp and net-snmp-utils.
Grabbing the SRPM and attempting to compile it shows that the configure script doesn't successfully
locate the asn1.h, snmp.h and snmp_impl.h header files. It tries looking for, and successfully locates
the ucd-snmp "compat" copies, which now just have an #error pragma in them causing the test to fail.
We list net-snmp-devel as a BuildRequires: in the freeradius.spec file so I assume we do mean to
compile in the support.
Version-Release number of selected component (if applicable):
Please have a look at http://people.redhat.com/twoerner/BZ/190349/
Please remeber that these are test packages, which might get pushed out as
update packages later if the fixes are ok. For now, these packages are
(Hmm, I could swear I'd already left comments out this)
The packages do now have SNMP support, although I had to rebuild the SRPM for
I have set up snmpd.conf appropriately and upon restarting freeradius I can see
it register itself. However, as soon as I try and walk any of the radius MIB, my
query times out and snmpd becomes unresponsive to any further requests.
If I either remove the configuration from snmpd to stop freeradius registering
itself or just not walk the radius MIB, everything works fine.
So, I guess this bug is technically fixed. Should I raise a different one for it
I have abolsutely no problem walking the freeradius information.
Setup according to http://wiki.freeradius.org/SNMP_HOWTO
Matt: PLease use '-t 30' for snmpwalk. snmpd gets slow, if there are more
domains to analyze.
transferred from Thomas Woerner to John Dennis, requested by Steve Grubb.
additional work is needed. the proposed fix is working only on 32b
This is planned to be addressed for RHEL 5 in bug 447669 .
There currently is no plan to backport the changes to RHEL 4 given a solution is available with RHEL 5.
Product Management has reviewed and declined this request. You may appeal this
decision by reopening this request.