Activity log for bug #667885

Date Who What changed Old value New value Message
2010-10-28 16:16:07 nodata bug added bug
2010-11-07 00:42:53 Luis Villa bug added subscriber Luis Villa
2011-05-04 17:18:43 Gabriel Speckhahn bug task added deja-dup (Fedora)
2011-05-06 09:22:31 Fabio Puddu deja-dup: status New Confirmed
2012-01-28 16:24:43 Ben Liblit bug added subscriber Ben Liblit
2012-10-25 20:48:40 Michael Terry affects deja-dup duplicity
2012-10-25 20:48:51 Michael Terry summary deja-dup gets wrong hostname when ipv6 is disabled duplicity gets wrong hostname when ipv6 is disabled
2012-12-06 23:53:49 Michael Terry summary duplicity gets wrong hostname when ipv6 is disabled duplicity prefers fully-qualified-domain-name (fqdn) over hostname
2012-12-07 00:00:02 Michael Terry description I recently disabled ipv6 on my computer and used deja-dup for the first time. Today I re-enabled ipv6 and was surprised to be told that my current backup was for the machine localhost6.localdomain6 This is wrong. My machine is called mybox, and this is the output returned by the hostname command. $ cat /etc/hosts 192.168.1.5 mybox # Added by NetworkManager 127.0.0.1 localhost.localdomain localhost ::1 mybox localhost6.localdomain6 localhost6 Duplicity determines the machine's hostname in order to warn the user about unexpectedly backing up to the same location from two machines. However, it does this using socket.getfqdn(). It seems many users expect the value of socket.gethostname() instead. Now, I don't fully understand exactly the difference between the two calls, so I'm not necessarily advocating for this change. But gethostname() seems to be what most home users at least expect. Is the situation different for server users? If we made this change, we'd have to be careful to gracfully accept previous uses of getfqdn() that we wrote to manifests. I'd be willing to whip up a patch, Ken, if you think this is a sensible change. Examples: ========= (This original report) Duplicity gives: localhost6.localdomain6 $ cat /etc/hostname mybox $ cat /etc/hosts 192.168.1.5 mybox # Added by NetworkManager 127.0.0.1 localhost.localdomain localhost ::1 mybox localhost6.localdomain6 localhost6 ========= (Bug 1086068) Duplicity gives: localhost $ cat /etc/hostname computername $ cat /etc/hosts 127.0.0.1 localhost computername =========
2018-05-19 10:52:15 iain simpson bug added subscriber iain simpson
2020-06-03 12:37:19 Simon Weber bug watch added http://bugs.python.org/issue5004
2021-04-01 19:24:25 Kenneth Loafman duplicity: importance Undecided Medium