[Bug 1482688] [NEW] Bluez reports quoted hostname

Simon Fels simon.busch at canonical.com
Fri Aug 7 15:29:33 UTC 2015


Public bug reported:

At least on touch devices BlueZ reports a quoted hostname like "Aquaris
E4.5 Ubuntu Edition" which is then send over to other devices including
the quotes.

bluetoothd[6402]: plugins/adaptername.c:set_pretty_name() Setting name '"Aquaris E4.5 Ubuntu Edition"' for device 'hci0'
bluetoothd[6402]: plugins/mgmtops.c:mgmt_set_name() index 0, name "Aquaris E4.5 Ubuntu Edition"

BlueZ reads the hostname from /etc/machine-info on startup which has the
following set

PRETTY_HOSTNAME="Aquaris E4.5 Ubuntu Edition"

Code in BlueZ needs to be changed to ignore the quotes from the value.

** Affects: bluez (Ubuntu)
     Importance: Undecided
     Assignee: Simon Fels (morphis)
         Status: In Progress


** Tags: bluetooth

** Changed in: bluez (Ubuntu)
     Assignee: (unassigned) => Simon Fels (morphis)

** Changed in: bluez (Ubuntu)
       Status: New => In Progress

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

Title:
  Bluez reports quoted hostname

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



More information about the Ubuntu-bluetooth mailing list