← Back to team overview

kernel-packages team mailing list archive

[Bug 1280584] [NEW] Bluetooth daemon default configuration is wrong

 

Public bug reported:

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

** Affects: bluez (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1280584

Title:
  Bluetooth daemon default configuration is wrong

Status in “bluez” package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1280584/+subscriptions


Follow ups

References