Bug 60161

Summary: ucd-snmp-4.2.3-5 stops responding
Product: [Retired] Red Hat Linux Reporter: Joshua Giles <joshua_giles>
Component: ucd-snmpAssignee: Phil Knirsch <pknirsch>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: high    
Version: 7.3CC: dale_kaisner, john_hull, 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-06-21 20:12:12 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:
Bug Depends On:    
Bug Blocks: 61901, 67218    

Description Joshua Giles 2002-02-21 00:29:43 UTC
Description of Problem:
If I do a "snmpwalk localhost public .1" on a sys w/ucd-snmp-4.2.3-5,
It prints out all of the system tree untill:

>system.sysORTable.sysOREntry.sysDRUptime.9 = (representation of timeticks go 
>here)
>Timeout: No response from localhost

After this any gets or walks will result in 

>Timeout: No response from localhost

The daemon is still running.
A look at the log indicates some sort of loop.  I will send this info to the 
ucd-snmp lists.


Version-Release number of selected component (if applicable):


How Reproducible:


Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 Phil Knirsch 2002-02-24 11:00:08 UTC
Is this the default config? I've tried this on my box, and i don't get the
system.sysORTable.sysOREntry.sysDRUptime at all. Otherwiese the snmpwalk runs
through completely.

Read ya, Phil



Comment 2 Phil Knirsch 2002-02-24 11:01:29 UTC
*** Bug 60160 has been marked as a duplicate of this bug. ***

Comment 3 Joshua Giles 2002-02-25 17:51:39 UTC
----Feb, 25 2002-----
This still happens on my box.  It seems to fail when the snmpd.conf file has 
systemview to be enabled with read permissions.  Any attempt to walk 
the "system" part of the tree will result in this strange behavior in the 
daemon.

--Josh

Comment 4 Joshua Giles 2002-02-26 16:42:58 UTC
#####Feb 26 2002##########
There is talk about this on the snmp-lists @ sourceforge

Comment 5 Joshua Giles 2002-02-26 16:43:41 UTC
#####Feb 26 2002##########
There is talk about this on the snmp-lists @ sourceforge

Comment 6 Joshua Giles 2002-02-28 22:34:04 UTC
This is patched in the 4.2.4 tree.  Please update when possible.

Comment 7 Bill Nottingham 2002-03-26 17:23:35 UTC
It would be nice if the relevant patch could be extracted and applied to 4.2.3.

Comment 8 Phil Knirsch 2002-03-27 08:50:21 UTC
Looking into it today.

Actually, where does ucd-snmp-4.2.3-5 come from? Just curious as the latest
release i had was 4.2.3-4...

Read ya, Phil

Comment 9 Joshua Giles 2002-03-27 14:33:05 UTC
4.2.3-5 was the package that came with Hampton beta1.


Comment 10 Phil Knirsch 2002-03-27 15:14:34 UTC
4.2.3-5 was beta1, which is not moved back when we went beta1 to beta2. The
current version in the tree contains the same fixes though...

OK, this is from Wes, the maintainer of ucd-snmp (netsnmp :). According to that
it seems as if there is no fix for the 4.2.x series yet.
I've also looked at the differences between 4.2.3 and 4.2.4pre2 and couldn't
locate and isolate the problem.

Btw: A workaround always is to use .1 as systemview instead of .system only.
Granted, this is not always possible or advisable, but for the time being it
works that way.

Question is wether we want to updated to 4.2.4 when it's released (hopefully
sometime this week) or if we want to stick with 4.2.3...

 Pete> Yes I set this so that unprivileged users cant see the whole
 Pete> tree just the system tree. As this is a fairly common command
 Pete> (snmpwalk localhost public system) its quite worrying as any
 Pete> user can hang the snmpd with it. It does not seem to return to
 Pete> normal as I waited a few minutes and the daemon was using 80%
 Pete> CPU and not replying to requests so I eventually have to restart
 Pete> it.
 
 Yep, I hope to address it in the 5.0 release.  It basically requires
 checking access control for GETNEXT's early on for an entire subtree
 of information.  However, this may not even be trivial to do.

Comment 11 Joshua Giles 2002-03-28 22:49:47 UTC
Looks like this behavior is not reproduceable on the latest and greatest 
version of ucd-snmp (4.2.3-1.7.2.3).  This is the version thats on beta3 of 
Hampton.

Comment 12 Joshua Giles 2002-04-15 23:54:46 UTC
This is still apparent in 4.2.3-1.7.2.3 and 4.2.4*-pre3.

Comment 13 Phil Knirsch 2002-06-25 14:36:34 UTC
Actually the daemon 'recovers' after approx. 1 minute (at least on my machine here).

The problem is (as already described on the net-snmp mailing lists) related to
'invisible' subtrees and as i already pasted as well not likely to be fixed for
the ucd-snmp-4.x release.

So i am closing this bug again, as this bug has to be fixed upstream.

Read ya, Phil

PS: I've also provided a 'workaround' as well here in this bugreport which
should be sufficent for now.

Comment 14 Phil Knirsch 2002-08-07 14:58:22 UTC
*** Bug 69918 has been marked as a duplicate of this bug. ***

Comment 15 Phil Knirsch 2002-08-28 13:45:30 UTC
*** Bug 72681 has been marked as a duplicate of this bug. ***