Bug 56801
Summary: | perl SNMP.xs module included with ucd-snmp fails "make test" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Steve Bonds <store0> | ||||
Component: | ucd-snmp | Assignee: | Phil Knirsch <pknirsch> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | CC: | rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2002-01-25 14:23:45 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Steve Bonds
2001-11-27 23:29:29 UTC
Created attachment 38864 [details]
patch to make SNMP.xs compatible with the post-security2-patch environment
Well red hat DOES ship the perl-snmp module - from red hat linux DMA from 7.1 - its in there. So they _should_ fix this, I think. How much have you tested that patch? I rebuilt the snmp module with it and all the tests check out but I can't seem to get it to return ALL of any value. ie: I do a get on sysDescr.0 and it only returns the first two chars. its ALWAYS the only 2 chars. any ideas? Ok, correction: if you set: $SNMP::use_sprint_value=1; then it misformats string responses to only 2 characters. some sort of sprintf bug - but probably not caused by your patch - I'll look at a later perl-snmp for that fix. thanks otherwise the patch works well further correction - there are an array of situation where the perl module will crash out and/or return PART of the data it is supposed to return. This one probably needs a more firm fix by upgrading ucd-snmp to 4.2.3 The next rawhide version of ucd-snmp will be based on the 4.2.3 version and won't contain the huge security2 patch anymore as the security problems have been fixed upstream. There are a couple of other fixes pending, but a new version should be available sometime next week via rawhide. Thanks, Read ya, Phil cool. I've got an easily recreatable case to test it with. I tested it - it fixes the problems I was having with the perl module. This should probably be released as an errata for 7.1/7.2 b/c it breaks the perl modules y'all shipped on the DMA cd for 7.1 There will be an errata for ucd-snmp for 7.2, 7.1, 7 and 6.2 later this month. Read ya, Phil |