From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.7) Gecko/20011221 Description of problem: A upstream problem renders the master AgentX functionality in ucd-snmp unusable (snmpd dies at start time when the "master agentx" line is present in /etc/snmp/snmpd.conf) and was solved after 4.2.1 the patch described in this ucd-snmp 4.2.3 ChangeLog entry (with references to net-snmpd bug database) should be applied: 2001-10-04 02:21 jbpn * agent/snmpd.c: - disable stderr logging (if requested) before calling init_mib_modules(). This should fix the problem noted by Nigel Metheringham in bug #418857 whereby the AgentX master module prints a message to stderr which causes a SIGPIPE when the agent is started as a daemon. Also noted with extensive analysis by Ted Rule in bug #467551. and accesible via the net-snmp ViewCVS via: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/net-snmp/net-snmp/agent/snmpd.c.diff?r1=1.199&r2=1.200&only_with_tag=MAIN The patch in appliable is attached (can also be downloaded from http://rmrpms.tripod.com/ucd-snmp/ucd-snmp-4.2.1-stderr.patch): This problem affects RHL 6.2, 7 and 7.1 too. I'm submitting this report just in case future errata packages stay at upstream version 4.2.1. If they are 4.2.[23] this report is irrelevant. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Start the snmpd server # /sbin/service snmpd start 2. Check snmpd is running with # /sbin/service snmpd status or # ps aux|grep snmpd or # lsof|grep IPv4 |grep snmp 2. Stop the snmpd service # /sbin/service snmpd stop 3. Edit /etc/snmp/snmpd.conf adding a line that reads master agentx 4. Start the snmpd server # /sbin/service snmpd start 5. Check snmpd is running again with # /sbin/service snmpd status service dies but subsystem locked or # ps aux|grep snmpd or # lsof|grep IPv4 |grep snmp Actual Results: (no output) Expected Results: snmpd should not die Additional info: $ rpm -q ucd-nsmp ucd-snmp-4.2.1-7
Created attachment 43295 [details] fix to AgentX master problem in ucd-snmp 4.2.1 ('backported' from 4.2.3)
Thanks for reporting, but the next errata release and normal rawhide release will be based on ucd-snmp 4.2.3 which fixes a couple of other problems. It will take a couple more days to appear on rawhide, but should be there sometime next week. Read ya, Phil