[pkg-gnupg-maint] Bug#889594: Bug#889594: dgit started to fails its autopkgtests, with git gnupg2/2.2.4-1+

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Feb 6 19:25:26 UTC 2018


On Tue 2018-02-06 19:51:18 +0100, Werner Koch wrote:
> On Mon,  5 Feb 2018 13:48, ijackson at chiark.greenend.org.uk said:
>
>> gnupg2's agent startup code is full of races.  Probably, the new
>
> I have seen no such bug report yet in upstream.  Please submit one but
> use the upstream version and not the heavily patched Debian version.
> First try with the the defaults and only then try again in --supervised
> mode as used by Debian.

AFAICT, Ian is not using the --supervised mode.  In the tests i've
looked at, he's using a dedicated GNUPGHOME, which means that there is
no systemd supervision.

But we've definitely discussed race conditions upstream in the past, and
i don't think these issues are all fixed.

As one example, https://dev.gnupg.org/T3490 has to do with working
around race conditions, where the only non-racy solution was rejected as
"socket playing games" :(

I know we've also had discussions about how the daemons handle being
shut down, where the logic of how gpg-agent or dirmngr shuts down
(typically while also servicing existing outstanding requests) can
result in an open-yet-unservicable socket.

   https://dev.gnupg.org/rG5d83eb9226c0ce608ec284d8c9bc22ce84a00c25

is one example of recent cleanup in handling shutdown (i don't know how
many other corner cases remain).

         --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20180206/5f4762a9/attachment-0003.sig>


More information about the pkg-gnupg-maint mailing list