Bug 209885 - net-mgmt/net-snmp: snmptrapd not functional without --disable-snmptrapd-subagent
Summary: net-mgmt/net-snmp: snmptrapd not functional without --disable-snmptrapd-subagent
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-31 11:24 UTC by emz
Modified: 2016-05-31 13:46 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (zi)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emz 2016-05-31 11:24:38 UTC
When built without --disable-snmptrapd-subagent configure argument snmptrapd neither doesn't log traps, nor handles them. Furthermore, it starts way too long (several minutes). When build with this argument, it behavies just fine.

Just like it's described here:

https://sourceforge.net/p/net-snmp/mailman/message/22074123/

I got this on a recent ports tree (yesterday's actually).
I have several FreeBSd machines with old net-snmp (5.7.2) where this behaviour isn't encountered. However, it's reproducible on newer versions.

I think this should be implemented, if not mandatory, then as an option definitely.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-05-31 13:45:34 UTC
A commit references this bug:

Author: zi
Date: Tue May 31 13:45:31 UTC 2016
New revision: 416198
URL: https://svnweb.freebsd.org/changeset/ports/416198

Log:
  - Add OPTION to pass --disable-snmptrapd-subagent to configure

  PR:		209885
  Submitted by:	emz@norma.perm.ru

Changes:
  head/net-mgmt/net-snmp/Makefile
Comment 2 Ryan Steinmetz freebsd_committer freebsd_triage 2016-05-31 13:46:08 UTC
OPTION added.