Bug 1178297

Summary: Bluetooth capture not available
Product: [Fedora] Fedora Reporter: tuksgig
Component: libpcapAssignee: Michal Sekletar <msekleta>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: gert.vervoort, jsitnicki, msekleta, thozza, tuksgig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libpcap-1.7.3-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-07 15:59:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Minimal fix needed to build libpcap 1.6.2 against BlueZ 5 none

Description tuksgig 2015-01-03 17:56:36 UTC
Description of problem:
Bluetooth adapters are not listed as capture devices in libpcap based programs like tcpdump or wireshark.

Version-Release number of selected component (if applicable):
libpcap-1.6.2-1.fc21.x86_64
bluez-libs-5.23-1.fc21.x86_64

How reproducible:
Always reproduceable

Steps to Reproduce:
1. Run dumpcap -D or tcpdump -D

Actual results:
No bluetooth0 adapter is listed as capture source

Expected results:
bluetooth0 adapter should be listed as capture source

Additional info:
This is a regression (used to work in Fedora 20). Probably just needs a builddep on bluez-libs in libpcap spec.

Comment 1 Michal Sekletar 2015-02-23 13:38:26 UTC
It is now impossible to compile libpcap against BlueZ 5. This problem is now being worked on upstream.

https://github.com/the-tcpdump-group/libpcap/pull/417/

Comment 2 Jakub Sitnicki 2015-03-27 07:47:49 UTC
Created attachment 1007117 [details]
Minimal fix needed to build libpcap 1.6.2 against BlueZ 5

Here's a fix with minimal changes needed to build libpcap 1.6.2 with Bluetooth support (both, for Bluetooth adapters and for Bluetooth monitor).

Perhaps it can serve as an immediate remedy while the work is being done upstream to completely remove libpcap's dependency on BlueZ.

The fix has also been proposed for merge upstream:

https://github.com/the-tcpdump-group/libpcap/pull/425

Comment 3 Fedora Update System 2015-05-27 08:16:07 UTC
libpcap-1.7.3-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/libpcap-1.7.3-1.fc21

Comment 4 Fedora Update System 2015-05-27 11:06:02 UTC
libpcap-1.7.3-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/libpcap-1.7.3-1.fc22

Comment 5 Fedora Update System 2015-05-28 12:02:14 UTC
Package libpcap-1.7.3-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libpcap-1.7.3-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-9003/libpcap-1.7.3-1.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-06-07 15:59:39 UTC
libpcap-1.7.3-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2015-06-21 00:14:33 UTC
libpcap-1.7.3-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.