← Back to team overview

kernel-packages team mailing list archive

[Bug 1482688] Re: Bluez reports quoted hostname

 

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

---------------
bluez (4.101-0ubuntu29) wily; urgency=medium

  * debian/patches/unquote-hostname.patch:
    - As hostname is quoted in /etc/machine-info we have to unquote it before
      starting to use it or all remote device will see the quotes in our name.
      (LP: #1482688)

 -- Simon Fels <simon.fels@xxxxxxxxxxxxx>  Fri, 07 Aug 2015 18:00:55
+0200

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

-- 
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/1482688

Title:
  Bluez reports quoted hostname

Status in bluez package in Ubuntu:
  Fix Released

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


References