Date: Fri, 23 Dec 2016 08:09:53 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 215506] killall -HUP bsnmpd fails if any modules are listed in /etc/snmpd.config Message-ID: <bug-215506-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215506 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@FreeBSD.org Reporter: ngie@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 prev= ent 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 retur= ns 12 snmpd[97426]: in file /etc/snmpd.config line 148 snmpd[97426]: error reading config file '/etc/snmpd.config' --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215506-8>
