Re: 5.3.pre4 HP-UX 10.20: non-root agent hangs when walked

This is a discussion on Re: 5.3.pre4 HP-UX 10.20: non-root agent hangs when walked within the SNMP Coders forums, part of the Networking and Network Related category; Dave Shield wrote: > On Thu, 2005-11-24 at 16:23 +0100, Thomas Anders wrote: >>according to ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-25-2005
Thomas Anders
 
Posts: n/a
Default Re: 5.3.pre4 HP-UX 10.20: non-root agent hangs when walked

Dave Shield wrote:
> On Thu, 2005-11-24 at 16:23 +0100, Thomas Anders wrote:
>>according to Dave's testing with CVS MAIN on HP-UX 10.20, test #58
>>(snmpwalk) fails against an agent that's running as non-root (as is
>>typically the case during "make test"), but succeeds when the agent is
>>running as root. (BTW, the same holds true for the snmpnetstat test.)
>>
>>I don't consider this ideal behaviour. I guess that we fail to properly
>>catch an error somewhere or need to apply some #ifdef NO_ROOT_ACCESS logic.

>
> I've just submitted a patch to skip these particular tests if
> 'id -u' doesn't return 0. Currently this only applies for HP-UX
> kit, but the same thing may be applicable on other systems too.


This may be fine for the snmpnetstat test, but I'm not convinced this is
the Right Thing To Do for the snmpwalk test.

IIUC (and I don't have access to a HP-UX system to verify) a full
snmpwalk against an agent running as non-root on HP-UX 10.20
hangs/crashes(?) the agent. If so, then wouldn't *this* be the problem
that needs to be fixed, rather than skipping the test that reports the
failure? Or am I missing something here?


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:31 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0