diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2015-05-27 17:41:55 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-27 22:18:21 +0200 |
| commit | 1e2644bb25c3b4528289423f593d8baea6578e53 (patch) | |
| tree | e2f9a0404e18e3bd08154d53baf0b97123c9b46f /doc | |
| parent | 781d0a2ce17e2a6deaf924ee27d5149e271a5122 (diff) | |
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.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index a97436cc0c1..1956dbc422d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -517,12 +517,13 @@ user @file{nobody}; | |||
| 517 | a writable @file{/tmp} directory. | 517 | a writable @file{/tmp} directory. |
| 518 | @end itemize | 518 | @end itemize |
| 519 | 519 | ||
| 520 | If you are installing Guix as an unprivileged user, it is still | 520 | If you are installing Guix as an unprivileged user, it is still possible |
| 521 | possible to run @command{guix-daemon}. However, build processes will | 521 | to run @command{guix-daemon} provided you pass @code{--disable-chroot}. |
| 522 | not be isolated from one another, and not from the rest of the system. | 522 | However, build processes will not be isolated from one another, and not |
| 523 | Thus, build processes may interfere with each other, and may access | 523 | from the rest of the system. Thus, build processes may interfere with |
| 524 | programs, libraries, and other files available on the system---making it | 524 | each other, and may access programs, libraries, and other files |
| 525 | much harder to view them as @emph{pure} functions. | 525 | available on the system---making it much harder to view them as |
| 526 | @emph{pure} functions. | ||
| 526 | 527 | ||
| 527 | 528 | ||
| 528 | @node Daemon Offload Setup | 529 | @node Daemon Offload Setup |
| @@ -764,7 +765,9 @@ needs. | |||
| 764 | Disable chroot builds. | 765 | Disable chroot builds. |
| 765 | 766 | ||
| 766 | Using this option is not recommended since, again, it would allow build | 767 | Using this option is not recommended since, again, it would allow build |
| 767 | processes to gain access to undeclared dependencies. | 768 | processes to gain access to undeclared dependencies. It is necessary, |
| 769 | though, when @command{guix-daemon} is running under an unprivileged user | ||
| 770 | account. | ||
| 768 | 771 | ||
| 769 | @item --disable-log-compression | 772 | @item --disable-log-compression |
| 770 | Disable compression of the build logs. | 773 | Disable compression of the build logs. |
