Hostname left to "ubuntu-0" in Bluetooth settings after install from live cd

Bug #986991 reported by Carroarmato0 on 2012-04-22
46
This bug affects 10 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Low
Mathieu Trudel-Lapierre

Bug Description

After installing from a live-cd session when given a hostname to the machine, the hostname is applied, but for some reason the live cd hostname "ubuntu-0" is being shown in the bluetooth settings instead of the user's chosen hostname.

Also: the name gets reset to "ubuntu-0" after reboots when you change it manually with "hciconfig"

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-control-center 1:3.4.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
Date: Sun Apr 22 22:04:32 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120417)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_gnome-control-center:
 activity-log-manager-control-center 0.9.4-0ubuntu3
 deja-dup 22.0-0ubuntu2
 gnome-bluetooth 3.2.2-0ubuntu5
 indicator-datetime 0.3.94-0ubuntu2

Carroarmato0 (carroarmato0) wrote :
description: updated
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
description: updated
Chadarius (csutton-chadarius) wrote :

As a work around, I have done the following.

I added the following into rc.local
<code>
hciconfig hci0 name $HOSTNAME
</code>

Chadarius (csutton-chadarius) wrote :

OK well that worked on the command line but not in the rc.local :(

Carroarmato0 (carroarmato0) wrote :

Maybe the $HOSTNAME variable isn't present when rc.local gets executed, or maybe the command gets executed, but when the Bluetooth managers starts it changes that again to the wrong hostname?

Chadarius (csutton-chadarius) wrote :

Restarting bluetooth does set it back to ubuntu-0 again. So it seems a fix would be to put that into the bluetooth startup process perhaps.

Sebastien Bacher (seb128) wrote :

Thank you for your bug report

Mathieu, could you have a look to that?

Changed in gnome-control-center (Ubuntu):
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers