[Popcon-developers] Bug#725889: popularity-contest: cron task gpg: fatal: can't open /tmp/.../trustdb.gpg: No such file or directoryo

Bill Allombert Bill.Allombert at math.u-bordeaux1.fr
Wed Oct 9 19:09:02 UTC 2013


On Wed, Oct 09, 2013 at 11:30:17AM -0600, Bob Proulx wrote:
> Package: popularity-contest
> Version: 1.60
> Severity: normal
> 
> After the daily upgrade yesterday popularity-contest's cron task now
> reports:
> 
>   # /etc/cron.daily/popularity-contest 
>   gpg: fatal: can't open `/tmp/tmp.k9vfxpO28W/trustdb.gpg': No such file or directory
>   secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/32768
> 
> Downgrading to version 1.59 does not produce the output.

Actually this is the gnupg upgrade which cause this issue.

Dear gpg maintainers,

the popcon cron file /etc/cron.daily/popularity-contest does:

  GPGHOME=`mktemp -d`
  $GPG --batch --no-options --no-default-keyring --trust-model=always \
       --homedir "$GPGHOME" --keyring "$KEYRING" --quiet \
       --armor -o "$POPCONGPG" -r "$POPCONKEY" --encrypt "$POPCON"
  rm -rf "$GPGHOME"

With gpg 1.4.15-1, this leads to an error. It works fine with gpg 1.4.14-1

/usr/bin/gpg --batch --no-options --no-default-keyring --trust-model=always --homedir /tmp/tmp.HC3e3knvrs --keyring /usr/share/popularity-contest/debian-popcon.gpg --quiet --armor -o /var/log/popularity-contest.gpg -r 6672B9765BDF38A3 --encrypt /var/log/popularity-contest
gpg: fatal: can't open `/tmp/tmp.HC3e3knvrs/trustdb.gpg': No such file or directory

How to reproduce: 
- install popularity-contest 

- change the variable DAY in /etc/cron.daily/popularity-contest to match the
  current day number (sunday 0, monday 1, etc)

- run /etc/cron.daily/popularity-contest

Please advise.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 



More information about the Popcon-developers mailing list