misc/159160: bsnmpd broken after upgrade in 9.0-CURRENT
Aurélien Méré
freebsd at amc-os.com
Sun Jul 24 14:40:07 UTC 2011
>Number: 159160
>Category: misc
>Synopsis: bsnmpd broken after upgrade in 9.0-CURRENT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 24 14:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Aurélien Méré
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD milkyway.adriana.amc-os.com 9.0-CURRENT FreeBSD 9.0-CURRENT #2: Fri Jul 22 23:38:26 CEST 2011 kindman at milkyway.adriana.amc-os.com:/usr/obj/opt/src/sys/MILKYWAY64-1.2.0 amd64
>Description:
After upgrading from 8-STABLE to 9-CURRENT, bsnmpd doesn't work anymore.
I added the -d flag to bsnmpd_flags in rc.conf :
[root at milkyway /usr/src/usr.sbin/bsnmpd]# /etc/rc.d/bsnmpd start
Starting bsnmpd.
/libexec/ld-elf.so.1: /usr/sbin/bsnmpd: Undefined symbol "snmp_pdu_decode_header"
/etc/rc.d/bsnmpd: WARNING: failed to start bsnmpd
In fact, it starts correctly but exit with the previous message after a request with snmpwalk like
/usr/local/bin/snmpwalk -Onqt -c public -v1 localhost ifTable
Everything was OK with 8-STABLE.
After last build :
-r--r--r-- 1 root wheel 298926 24 jul 15:19 /usr/lib/libbsnmp.a
lrwxr-xr-x 1 root wheel 13 24 jul 15:19 /usr/lib/libbsnmp.so -> libbsnmp.so.5
-r--r--r-- 1 root wheel 69664 24 jul 15:19 /usr/lib/libbsnmp.so.5
-r--r--r-- 1 root wheel 302838 24 jul 15:19 /usr/lib/libbsnmp_p.a
-r--r--r-- 1 root wheel 107048 24 jul 15:27 /usr/lib/libbsnmptools.a
lrwxr-xr-x 1 root wheel 18 24 jul 15:27 /usr/lib/libbsnmptools.so -> libbsnmptools.so.0
-r--r--r-- 1 root wheel 65832 24 jul 15:27 /usr/lib/libbsnmptools.so.0
-r--r--r-- 1 root wheel 111528 24 jul 15:27 /usr/lib/libbsnmptools_p.a
-r-xr-xr-x 1 root wheel 123816 24 jul 15:27 /usr/sbin/bsnmpd
[root at milkyway /usr/src/usr.sbin/bsnmpd]# nm /usr/lib/libbsnmp.a |grep snmp_pdu_decode_header
U snmp_pdu_decode_header
0000000000001130 T snmp_pdu_decode_header
>How-To-Repeat:
I rebuilt bsnmpd, libbsnmp from source tree without change.
I rebuild world and ports without change.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list