Bug 188931 - Use system Net-SNMP libraries on Linux systems
Use system Net-SNMP libraries on Linux systems
Product: 389
Classification: Community
Component: Security - General (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nathan Kinder
Viktor Ashirov
Depends On:
Blocks: 152373 fds103trackingbug 240316
  Show dependency treegraph
Reported: 2006-04-13 14:45 EDT by Nathan Kinder
Modified: 2015-12-07 11:37 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-12-07 11:37:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
CVS Diffs (10.60 KB, patch)
2006-04-13 15:22 EDT, Nathan Kinder
no flags Details | Diff

  None (edit)
Description Nathan Kinder 2006-04-13 14:45:39 EDT
We currently package a set of the Net-SNMP 5.2.1 libraries with Directory Server
for our SNMP subagent (ldap-agent).  Our subagent is built against that version
of Net-SNMP as well, which means that it is not compatible with earlier Net-SNMP
versions.  This means that one would need to install a non-system Net-SNMP
package on RHEL4 (which uses Net-SNMP 5.1.2 currently) to use the subagent.

We should be building against the system Net-SNMP libraries and just using them
from /usr/lib instead of packaging them.
Comment 1 Nathan Kinder 2006-04-13 15:22:22 EDT
Created attachment 127721 [details]
CVS Diffs

This makes Linux builds use the system Net-SNMP.  There were some minor changes
required to make the subagent work with NetSNMP v5.1.  These were mainly small
API changes.  I also found that I was getting lots of callback log messages
with Net-SNMP v5.1 that didn't happen in v5.2.	These messages were at the
LOG_INFO level, which was our default.	I changed our default to LOG_WARN and
changed some of our own logging statements from LOG_INFO to LOG_WARN as well.
Comment 2 Nathan Kinder 2006-04-13 19:06:59 EDT
Checked into ldapserver.  Reviewed by Noriko and Rich (thanks!).

Checking in components.mk;
/cvs/dirsec/ldapserver/components.mk,v  <--  components.mk
new revision: 1.49; previous revision: 1.48
Checking in internal_comp_deps.mk;
/cvs/dirsec/ldapserver/internal_comp_deps.mk,v  <--  internal_comp_deps.mk
new revision: 1.41; previous revision: 1.40
Checking in ldap/servers/snmp/ldap-agent.c;
/cvs/dirsec/ldapserver/ldap/servers/snmp/ldap-agent.c,v  <--  ldap-agent.c
new revision: 1.10; previous revision: 1.9
Checking in ldap/servers/snmp/ldap-agent.h;
/cvs/dirsec/ldapserver/ldap/servers/snmp/ldap-agent.h,v  <--  ldap-agent.h
new revision: 1.8; previous revision: 1.7
Checking in ldap/servers/snmp/main.c;
/cvs/dirsec/ldapserver/ldap/servers/snmp/main.c,v  <--  main.c
new revision: 1.8; previous revision: 1.7

Note You need to log in before you can comment on or make changes to this bug.