From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id E37D36DE0BCA for ; Mon, 15 May 2017 00:53:30 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hRoIQkbnyc3V for ; Mon, 15 May 2017 00:53:28 -0700 (PDT) X-Greylist: delayed 399 seconds by postgrey-1.36 at arlo; Mon, 15 May 2017 00:53:28 PDT Received: from avior.uberspace.de (avior.uberspace.de [185.26.156.32]) by arlo.cworth.org (Postfix) with ESMTPS id 04FB26DE0355 for ; Mon, 15 May 2017 00:53:27 -0700 (PDT) Received: (qmail 24710 invoked from network); 15 May 2017 07:46:45 -0000 Received: from localhost (HELO europa) (127.0.0.1) by avior.uberspace.de with SMTP; 15 May 2017 07:46:45 -0000 Received: from teythoon by europa with local (Exim 4.89) (envelope-from ) id 1dAAgD-0001hl-Eo; Mon, 15 May 2017 09:44:33 +0200 From: Justus Winter To: David Bremner Cc: notmuch@freelists.org, notmuch@notmuchmail.org Subject: Re: [Bug] lingering gpg-agents from test suite In-Reply-To: <8737c7zfmp.fsf@tethera.net> References: <8737c7zfmp.fsf@tethera.net> Date: Mon, 15 May 2017 09:44:31 +0200 Message-ID: <871srqpns0.fsf@europa.jade-hamburg.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2017 07:53:31 -0000 --=-=-= Content-Type: text/plain David Bremner writes: > Thanks to changes in gnupg 2.1.20, the agent started by the notmuch test > suite is no longer killed by deleting the home directory. > > So yay, we get to adapt to changes in gnupg, again. > > See also > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862093 where you write: > As of 2.1.20, removing $GNUPGHOME is no longer enough for gpg-agent to > shut itself down. It seems that removing the directory > /run/user/gnupg/d.$hash is enough to trigger the shutdown. > > I'm not sure the underlying cause; perhaps the change to use /run/user > for non-standard homedirs (which I generally think is sensible) has > this as a side-effect. What triggers the automatic shutdown is the removal of the socket. 2.1.20 creates the so-called socket directory automatically (if it finds /**/run/user). > The main practical difficulty for me is that this makes it harder for > test suites using gnupg to work across multiple gpg versions and > multiple environments. I suppose I'll have to see how far back > "gpgconf --kill all" is supported. Yes, please try to do 'gpgconf --kill all' and ignore the exit status. Justus --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEtqaLqVdoytj4a7zL3RpS+dqMkCAFAlkZXF8ACgkQ3RpS+dqM kCB/HAgAg4EyqjD2IUlxlnI7TdkRlo9I5D/C1Qyi5fV7p2GOE3qvgoYgSpfJ61Rw W/tGlJqbBzB/WMVB6/VA25HBU5Y2fvFjHsoqYAatTi/eHme7rJzXd+DHDIFHowEp U2PEcnLPfWrm/aSAz6W9vTaplOu10oQ5O2hAHiMOpgd0IIQZNZPOtqEtvwZHVttX OXF6gAUabdvJT7UpO3apcX3PnNbkf4ucPeg3qWdp0BJSsYGv0gXiancW715joJiI 632DbOajN5/Dhp26idVmelkk0Zc1pMqid/NMi2IZJI1oWggRcgjxDvj3TAE//Q2m f0GDYOobcmMhXgm1y+wT9F8V5LYEBQ== =RgC4 -----END PGP SIGNATURE----- --=-=-=--