From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR 2.0.50727) Description of problem: When I use the following command on RHEL4u0 through RHEL4u4 I get the expected listing of installed software information. snmpwalk -v1 -c public localhost HOST-RESOURCES-MIB::hrSWInstalled When I use the same command on RHEL5-server it simply returns a prompt with no listing. Performing the same query on other Mibs in the same host group returns information on [ hrMemorySize, hrSWRunTable, hrSWRunPerfTable ] Other than returning no data it seems to behave as expected, the daemon does not crash, its like hr_swinst.c was not compiled into the daemon. Here are the modifications to /etc/snmpd/snmpd.conf used to grant access: # sec.name source community com2sec testUser default public # groupName securityModel securityName group testGroup v1 testUser group testGroup v2c testUser # view all included .1 80 access testGroup "" any noauth exact all none none Version-Release number of selected component (if applicable): net-snmp-5.3.1-14.el5.i386.rpm How reproducible: Always Steps to Reproduce: 1. Install RHEL5-server 2. Edit /etc/snmp/snmpd.conf to grant access 3. Bounce daemon, /etc/init.d/stop, /etc/init.d/start 4. Run [ snmpwalk -v1 -c public localhost HOST-RESOURCES-MIB::hrSWInstalled ] as root Actual Results: As the root user it returned the prompt # Expected Results: A long listing of rpm package indexes, package names, and package install dates and times. Additional info: RHEL5-server 715945 Jan 23 14:26 net-snmp-5.3.1-14.el5.i386.rpm 1801986 Jan 23 14:26 net-snmp-devel-5.3.1-14.el5.i386.rpm 1187340 Jan 23 14:26 net-snmp-libs-5.3.1-14.el5.i386.rpm 196673 Jan 23 14:26 net-snmp-perl-5.3.1-14.el5.i386.rpm 182737 Jan 23 14:26 net-snmp-utils-5.3.1-14.el5.i386.rpm I tried rebuilding the packages from SRC rpms as well on a developer install of RHEL5-server, to the same effect. I had no trouble compiling (after installing the required devel dependecy packages). The net-snmp community seems to have had some issues accomodating rpm on IRIX, Solaris, SuSE recently. There are some comments in the source code that rpm is difficult to work with, and there is a test which seems to determine whether or not rpm support will be enabled as part of the hr_swinst.c source code. I checked the procedure against RHEL4u0 i386, RHEL4u1 i386, RHEL4u2 i386, RHEL4u3 i386, RHEL4u4 i386 and the command: snmpwalk -v1 -c public localhost HOST-RESOURCES-MIB::hrSWInstalled always returned good data.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0498.html