[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r32389 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r32389 - gnunet/src/util |
Date: |
Tue, 18 Feb 2014 19:34:36 +0100 |
Author: grothoff
Date: 2014-02-18 19:34:36 +0100 (Tue, 18 Feb 2014)
New Revision: 32389
Modified:
gnunet/src/util/util.conf
Log:
avoid problems with different users having different values for XDG_RUNTIME_DIR
by not using that variable for system-wide paths of UNIX domain sockets
Modified: gnunet/src/util/util.conf
===================================================================
--- gnunet/src/util/util.conf 2014-02-18 16:04:44 UTC (rev 32388)
+++ gnunet/src/util/util.conf 2014-02-18 18:34:36 UTC (rev 32389)
@@ -26,7 +26,12 @@
# Runtime data (i.e UNIX domain sockets, locks, always lost on system boot)
# This is the variable for system-wide services; use GNUNET_USER_RUNTIME_DIR
# for per-user services (where USER_SERVICE=YES is set)
-GNUNET_RUNTIME_DIR =
${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}/gnunet-system-runtime/
+# Note that the 'gnunet'/system user must have $TMPDIR/$TMP set to
+# exactly the same values as 'normal' users, otherwise this will fail.
+# If $TMPDIR or $TMP are set to different directories for different
+# users, this option should be changed to point to the same directory
+# for all users (i.e. by simply using "/tmp/gnunet-system-runtime/").
+GNUNET_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-system-runtime/
# Runtime data for per-user services
GNUNET_USER_RUNTIME_DIR =
${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}/gnunet-${USERHOME:-${USER:-user}}-runtime/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r32389 - gnunet/src/util,
gnunet <=