[MacPorts] #50195: net-snmp @5.7.3_3+ssl: snmpd crashes on snmpwalk
#50195: net-snmp @5.7.3_3+ssl: snmpd crashes on snmpwalk -------------------------------------+----------------------------------- Reporter: mail@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: Yosemite snmpd snmpwalk | Port: net-snmp @5.7.3_3+ssl -------------------------------------+----------------------------------- Hi there, the SNMP daemon crashes after a snmpwalk request like: {{{ snmpwalk -v 2c -c public IPofHost }}} -- Ticket URL: <https://trac.macports.org/ticket/50195> MacPorts <https://www.macports.org/> Ports system for OS X
#50195: net-snmp @5.7.3_3+ssl: snmpd crashes on snmpwalk -----------------------+-------------------------------- Reporter: mail@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: yosemite elcapitan Port: net-snmp | -----------------------+-------------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… * port: net-snmp @5.7.3_3+ssl => net-snmp * keywords: Yosemite snmpd snmpwalk => yosemite elcapitan Comment: Looks like [https://sourceforge.net/p/net-snmp/bugs/2594/ this bug]. I can imagine what the fix is, but first I would like to be able to reproduce the problem on my system. What do I need to do before I run the command you gave, in order to see the problem? -- Ticket URL: <https://trac.macports.org/ticket/50195#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50195: net-snmp @5.7.3_3+ssl: snmpd crashes on snmpwalk -----------------------+----------------------------------------- Reporter: mail@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: yosemite elcapitan haspatch Port: net-snmp | -----------------------+----------------------------------------- Changes (by ryandesign@…): * keywords: yosemite elcapitan => yosemite elcapitan haspatch Comment: I've attached what I assume the fix will be but I'd like to confirm that before committing. So either let me know the steps to reproduce the problem, or try the patch and let me know if it fixes the problem. -- Ticket URL: <https://trac.macports.org/ticket/50195#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50195: net-snmp @5.7.3_3+ssl: snmpd crashes on snmpwalk -----------------------+----------------------------------------- Reporter: mail@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: yosemite elcapitan haspatch Port: net-snmp | -----------------------+----------------------------------------- Comment (by mail@…): Hi, I was able to apply the Portfile.diff and I copied the other diff file into the Portfile directory. But I guess i then made the mistake by deinstalling and the run another {{{ sudo port install net-snmp }}} again. What then happened was that macports was pulling a new revision (4). That was taking quite long to compile (in comparison to the runs before) and then it worked :-). Guess you already added the fix to the repo, right? -- Ticket URL: <https://trac.macports.org/ticket/50195#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50195: net-snmp @5.7.3_3+ssl: snmpd crashes on snmpwalk -----------------------+----------------------------------------- Reporter: mail@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: yosemite elcapitan haspatch Port: net-snmp | -----------------------+----------------------------------------- Comment (by ryandesign@…): I have not committed the fix because I was waiting for you to either confirm that it fixes the problem or to tell me how to test it on my own system. -- Ticket URL: <https://trac.macports.org/ticket/50195#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50195: net-snmp @5.7.3_3+ssl: snmpd crashes on snmpwalk -----------------------+----------------------------------------- Reporter: mail@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: yosemite elcapitan haspatch Port: net-snmp | -----------------------+----------------------------------------- Comment (by mail@…): Replying to [comment:4 ryandesign@…]:
I have not committed the fix because I was waiting for you to either confirm that it fixes the problem or to tell me how to test it on my own system. Okay but then it seams that the fix worked for me, right? I guess port took the revision 4 informations from the patches, right?
You can test the setup by creating a snmpd.conf file in /opt/local/etc/snmp/ (file is attached). the you start the sniped daemon {{{ sudo launchctl load -w /Library/LaunchDaemons/org.macports.net-snmp.plist }}} After this you run {{{ snmpwalk -v 2c -c public IPofHost/localhost }}} to receive all snmp informations Regards Henning -- Ticket URL: <https://trac.macports.org/ticket/50195#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50195: net-snmp @5.7.3_3+ssl: snmpd crashes on snmpwalk -----------------------+----------------------------------------- Reporter: mail@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: yosemite elcapitan haspatch Port: net-snmp | -----------------------+----------------------------------------- Comment (by mail@…): Hello, i did some more tests and I can confirm that the patches are working. Thanks again for your work Henning -- Ticket URL: <https://trac.macports.org/ticket/50195#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#50195: net-snmp @5.7.3_3+ssl: snmpd crashes on snmpwalk -----------------------+----------------------------------------- Reporter: mail@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: yosemite elcapitan haspatch Port: net-snmp | -----------------------+----------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Thanks for testing. I'll just commit the patch then. r144201 -- Ticket URL: <https://trac.macports.org/ticket/50195#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts