Bug 1464485

Summary: documentation lack for includeFile, includeDir options
Product: Red Hat Enterprise Linux 7 Reporter: dbodnarc
Component: net-snmpAssignee: Josef Ridky <jridky>
Status: CLOSED ERRATA QA Contact: Karel Srot <ksrot>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: ovasik
Target Milestone: rcKeywords: Documentation
Target Release: 7.5   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: net-snmp-5.7.2-29.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 17:55:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1420851, 1465906, 1465925    
Attachments:
Description Flags
man page fix none

Description dbodnarc 2017-06-23 14:16:49 UTC
Description of problem:
man snmp_config doesn't contain information for the following options:
includeFile
includeDir
includeSearch

and is pointing to option `include` which doesn't look to be supported:
/etc/snmp/snmpd.conf: line XX: Warning: Ambiguous token 'include' - use 'includeSearch' (or 'includeFile') instead.

Version-Release number of selected component (if applicable):
net-snmp-5.7.2-24.el7_3.2.x86_64

How reproducible:
man snmp_config

Actual results:
INCLUDING OTHER CONFIGURATION FILES
       It is possible to include other configuration files for processing during normal configuration file processing.:

              # include site specific config
              include site.conf

       This will search every directory in the configuration path for files
       named site.conf, and will process those files before returning to the
       processing of the original file. Note that if '.conf' is omitted,
       it will be appended. That is, all configuration files must end
       in '.conf'.

Expected results:
Description of the supported options:
includeFile
includeDir
includeSearch


Additional info:
man snmp_config in RHEL6 contains information regarding includeFile and includeDir

Comment 2 Josef Ridky 2017-06-26 09:35:01 UTC
Created attachment 1291926 [details]
man page fix

Man page for includeSearch doesn't exist. 

Patch for includeFile and includeDir man page fix is attached.

Comment 11 errata-xmlrpc 2018-04-10 17:55:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0956