[Pkg-gnupg-maint] Bug#620456: Bug#620456: Please move /tmp/gpg-XXXXXX directories to $XDG_RUNTIME_DIR

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Apr 9 13:52:59 UTC 2015


Version: 2.1.0-1

On Thu 2015-04-09 02:43:14 -0400, Damyan Ivanov wrote:
> Apart from cluttering /tmp, placing the temporary directories there 
> suffers from automatic /tmp cleaning. Since some time I lose the socket 
> directories in /tmp in a week after I start my session. Perhaps this is 
> some systemd-related task that swipes /tmp, but I haven't found it yet.
>
> Moving /tmp/gpg-XXXXXX directories to $XDG_RUNTIME_DIR would fix the 
> above /tmp cleaning problem too.

agreed, this is suboptimal.

> As a workaround, using --use-standard-socket option causes the sockets 
> to be put in ~/.gnupg using fixed names, which solves both the problem I 
> have above and the problem of cluttering the temporary directories 
> location since no new directory is created with each session.

as of 2.1.0-1, gnupg2 always uses the standard socket option, so this
problem is resolved there.

the 2.1.x series is in experimental now, but i look forward to moving it
to unstable after we release jessie.

        --dkg



More information about the Pkg-gnupg-maint mailing list