← Back to team overview

touch-packages team mailing list archive

[Bug 1482688] [NEW] Bluez reports quoted hostname

 

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 Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1482688

Title:
  Bluez reports quoted hostname

Status in bluez package in Ubuntu:
  In Progress

Bug description:
  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.

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


Follow ups