Bluetooth daemon default configuration is wrong

Bug #1280584 reported by Sundberg Pauli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I was trying to connect my Android device to python script via bluetooth connection. The connection raised fine but it was not able to make the connection. I am using [1] as server.

When looking at syslog i noticed:
> bluetoothd[707]: Unable to spawn pnatd: Failed to execute child process "/usr/bin/phonet-at" (No such file or directory)

Googling that gives [2]. And comment from 'Selmi' follows up to discussion on linux-bluetooth [3].

They say:
>There should be absolutely no reason for Ubuntu have this plugin enabled
or even compiled. You might wanna file a bug to them to disable it. The
only place where it makes sense to be compiled is in Nokia's Maemo
Harmattan platform. For everything else it should be disabled (as it is
by default).

And indeed, adding line
'DisablePlugins = pnat' to '/etc/bluetooth/main.conf' makes the test work fine.

[1] http://people.csail.mit.edu/albert/bluez-intro/x232.html
[2] http://ubuntuforums.org/showthread.php?t=1936904
[3] http://www.spinics.net/lists/linux-bluetooth/msg14290.html

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bluez - 4.101-0ubuntu13

---------------
bluez (4.101-0ubuntu13) trusty; urgency=medium

  * debian/rules: Disable pnat, it shouldn't have been compiled in the first
    place; since it's only really useful on Maemo. (LP: #1280584)
 -- Mathieu Trudel-Lapierre <email address hidden> Thu, 10 Apr 2014 16:10:13 -0400

Changed in bluez (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.