Date: Tue, 19 Nov 2019 13:25:27 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: "Michael W. Lucas" <mwlucas@michaelwlucas.com>, ports@freebsd.org Subject: Re: net-snmp crash Message-ID: <8a858e3d-1f7e-ad82-f870-4e41ddb39f75@grosbein.net> In-Reply-To: <20191118212232.GA4543@mail.mwl.io> References: <20191118212232.GA4543@mail.mwl.io>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hG2nhvdE6HRxie55rQCAqKPn20O38dUhc Content-Type: multipart/mixed; boundary="V2FekiePnpMd42gF0q3htclhFUATAKmHi"; protected-headers="v1" From: Eugene Grosbein <eugen@grosbein.net> To: "Michael W. Lucas" <mwlucas@michaelwlucas.com>, ports@freebsd.org Message-ID: <8a858e3d-1f7e-ad82-f870-4e41ddb39f75@grosbein.net> Subject: Re: net-snmp crash References: <20191118212232.GA4543@mail.mwl.io> In-Reply-To: <20191118212232.GA4543@mail.mwl.io> --V2FekiePnpMd42gF0q3htclhFUATAKmHi Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 19.11.2019 4:22, Michael W. Lucas wrote: > Hi, >=20 > I can reliably crash net-snmp with an snmpset. Worth a formal bug > report? >=20 > $ uname -a > FreeBSD freebsdtest 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC = amd64 >=20 > $ pkg info net-snmp > net-snmp-5.7.3_20,1 > Name : net-snmp > Version : 5.7.3_20,1 > Installed on : Wed Oct 9 15:22:24 2019 EDT > ... >=20 > Detail: >=20 > $ sysctl net.inet.ip.forwarding > net.inet.ip.forwarding: 0 >=20 > $ snmpget freebsd IP-MIB::ipForwarding.0 > IP-MIB::ipForwarding.0 =3D INTEGER: notForwarding(2) >=20 > $ snmpset freebsd IP-MIB::ipForwarding.0 i 1 > Timeout: No Response from freebsd >=20 > Yep, the agent is dead: >=20 > $ pgrep snmpd > $ >=20 > The sysctl change took place, however: >=20 > $ sysctl net.inet.ip.forwarding > net.inet.ip.forwarding: 1 >=20 > I can restart the agent and reverse the change, but snmpd crashes > again. >=20 > So: worth a bug report, or no? Yes, and this should be easy to debug and fix provided net-snmpd port bui= lt WITH_DEBUG=3Dyes to include debugging symbols and coredumps enabled. --V2FekiePnpMd42gF0q3htclhFUATAKmHi-- --hG2nhvdE6HRxie55rQCAqKPn20O38dUhc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJd04rgAAoJELDNGvImmIsoWKAH/A3+vkE1ZpfyZqnGscNwIFNz nUAxI5IHLncW5RJO94vCyW3UQvl6cB9kef8aOdCHMCmWKrk2IBqtb4J+sN1SDF1O 2hskYqsHiYtMk/COFUhRPezPfu6Rc+BX07/w9wEnnaw9JnsQNYtcNkArlBke4eWg WtIjFN64QjyIFcIf4Smh+5OZCE6IgJXm2Mj1zFRe+uQNoSIFfuM6vMnV3Md2pqz/ h+AS+rcare5SkGghOwbzIkTpVyTukfbMl4ZBOBrPTXKr/FGz1Ie6qtPG9uzIn1U+ RXeEwMMT4Bvq78XeG8rs0hAZUuV9tN8bwb1F3JpJIoqsOioNQhl3xvjL72SIMXA= =B3ot -----END PGP SIGNATURE----- --hG2nhvdE6HRxie55rQCAqKPn20O38dUhc--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8a858e3d-1f7e-ad82-f870-4e41ddb39f75>