[Bug 215506] killall -HUP bsnmpd fails if any modules are listed in /etc/snmpd.config

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 23 08:09:53 UTC 2016


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

            Bug ID: 215506
           Summary: killall -HUP bsnmpd fails if any modules are listed in
                    /etc/snmpd.config
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ngie at FreeBSD.org

If I use the default snmpd.config file (which enables MIB-II), it will fail to
reload the configuration, citing that the MIB-II module has already been
loaded. I had the USM module enabled as well, so as a control I disabled
MIB-II, attempted the same thing, and it seems that any modules loaded prevent
bsnmpd from reloading the configuration.

Window 1:

Start bsnmpd non-daemonized:

# bsnmpd -d

Window 2:

Force bsnmpd to reload the configuration:

# killall -HUP bsnmpd

Expected result:

- Any configuration changes made should take effect.

Actual result:

Something like the following is printed out in window 1, based on the first
module it finds already loaded:

snmpd[97426]: assignment to begemotSnmpdModulePath.5.109.105.98.73.73 returns
12
snmpd[97426]:   in file /etc/snmpd.config line 148
snmpd[97426]: error reading config file '/etc/snmpd.config'

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


More information about the freebsd-bugs mailing list