gpg-agent (2.0.7) hardcodes usage of /tmp directory

Werner Koch wk at gnupg.org
Mon Mar 10 22:39:57 CET 2008


On Mon, 10 Mar 2008 19:23, flameeyes at gmail.com said:

> Uhm, what does tell you that /tmp is certainly local? What about nfsroot
> clients? /tmp might not be local either.

LAcking a standard, common Unix wisdom.  And the fact that sockets of
user servers are always created there.  /tmp should be local for
performance reesons; if you want to nfs mount it, you better make sure
that clients get their own space so that you don't run into PID
conflicts.

> Otherwise, a solution would be to expect the setup to provide an
> user-writable /var/run subdirectory and use that, which would be better
> suited for sockets.

That would indeed be the better solution but lacking any widespread
adoption.  


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-devel mailing list