duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Re: gpg "no public key", but only when run from cro


From: Edgar Soldin
Subject: Re: [Duplicity-talk] Re: gpg "no public key", but only when run from cron
Date: Thu, 04 Dec 2008 17:53:35 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.0

who would have guessed that. Thanks for sharing ..

regards ede
--
> After much trial and error, I have finally solved this problem.
>
> It turns out that FreeBSD's global /etc/crontab sets HOME=/var/log. 
> It doesn't point to the true home directory of the user for a
> particular job.  GPG obediently used this $HOME and created an empty
> keyring in /var/log/.gnupg, which of course did not contain the public
> key I told Duplicity to use.  Thus the error, and why I could not
> duplicate the error when I ran it by hand or through root's crontab.
>
> Thanks for everyone's suggestions.  Even though they didn't solve the
> problem, they gave me just enough confidence that my scripts were fine
> and something else was weird in my environment.
>

}





reply via email to

[Prev in Thread] Current Thread [Next in Thread]