Package: gnupg-agent Version: 2.0.6-1 Severity: important From Xsession.d/90gpg-agent:
----------------------------------------------------------------------
if ! $GPGAGENT 2>/dev/null; then
STARTUP="$GPGAGENT --daemon --sh --write-env-file='$PID_FILE' $STARTUP"
fi
----------------------------------------------------------------------
In my system, this causes the following warning during startup:
(The spanish error message is "No such file or directory").
----------------------------------------------------------------------
gpg-agent[4132]: error creating
`'/home/rodrigo/.gnupg/gpg-agent-info-lisa.casa.ayr'': No existe el fichero o
el directorio
----------------------------------------------------------------------
Note the extra quotes aroung the filename. It seems they are being
passed as part of the gpg-agent's arguments, instead of being used
only by the shell that calls it.
Because the rest of my setup depends on reading the gpg-agent
settings, which were not written were expected, this caused the X
session to fail to start.
Removing the '' around $PID_FILE in Xsession.d/90gpg-agent solved the
problem for me, but I fear it might not be a good enough answer for
the general case. I don't know what would happen in an environment
where the filename does need quoting.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (400, 'unstable'), (50, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-1-k7 (SMP w/1 CPU core)
Locale: LANG=es_MX, LC_CTYPE=es_MX (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages gnupg-agent depends on:
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libgcrypt11 1.2.4-2 LGPL Crypto library - runtime libr
ii libgpg-error0 1.4-2 library for common error values an
ii libpth20 2.0.7-8 The GNU Portable Threads
Versions of packages gnupg-agent recommends:
ii gnupg 1.4.6-2 GNU privacy guard - a free PGP rep
ii gnupg2 2.0.6-1 GNU privacy guard - a free PGP rep
ii pinentry-curses [pinentry] 0.7.3-1 curses-based PIN or pass-phrase en
ii pinentry-gtk2 [pinentry] 0.7.3-1 GTK+-2-based PIN or pass-phrase en
-- no debconf information
signature.asc
Description: Digital signature

