Similar problem can be reproduced on RHEL5.4 on s390x. after executing following command in the test 58: # /usr/src/redhat/BUILD/net-snmp-5.3.2.2/apps/snmpnetstat/snmpnetstat -Cn -Cp udp -v2c -c testcommunity udp:localhost:8791 The output is searched for "127.0.0.1.8791" therefore it should be something like: Active Internet (udp) Connections Proto Local Address ... excluded several lines with open udp ports ... udp 127.0.0.1.123 udp 127.0.0.1.8791 but instead of it the output is: Active Internet (udp) Connections Proto Local Address ... excluded several lines with open udp ports ... udp *:123 udp *:8791 and therefore the test fails 58:testing if snmpnetstat finds the running agent in udpTable...FAIL Version of the component: net-snmp-5.3.2.2-7.el5_4.2.s390x How to reproduce: 1. build binaries from source 2. cd into "testing" directory /usr/src/redhat/BUILD/net-snmp../testing 3. run the specified test using ./RUNTEST script +++ This bug was initially created as a clone of Bug #543352 +++ Description of problem: The package compilation fails on ppc64 in %check section where 'make test' is executed with following error: 58:testing if snmpnetstat finds the running agent in udpTable...FAIL The reason is thet snmpd reports udpTable with all IP addresses in indexes '0.0.0.0' instead of real IP address: "udpTable.udpEntry.udpLocalAddress.0.0.0.0.161 = IpAddress: 127.0.0.1" shold be: "udpTable.udpEntry.udpLocalAddress.127.0.0.1.161 = IpAddress: 127.0.0.1" This affects only big endian systems.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release.
The root cause is that snmpd reports udpTable indexes always as 0.0.0.0, even something (=snmpd) listens on loopback only: $ snmpwalk -v2c -c public localhost udp Wrong: UDP-MIB::udpLocalAddress.0.0.0.0.161 = IpAddress: 127.0.0.1 Correct: UDP-MIB::udpLocalAddress.127.0.0.1.161 = IpAddress: 127.0.0.1
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 therefore 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-2011-1076.html