[Bug 209790] net-mgmt/net-snmp: snmptrapd.conf: Warning: Unknown token: logOption.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 27 11:17:09 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209790

            Bug ID: 209790
           Summary: net-mgmt/net-snmp: snmptrapd.conf: Warning: Unknown
                    token: logOption.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi at FreeBSD.org
          Reporter: ohartman at zedat.fu-berlin.de
             Flags: maintainer-feedback?(zi at FreeBSD.org)
          Assignee: zi at FreeBSD.org

Running net-snmp-5.7.3_11 (net-mgmt/net-snmp) on FreeBSD 10-RELEASE-p3, and
herefrom the snmptrapd, the manpage states the existence of the Option
"logOption" in the manpage of snmptrapd.conf. This line is also established via
the automated configuration tool snmpconf.

Trying to start snmptrapd with configuration file located in
/usr/local/etc/snmp/snmptrapd.conf gives this error:
#
[...]
snmptrapd[58704]: /usr/local/etc/snmp/snmptrapd.conf: line 35: Warning: Unknown
token: logOption.

Line 35 of this specific config file is:

     27 ###################################
     28 # SECTION: Logging options
     29 #
     30 #   Logging options
     31
     32 # logoption: Set options controlling where to log to
     33 #   See -L options in the snmptrapd.conf man page
     34
     35 logOption       f /var/log/snmptrapd.log

It doesn't matter whether I write logoption or logOption or whatever Option I
apply.

Such a behaviour/bug was reported also for Version 5.7.2 but is supposed to be
fixed. What happened here?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list