doc: Clarify that --disable-chroot is needed for non-root users.

* doc/guix.texi (Build Environment Setup, Invoking guix-daemon): Mention
  --disable-chroot as needed for non-root users.
This commit is contained in:
Ludovic Courtès 2015-05-27 17:41:55 +02:00
parent 781d0a2ce1
commit 1e2644bb25
1 changed files with 10 additions and 7 deletions

View File

@ -517,12 +517,13 @@ user @file{nobody};
a writable @file{/tmp} directory. a writable @file{/tmp} directory.
@end itemize @end itemize
If you are installing Guix as an unprivileged user, it is still If you are installing Guix as an unprivileged user, it is still possible
possible to run @command{guix-daemon}. However, build processes will to run @command{guix-daemon} provided you pass @code{--disable-chroot}.
not be isolated from one another, and not from the rest of the system. However, build processes will not be isolated from one another, and not
Thus, build processes may interfere with each other, and may access from the rest of the system. Thus, build processes may interfere with
programs, libraries, and other files available on the system---making it each other, and may access programs, libraries, and other files
much harder to view them as @emph{pure} functions. available on the system---making it much harder to view them as
@emph{pure} functions.
@node Daemon Offload Setup @node Daemon Offload Setup
@ -764,7 +765,9 @@ needs.
Disable chroot builds. Disable chroot builds.
Using this option is not recommended since, again, it would allow build Using this option is not recommended since, again, it would allow build
processes to gain access to undeclared dependencies. processes to gain access to undeclared dependencies. It is necessary,
though, when @command{guix-daemon} is running under an unprivileged user
account.
@item --disable-log-compression @item --disable-log-compression
Disable compression of the build logs. Disable compression of the build logs.