From: SourceForge.net <no...@so...> - 2004-05-24 21:30:30
|
Bugs item #955757, was opened at 2004-05-18 11:45 Message generated for change (Comment added) made by nba You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=955757&group_id=12694 Category: agent Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Niels Baggesen (nba) Summary: snmpd crashes while re-reading snmpd.conf (5.0.9) Initial Comment: Submitter: tho...@al... Used platform: Red Hat Enterprise Linux ES release 3 (Taroon Update 2) Kernel 2.4.21-15.EL on an i686 Net-snmp pkg: net-snmp-5.0.9-2.30E.3 Description: Snmpd crashes while re-reading config file snmpd.conf (triggered by "kill -HUP <snmpd-pid>") if the config file contains lines to start Executables/scripts e.g.: exec <MIB-oid> <name> <script> There is no problem reading such config-file while normal start or restart of snmpd agent. ---------------------------------------------------------------------- >Comment By: Niels Baggesen (nba) Date: 2004-05-24 23:30 Message: Logged In: YES user_id=88647 Could you check if this patch (against 5.1.1) fixes it? Index: agent/mibgroup/ucd-snmp/extensible.c =================================================================== RCS file: /cvsroot/net-snmp/net-snmp/agent/mibgroup/ucd-snmp/extensible.c,v retrieving revision 5.7.2.2 diff -u -r5.7.2.2 extensible.c --- agent/mibgroup/ucd-snmp/extensible.c 4 Mar 2004 23:40:20 -0000 5.7.2.2 +++ agent/mibgroup/ucd-snmp/extensible.c 24 May 2004 21:24:19 -0000 @@ -316,7 +316,7 @@ tname[etmp2->miblen] = i; unregister_mib(tname, etmp2->miblen+1); } - for (i=100; i<103; i++) { + for (i=100; i<=103; i++) { tname[etmp2->miblen] = i; unregister_mib(tname, etmp2->miblen+1); } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=955757&group_id=12694 |