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

Damyan Ivanov dmn at debian.org
Thu Apr 9 06:43:14 UTC 2015

Package: gnupg-agent
Version: 2.0.26-6
Followup-For: Bug #620456

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.

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.


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/3 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnupg-agent depends on:
ii  libassuan0                  2.1.2-2
ii  libc6                       2.19-17
ii  libgcrypt20                 1.6.3-2
ii  libgpg-error0               1.17-3
ii  libpth20                    2.0.7-20
ii  libreadline6                6.3-8+b3
ii  pinentry-curses [pinentry]  0.8.3-2
ii  pinentry-gtk2 [pinentry]    0.8.3-2

Versions of packages gnupg-agent recommends:
ii  gnupg   1.4.18-7
ii  gnupg2  2.0.26-6
ii  gpgsm   2.0.26-6

gnupg-agent suggests no packages.

-- no debconf information

More information about the Pkg-gnupg-maint mailing list