[git] GnuPG - branch, master, updated. gnupg-2.1.19-49-g40b7911

by Werner Koch cvs at cvs.gnupg.org
Tue Mar 14 12:38:56 CET 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  40b7911130a969677d6f0b5796236a29f10a9e69 (commit)
      from  9a77b3b6e41f97b1209ad61c04b3dd33242ecae8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 40b7911130a969677d6f0b5796236a29f10a9e69
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Mar 14 12:34:23 2017 +0100

    doc: Explain in README how to create /run/user directories.
    
    --
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/README b/README
index 4cb0b6c..0ff9099 100644
--- a/README
+++ b/README
@@ -148,6 +148,30 @@
   use of the GnuPG directories.  Dirmngr is started by gpg or gpgsm as
   needed. There is no more need to install a separate Dirmngr package.
 
+* RECOMMENDATIONS
+
+** Socket directory
+
+  GnuPG uses Unix domain sockets to connect its components (on Windows
+  an emulation of these sockets is used).  Depending on the type of
+  the file system, it is sometimes not possible to use the GnuPG home
+  directory (i.e. ~/.gnupg) as the location for the sockets.  To solve
+  this problem GnuPG prefers the use of a per-user directory below the
+  the /run (or /var/run) hierarchy for the the sockets.  It is thus
+  suggested to create per-user directories on system or session
+  startup.  For example the following snippet can be used in
+  /etc/rc.local to create these directories:
+
+      [ ! -d /run/user ] && mkdir /run/user
+      awk -F: </etc/passwd '$3 >= 1000 && $3 < 65000 {print $3}' \
+        | ( while read uid rest; do
+              if [ ! -d "/run/user/$uid" ]; then
+                mkdir /run/user/$uid
+                chown $uid /run/user/$uid
+                chmod 700 /run/user/$uid
+              fi
+            done )
+
 
 * DOCUMENTATION
 

-----------------------------------------------------------------------

Summary of changes:
 README | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list