[pkg-gnupg-maint] Bug#993578: 90gpg-agent generator: `gpgconf --check-programs` can hang
Ansgar
ansgar at debian.org
Fri Sep 3 12:11:08 BST 2021
Package: gpg-agent
Version: 2.2.27-2
Severity: normal
File: /usr/lib/systemd/user-environment-generators/90gpg-agent
The 90gpg-agent generator calls `gpgconf --check-programs` which calls
`dirmngr` which tries to connect to localhost:9050 (Tor) for some
reason. This can hang, causing the generator to timeout (and thus the
systemd --user instance as well) and causing 90s delay for logins.
This issue was reported once a few days ago in #-devel (user
configured firewall to drop packets, even on the lo interface) and
today on #-systemd (not sure why connection to localhost:9050 did not
succeed, Tor should even be available).
The generator should avoid relying on network operations that
potentially hang/time out.
Ansgar
More information about the pkg-gnupg-maint
mailing list