process accumulation when using ephemeral homedirs

Werner Koch wk at gnupg.org
Thu Sep 1 22:27:34 CEST 2016


On Thu,  1 Sep 2016 19:07, dkg at fifthhorseman.net said:

> On a system with a kernel that supports inotify (any modern linux), we
> could have dirmngr watch its own socket and terminate if it disappears.

Actually gpg-agent does this for many years and terminates itself if
another gpg-agent process has taken over the socket.  This was required
due to a race on Windows but the code works on Unix as well.

It is check_own_socket_thread which is triggered every minute.  The code
can actually be put into common/ so that it can be reused by dirmngr.

Not a big deal, I can do that tomorrow.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
 /* Join us at OpenPGP.conf  <https://openpgp-conf.org> */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 162 bytes
Desc: not available
URL: </pipermail/attachments/20160901/01bfc74c/attachment.sig>


More information about the Gnupg-devel mailing list