scanlogd doesnt start anymore after upgrade from 8.2 to 8.3 cause of USB

Hilko Meyer Hilko.Meyer at gmx.de
Sun Apr 22 20:07:18 UTC 2012


Jason Hellenthal schrieb:
>
>Did you recompile your ports so this would go away ?

That was the first thing I tried. Didn't helped.

>More than likely some of your system is running against libpcap
>installed from ports etc... This happens.

No libcap from ports installed. And both affected programs linked to
systemlibpcap:
hilko at falko:~> ldd /usr/sbin/tcpdump
/usr/sbin/tcpdump:
        libpcap.so.7 => /lib/libpcap.so.7 (0x28112000)
        libcrypto.so.6 => /lib/libcrypto.so.6 (0x2813f000)
        libc.so.7 => /lib/libc.so.7 (0x2829a000)
hilko at falko:~> ldd /usr/local/bin/scanlogd
/usr/local/bin/scanlogd:
        libpcap.so.7 => /lib/libpcap.so.7 (0x2808f000)
        libc.so.7 => /lib/libc.so.7 (0x280bc000)

>You should also expect these things to happen in an upgrade when you
>leave software behind.

Thats true, but that wasn't the case here. In my understanding it's
related to this from the 8.3-Releasenotes:
| The FreeBSD usb(4) subsystem now supports USB packet filter. This allows
| to capture packets which go through each USB host controller. The
| implementation is almost based on bpf(4) code. The userland program
| usbdump(8) has been added.[r221174]

After that 'netstat -i' shows usbus entries. And it seens the
contributed libcap doesn't know how to handle that.

regards,
hilko


More information about the freebsd-stable mailing list