Package: etckeeper
Version: 1.18.5-1
Severity: normal

Dear Maintainer,

etckeeper so far worked fine in normal operation (i.e., as triggered by apt and
by manually doing "etckeeper commit"), but the cronjob just failed with the
following error:

======================================
/etc/cron.daily/etckeeper:

*** Please tell me who you are.

Run

  git config --global user.email "y...@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'root@r-schwarzschild.(none)')
run-parts: /etc/cron.daily/etckeeper exited with return code 128
======================================

Previous commits were done with "r@r-schwarzschild" (that's my normal user) and
"post AT ralfj DOT de" (unobfuscated, of course; that's what I have now set in
~r/.gitconfig).  However, it seems that when etckeeper runs without a wrapping
sudo (?), like it does in the cronjob, it is unable to perform commits.  The
debian installer accepts an empty domain name just fine, and "r@r-schwarzschild"
also worked before I did any manual configuration.  Hence I would expect the
cronjob to also be able to cope with that.  Besides, the instructions I got from
git up there are obviously not correct as that would set things in
~r/.gitconfig; I am not sure what is the right way to inform etckeeper about the
email address to use.

Kind regards,
Ralf

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.1 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages etckeeper depends on:
ii  darcs                  2.12.4-2
ii  debconf [debconf-2.0]  1.5.59
ii  git                    1:2.11.0-2
ii  mercurial              4.0-1
pn  python:any             <none>

Versions of packages etckeeper recommends:
ii  cron [cron-daemon]  3.0pl1-128

Versions of packages etckeeper suggests:
ii  sudo  1.8.19-1

-- debconf information:
  etckeeper/purge: true

Reply via email to