Public bug reported:
Binary package hint: etckeeper
I have etckeeper configured with a near-default configuration except
that I am using hg, not bzr.
When a daily autocommit occurs with changes present, the following is
emailed to root by cron:
/etc/cron.daily/etckeeper:
No username found, using 'r...@hostname' instead
This is hg reporting that it is falling back to an autodetected username
for the commit. I propose that this be fixed like this:
--- etckeeper_0.30ubuntu2_all.deb!/etc/cron.daily/etckeeper
+++ /etc/cron.daily/etckeeper 2009-04-20 23:28:35.000000000 +0100
@@ -2,6 +2,9 @@
set -e
if [ -x /usr/sbin/etckeeper ] && [ -e /etc/etckeeper/etckeeper.conf ]; then
. /etc/etckeeper/etckeeper.conf
+ if [ "$VCS" = hg ]; then
+ export hguser=c...@`hostname --fqdn`
+ fi
if [ "$AVOID_DAILY_AUTOCOMMITS" != "1" ]; then
if etckeeper unclean; then
etckeeper commit "daily autocommit" >/dev/null
** Affects: etckeeper (Ubuntu)
Importance: Undecided
Status: New
--
daily autocommits with etckeeper/hg cause cron emails
https://bugs.launchpad.net/bugs/364344
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs