[Bug 1267564] Re: etckeeper with git breaks upgrade from Precise to Trusty

Robie Basak 1267564 at bugs.launchpad.net
Mon Jan 13 13:35:47 UTC 2014


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

It looks like git's behaviour changed between 1:1.7.10.4-1ubuntu1
(Quantal) and 1:1.8.1.2-1 (Raring).

If "dnsdomainname" returns empty, then git now fails, whereas before it
proceeded with invalid committer/author "email addresses".

I think there are two things going on here. First is the change in
upstream git; the second is that your system had a misconfigured (ie.
empty) domain name.

So I think this is a previous domain name misconfiguration on your
system causing the problem, rather than a general requirement that you
must now configure git with a name and email. Configuring git with a
name and email merely overrides the default. It is the default that on
your system has always been unobtainable but is now being treated as an
error.

Nevertheless, it would be nice if etckeeper didn't break in this case,
as it is expected to function automatically and so prompting the user
during an upgrade (as git does) is not helpful. I wonder how many other
users do not have domain names defined.

Could you please post /etc/hostname and /etc/hosts and explain how you
installed your system originally, so that we can figure out how many
other users this issue might affect? And have you modified /etc/hostname
and/or /etc/hosts by hand, at all?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1267564

Title:
  etckeeper with git breaks upgrade from Precise to Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1267564/+subscriptions



More information about the Ubuntu-server-bugs mailing list