Public bug reported: Binary package hint: libpcap0.8
$ apt-cache policy libpcap libpcap0.8: Installed: 1.0.0-2ubuntu1 Candidate: 1.0.0-2ubuntu1 Version table: *** 1.0.0-2ubuntu1 0 500 http://nl.archive.ubuntu.com karmic/main Packages 100 /var/lib/dpkg/status Trying to capture data from USB: $ sudo tcpdump -D 1.eth0 2.any (Pseudo-device that captures on all interfaces) 3.lo (No usbmon interfaces listed at all, as it turned out, I was affected by LP: #355613, but I didn't know that yet.) I try capturing from usbmon1 anyway: $ sudo tcpdump -i usbmon1 tcpdump: Can't open USB bus file /sys/kernel/debug/usbmon/1t: No such file or directory The file path it tries to open is wrong! It should be /sys/kernel/debug/usb/usbmon/1t After I used the workaround for LP: #355613, without making any changes to libpcap, I could capture from usbmon1 anyway. Looking back, it seems that, after being blocked from accessing /dev/usbmon1 by AppArmor libpcap tried falling back to using the debugfs usbmon1, which resulted in the error mentioned above. Lucky me it seems, this is a case of bugs helping to find other bugs :-) ** Affects: libpcap0.8 (Ubuntu) Importance: Undecided Status: New -- wrong path to usbmon in debugfs https://bugs.launchpad.net/bugs/508275 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs