Déjà Dup guesses the wrong hostname

Bug #1086068 reported by Jeroen Hoek
6
This bug affects 1 person
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?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.