5.4 open issues

From Net-SNMP Wiki
Revision as of 06:13, 9 November 2006 by Tanders (Talk | contribs)

Jump to: navigation, search

We try to collect significant open issues for the 5.4 release cycle here. Please add your contributions/comments and fix as much as you can!

Issue Bug/patch Comment Assigned to
FreeBSD cpu_nlist hang - 5.4.rc1 on SF CF machine x86-freebsd1 (FreeBSD 5.4) hangs badly in cpu_nlist initialization, even on a simple "snmpd -H". RFV posted to -coders, currently at +2. To be committed before rc3. dts12
OSX embedded perl broken Bug 1377478 Embedded perl (and sometimes even the perl modules) seem to fail silently (and for unknown reasons) on OSX for some people, but not all.  ?
OSX CPU stats - Neither cpu_sysctl (preferrable?) nor cpu_nlist compile on Darwin. rc1 ships cpu_null for Darwin. To be investigated with Apple. dts12/rstory/jalbert
UCD memory inconsistencies - E.g. should 'memAvailSwapTXT' and 'memAvailRealTXT' report the amount of memory free, or the amount used? The MIB object name implies one, the description the other! Inconsistently implemented in 5.3.x. Implemented as "free" in 5.4.x.
RFVs in progress to revert to reporting the amount used, document the problem and add replacement (less confusingly defined) MIB objects.
dts
sed issue II - On Solaris 2.6/7 "configure --with-mib-modules=if-mib,udp-mib,tcp-mib" yields into an empty Makefile. Looks like the previous sed issue, but now the "@mibgroup_list_o" list is getting too long. Wes has created a fix and is now at +3 at least. Fixed for rc2. hardaker
proxy tests fail for TCP - "make test TESTOPTS='-P tcp'" fails for the proxy GET/SET tests. Skip proxy tcp tests in rc2.  ?
libnetsnmphelpers linking trouble Bug 1565496 (OSX), Patches 1398873 1493522 In contrast to 5.3.x and earlier, the new "as needed" linking scheme has introduced problems when linking in libnetsnmphelpers on a number of platforms. Some happen during "make install DESTDIR=..." (SF Debian Sarge, SF OpenBSD 3.8, SF NetBSD 2.0.2, SF Alpha Linux, HP-UX 10.20-11.23, RH7.1, RH9, RHEL2.1, FC2), some during "make" (OSX).
Fixed by forcing the need to specify --enable-as-needed. Doing anything else is simply problematic and people that need and want it can turn it on if they need to. --Wes.
See -coders on why I don't think the current fix is right. --Thomas
also removed libhelpers from the link line of libagent, which should bring us back to 5.3 behaviour. I don't know that linking libraries to other libraries is portable thus the configure flag. --Wes
Consensus seems to be to extend --enable-as-needed for 5.4.1 rather than 5.4 and come up with a proper configure test for 5.5. --Thomas
hardaker/tanders
64bit nlist Bugs 148532, 1484814, 1388562 nlist fails on 64bit systems (AIX, IRIX, Tru64). We need 64bit capable auto_nlist replacement routines. Every system has its own variant and changes are needed all over the net-snmp code. Stop-gap fix is specifying --without-kmem-usage which is now possible since rc2. tanders
fix perl compiler warnings - There are a number of nasty compiler warnings for the perl modules that needs to be dealt with. List provided to hardaker. (http://pastebin.ca/196857) Dave has flagged three issues as potentially important after review (see list). hardaker/tanders
Solaris perl<->host issues (due to largefiles) Bug 1486366 Solaris system-supplied Perl is compiled with largefile support. The very same options break the build of the host module, though.
(Wes: This will not be fixed by 5.4.) At least detected (and embedded perl disabled) in pre3.
 ?
missing IP scalars in snmpwalk Bug 1554989 snmpwalk doesn't show IP scalars on all platforms!
Doesn't affect 5.4 - just 5.[23].x lines
rstory?
ifTable transient interface handling Bug 1238981, Patch 1513191 offer an (per-interface) config option how transient interfaces are handled in ifTable (same or different). A List FAQ.
This feels like a new feature, and not appropriate for 5.4
rstory?
OpenBSD4 system header - See 9/26 and 9/27 irc logs; openbsd4 uses openbsd.h, and thus a lot of openbsd3 code that most likely works on openbsd4 is excluded.
Some fixes are in pre3. Rework openbsd system headers and defines?
considering openbsd4 hasn't even been released yet, I'm not too worried about it.
 ?
disman/event crash Bug 1556259 Reported crashes in mteTrigger.c
This is a race condition between (typically high-volume) request handling and trap generation. Not realistic to address for 5.4
dts12
notifications over TCP broken Bug 1571945 The recent patch for the UDP/IPv4 response IP address broke other transports. See the bug report for a decent analysis.
Fix for the immediate problem applied - a cleaner solution can probably wait
 ?
Suppress error messages on SIGHUP  ? Remove the likely harmless, but annoying error messages on SIGHUP. A List FAQ
Handled for "extend" and "monitor" directives. What others?
rstory?/dts12
snmptrapd partial oid matching Patch 1536773 introduce partial oid matching for traphandle, e.g. "traphandle someOID* /call/on/subtree/matching" (completely rewritten by Wes and now requires a -t flag).
It's in pre1. Changed to "oid[.]*" for pre2.
hardaker
no perl/agent/Support/Makefile - With some perl versions "make perlmodules" will not create perl/agent/Support/Makefile from Makefile.PL, so the build will fail (e.g. on Solaris 8 with system-supplied Perl).
Fixed in pre1.
hardaker/tanders
pre/rc version numbers - 5.4.pre1 gets rewritten to 5.4.0.1 in net-snmp-config which breaks the perl version checks and the default build. See -coders.
Fixed for pre2.
hardaker/tanders
Windows build broken - 5.4.pre1 doesn't build on Windows (as reported by Alex) due the recent changes to the transport code (patch 1282566).
Fixed for pre2.
Alex_B
make perltest - Currently fails on perl/SNMP t/notify test (tests 7, 9, 10). It should pass perfectly in order to be able to use it for regression testing.
Fixed for pre2.
tanders
python binding - Initial python binding (just client-side get/set/walk etc.).
Added before pre2, including a --with-python-modules.
hardaker/jmarzot
smarter "enable embedded perl by default" - Only enable embedded perl if it will successfully compile later on.
Quite smart in pre3, but some problems (minimum perl version?) still need to be detected. (we don't know the minimum perl version... if we know it, we can test for it. It should be quite old though (I believe it works under 5.004)
hardaker/tanders
Solaris 5.9 build broken Bug 1569150 -Usolaris2 -Dsolaris2=solaris2 doesn't seem to work properly.
Fixed for pre4.
dts12
UCD-SNMP-MIB::systemStats - Reported to be broken on some systems (Solaris, some RHEL Linux machines). Breaks "make test" (CPU test on Solaris, snmpwalk test on Linux).
Solaris and Linux parts fixed for pre4.
dts12
OpenBSD/FreeBSD/Solaris if-mib rewrites - the suggestion in the NEWS file, --with-mib-modules=if-mib, doesn't work. Need a way to have configure pass NETSNMP_INCLUDE_IFTABLE_REWRITES during module processing/compilation. Add --enable-mfd-rewrites (see updated NEWS).
Fixed for pre4
rstory
HOST-RESOURCES-MIB::hrStorageIndex - Indexes have been re-ordered from previous versions. Have we justified this/notified users of this change?
Documented in NEWS
dts12/bshaw
Solaris 2.6/7 configure sed failures - On Solaris 2.6 and 7 configure reproducibly fails with "Output too long" and "sed: garbled command" errors from sed during configure's AC_OUTPUT for mib_module_list_h. This list is extremely long (>6500 chars on my Linux build) causing trouble on many systems :-(.
Fixed properly using files instead of sed -- Wes
hardaker