[pkg-gnupg-maint] Bug#949761: gpgconf: make socketdir configurable to users

Thorsten Glaser tg at mirbsd.de
Fri Jan 24 16:21:43 GMT 2020


Package: gpgconf
Version: 2.2.19-1
Severity: important

gpg2 and gpg-agent (used by gnupg (1.x) as well) now uses
GPG_AGENT_INFO=/run/user/2339/gnupg/S.gpg-agent:0:1 but
the directory /run/user/2339 is removed on logout by elogind
even if processes are still running.

Unfortunately, this means gpg-agent kills itself when that
happens, e.g. when X crashes (Debian #912325) while, at the
same time, I’m logged in over ssh and working, e.g. in GNU
screen. This causes gnupg to completely fail (it asks for
the password, then tells me it cannot sign, breaking e.g.
signed git commits).

Furthermore, I’d prefer to move it to a location more easily
accessible in chroots, such as /dev/shm/ (see Debian #949698
where I’m already keeping my SSH agent information etc).

I’ve not found any elogind option to not remove that directory
on logout (as opposed to reboot which given it appears to be
a tmpfs is granted) and also suspect systemd behaves the same.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable'), (100, 'experimental')
Architecture: x32 (x86_64)
Foreign Architectures: i386, amd64

Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages gpgconf depends on:
ii  libassuan0     2.5.3-7
ii  libc6          2.29-9
ii  libgcrypt20    1.8.5-3
ii  libgpg-error0  1.36-7
ii  libreadline8   8.0-3

gpgconf recommends no packages.

gpgconf suggests no packages.

-- no debconf information


More information about the pkg-gnupg-maint mailing list