Blame SOURCES/net-snmp-5.5-man-config-path.patch

8a419f
978398 - net-snmp does not honor configuration file look-ups as specified in man
8a419f
8a419f
commit 9bd0413bfbdcd845413c135bbff8771fa7130809
8a419f
Author: Jan Safranek <jsafranek@users.sourceforge.net>
8a419f
Date:   Mon Feb 11 11:57:01 2013 +0100
8a419f
8a419f
    Explicitly enumerate configuration files.
8a419f
    
8a419f
    The generic conf and local.conf extensions were interpreted as my.snmp.conf and my.other.snmp.local.conf by some customers.
8a419f
8a419f
diff -up net-snmp-5.7.2/man/snmp_config.5.defptch net-snmp-5.7.2/man/snmp_config.5.def
8a419f
--- net-snmp-5.7.2/man/snmp_config.5.defptch	2013-06-26 16:14:33.039284390 +0200
8a419f
+++ net-snmp-5.7.2/man/snmp_config.5.def	2013-06-26 16:14:49.616233272 +0200
8a419f
@@ -11,9 +11,10 @@ found and read from.  By default, the ap
8a419f
 configuration files in the following 4 directories, in order:
8a419f
 SYSCONFDIR/snmp,
8a419f
 DATADIR/snmp, /usr/lib(64)/snmp, and $HOME/.snmp.  In each of these
8a419f
-directories, it looks for files with the extension of both
8a419f
-.IR conf " and " local.conf
8a419f
-(reading the second ones last).  In this manner, there are
8a419f
+directories, it looks for files snmp.conf, snmpd.conf and/or
8a419f
+snmptrapd.conf, as well as snmp.local.conf, snmpd.local.conf
8a419f
+and/or snmptrapd.local.conf. *.local.conf are always
8a419f
+read last. In this manner, there are
8a419f
 8 default places a configuration file can exist for any given
8a419f
 configuration file type.
8a419f
 .PP