[pkg-gnupg-maint] Bug#841143: Bug#841143: Suspected race in gpg1 to gpg2 conversion or agent startup

Ian Jackson ijackson at chiark.greenend.org.uk
Sun Jan 8 13:53:05 UTC 2017


Ian Jackson writes ("Re: Bug#841143: [pkg-gnupg-maint] Bug#841143: Suspected race in gpg1 to gpg2 conversion or agent startup"):
> I'm going to try working around it by serialising all my calls to gpg.

Now I have:
 * each run of the test suite gets a fresh value of GNUPGHOME
   (ie, not a directory name that was previously used and
   has since been deleted)
 * all my calls to gpg are serialised

The problem persists, with very similar symptoms.  Of course now I
have only one stuck gpg process.  The other processes in the test
suite are blocking waiting for my gpg serialisation lock.

I'm going to try adding some sleeps.

Ian.

zealot:~> ps -efH | grep gpg
ian      10091 10090  0 13:44 pts/50   00:00:00                 with-lock-ex -w /home/ian/things/Dgit/dgit/tests/tmp/gnupg/gnupg/1483882680.27251.2362246/dgit-gpg-serialisation-lock /usr/bin/gpg --status-fd=1 --keyid-format=long --verify /tmp/.git_vtag_tmp1Tb8EN -
ian       7897  7220  0 13:44 pts/50   00:00:00                 /usr/bin/gpg --detach-sign --armor -u 39B13D8A .git/dgit/tag.tmp
ian       8639  8281  0 13:44 pts/50   00:00:00                 with-lock-ex -w /home/ian/things/Dgit/dgit/tests/tmp/gnupg/gnupg/1483882680.27251.2362246/dgit-gpg-serialisation-lock /usr/bin/gpg --detach-sign --armor -u 39B13D8A tag.tmp
ian       8332  8245  0 13:44 pts/50   00:00:00                 with-lock-ex -w /home/ian/things/Dgit/dgit/tests/tmp/gnupg/gnupg/1483882680.27251.2362246/dgit-gpg-serialisation-lock /usr/bin/gpg --detach-sign --armor -u 39B13D8A .git/dgit/tag.tmp
ian      10211 10180  0 13:44 pts/50   00:00:00                 with-lock-ex -w /home/ian/things/Dgit/dgit/tests/tmp/gnupg/gnupg/1483882680.27251.2362246/dgit-gpg-serialisation-lock /usr/bin/gpg --detach-sign --armor -u 39B13D8A .git/dgit/tag.tmp
ian      11041  5436  0 13:52 pts/84   00:00:00       grep gpg
root     10869  5468  0 13:50 pts/94   00:00:00         gdb /usr/bin/gpg-agent 7079
ian       7079     1  0 13:44 ?        00:00:00   gpg-agent --homedir /home/ian/things/Dgit/dgit/tests/tmp/gnupg/gnupg/1483882680.27251.2362246 --use-standard-socket --daemon
zealot:~> 



-- 
Ian Jackson <ijackson at chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.
;



More information about the pkg-gnupg-maint mailing list