summary refs log tree commit diff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-05-07 21:28:59 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-05-07 21:51:27 -0400
commit26a788ae06c0ec0a073d262d4eb3f9b73f9e09f9 (patch)
tree1ce44f4e3df3b3a27bad802ca06576bb27e79502 /doc/guix.texi
parentd1aba42ad4e1909faa21d484975c5954c778e002 (diff)
downloadguix-26a788ae06c0ec0a073d262d4eb3f9b73f9e09f9.tar.gz
doc: Add some information/recommendation regarding --sysconfdir.
* doc/contributing.texi (Building from Git): Mention sysconfdir along
localstatedir.
* doc/guix.texi (Requirements): Likewise.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index e4b664aba9..8fab555e49 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1016,14 +1016,21 @@ C++11 standard.
 @end itemize
 
 @cindex state directory
+@cindex localstatedir
+@cindex system configuration directory
+@cindex sysconfdir
 When configuring Guix on a system that already has a Guix installation,
 be sure to specify the same state directory as the existing installation
 using the @option{--localstatedir} option of the @command{configure}
 script (@pxref{Directory Variables, @code{localstatedir},, standards,
-GNU Coding Standards}).  Usually, this @var{localstatedir} option is
-set to the value @file{/var}.  The @command{configure} script protects
+GNU Coding Standards}).  Usually, this @var{localstatedir} option is set
+to the value @file{/var}.  The @command{configure} script protects
 against unintended misconfiguration of @var{localstatedir} so you do not
-inadvertently corrupt your store (@pxref{The Store}).
+inadvertently corrupt your store (@pxref{The Store}).  The configuration
+directory should also be configured by setting the @option{--sysconfdir}
+option to the @file{/etc} value, which is the location used by Guix to
+store for example the access control list of authorized machines and the
+definition of offload machines.
 
 @node Running the Test Suite
 @section Running the Test Suite