Bug 171205 - Snmptrapd should notify if a command isn't found
Summary: Snmptrapd should notify if a command isn't found
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: net-snmp
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Radek Vokál
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-10-19 14:02 UTC by Nigel Horne
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-10-26 13:50:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nigel Horne 2005-10-19 14:02:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

Description of problem:
The traphandle entry in /etc/snmp/snmptrapd.conf does little runtime error checking.

It should log, via syslog, if a command can't be found or fails to start.



Version-Release number of selected component (if applicable):
net-snmp-5.2.1.2-FC3.1

How reproducible:
Always

Steps to Reproduce:
1. Add "traphandle default /bin/not/there/xyzzy" to snmptrapd.conf
2. restart snmptrapd
3. generate an SNMP trap
  

Actual Results:  Nothing

Expected Results:  Notification in the syslog that /bin/not/there/xyzzy could not be started - log it's errno.

Additional info:

Comment 1 Radek Vokál 2005-10-26 13:50:08 UTC
True. Reported upstream. Will be fixed in next rawhide version. 


Note You need to log in before you can comment on or make changes to this bug.