$USER not set leads to an error in etckeeper daily autocommit

Bug #333243 reported by Thierry Carrez
2
Affects Status Importance Assigned to Milestone
etckeeper (Debian)
Fix Released
Unknown
etckeeper (Ubuntu)
Fix Released
Medium
Thierry Carrez

Bug Description

Binary package hint: etckeeper

From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=515602

I get the following error from the cron job
because of the usage of $USER in pre-commit.d/30store-metadata:

/etc/cron.daily/etckeeper:
find: invalid argument `-exec' to `-user'

Revision history for this message
Thierry Carrez (ttx) wrote :

Fixed upstream in 0.31, I'll backport it here.

Changed in etckeeper:
assignee: nobody → tcarrez
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package etckeeper - 0.30ubuntu2

---------------
etckeeper (0.30ubuntu2) jaunty; urgency=low

  * Avoid relying on USER being set, since for the cronjob, it won't be.
    Fix backported from 0.31 (LP: #333243)

 -- Thierry Carrez <email address hidden> Mon, 23 Feb 2009 11:16:08 +0000

Changed in etckeeper:
status: Triaged → Fix Released
Changed in etckeeper:
status: Unknown → Fix Released
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.