Hostname left to "ubuntu-0" in Bluetooth settings after install from live cd
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-
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelMo
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-
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_
activity-
deja-dup 22.0-0ubuntu2
gnome-bluetooth 3.2.2-0ubuntu5
indicator-datetime 0.3.94-0ubuntu2
Carroarmato0 (carroarmato0) wrote : | #1 |
description: | updated |
Launchpad Janitor (janitor) wrote : | #2 |
Changed in gnome-control-center (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
Chadarius (csutton-chadarius) wrote : | #3 |
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 : | #4 |
OK well that worked on the command line but not in the rc.local :(
Carroarmato0 (carroarmato0) wrote : | #5 |
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 : | #6 |
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 : | #7 |
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 |
Status changed to 'Confirmed' because the bug affects multiple users.