Déjà Dup guesses the wrong hostname
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Déjà Dup |
New
|
Undecided
|
Unassigned |
Bug Description
deja-dup 22.0-0ubuntu2
duplicity 0.6.18-0ubuntu3
Ubuntu 12.04.1 LTS
Ubuntu currently creates /etc/hosts with these two lines, with "computername" being the name of my computer:
127.0.0.1 localhost
127.0.1.1 computername
This works fine most of the time, but can cause problems with some software. As a work-around I have changed /etc/hosts to look like this:
127.0.0.1 localhost computername
In both cases /etc/hostname and `hostname` say "computername", and computername is pingable.
Now, this is perfectly valid, and should not have an effect on Déjà Dup. Unfortunately when I configure my /etc/hosts like this, Déjà Dup now thinks my computer is called "localhost" instead "computername", and warns me when I try to backup to a location containing previous backups filed under "computername".
Why is Déjà Dup guessing my computer is called "localhost"? Shouldn't `hostname` or /etc/hostname be authoritative in this case?