Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2019 23:53:33 +0200
From:      Kurt Jaeger <pi@freebsd.org>
To:        Dan Langille <dan@langille.org>
Cc:        Kurt Jaeger <pi@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, Ryan Steinmetz <zi@freebsd.org>
Subject:   Re: svn commit: r513140 - in head/net-mgmt/net-snmp: . files
Message-ID:  <20190930215333.GJ60644@fc.opsec.eu>
In-Reply-To: <c0bac391-ec0c-4251-9533-7148b856db40@www.fastmail.com>
References:  <201909281516.x8SFGNnS063908@repo.freebsd.org> <c0bac391-ec0c-4251-9533-7148b856db40@www.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> > Log:
> >   net-mgmt/net-snmp: update 5.7.3 -> 5.8
> 
> net.5.8 fails to start with the configuration file I use, which isn't much off from the sample file.

We're back to 5.7.3 after some debugging.

snmpd seems to read it's config twice, opening udp-socket 127.0.0.1:161
twice (and failing the second time).

Which seems to happen if one has 

agentAddress  udp:127.0.0.1:161

in the config. Or runs inside a jail and has

agentAddress  udp:<the-jail-ip>:161

in there -- then snmpd first opens udp:127.0.0.1:161 (which maps
to udp:<the-jail-ip>:161 and, in the second path, tries to
open udp:<the-jail-ip>:161, which then fails.

-- 
pi@FreeBSD.org         +49 171 3101372                  One year to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190930215333.GJ60644>