doc: Suggest the same build user and group names as on GuixSD.

* doc/guix.texi (Build Environment Setup): Suggest the user and group
  names as used on GuixSD.
  (Binary Installation): Adjust accordingly.
This commit is contained in:
Ludovic Courtès 2015-05-18 00:03:43 +02:00
parent d72d05f9ce
commit cfc149dc07
1 changed files with 10 additions and 10 deletions

View File

@ -290,7 +290,7 @@ Create the group and user accounts for build users as explained below
(@pxref{Build Environment Setup}), and run the daemon: (@pxref{Build Environment Setup}), and run the daemon:
@example @example
# /root/.guix-profile/bin/guix-daemon --build-users-group=guix-builder # /root/.guix-profile/bin/guix-daemon --build-users-group=guixbuild
@end example @end example
@item @item
@ -461,13 +461,13 @@ Bash syntax and the @code{shadow} commands):
@c See http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00239.html @c See http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00239.html
@c for why `-G' is needed. @c for why `-G' is needed.
@example @example
# groupadd --system guix-builder # groupadd --system guixbuild
# for i in `seq 1 10`; # for i in `seq -w 1 10`;
do do
useradd -g guix-builder -G guix-builder \ useradd -g guixbuild -G guixbuild \
-d /var/empty -s `which nologin` \ -d /var/empty -s `which nologin` \
-c "Guix build user $i" --system \ -c "Guix build user $i" --system \
guix-builder$i; guixbuilder$i;
done done
@end example @end example
@ -475,13 +475,13 @@ Bash syntax and the @code{shadow} commands):
The @code{guix-daemon} program may then be run as @code{root} with: The @code{guix-daemon} program may then be run as @code{root} with:
@example @example
# guix-daemon --build-users-group=guix-builder # guix-daemon --build-users-group=guixbuild
@end example @end example
@cindex chroot @cindex chroot
@noindent @noindent
This way, the daemon starts build processes in a chroot, under one of This way, the daemon starts build processes in a chroot, under one of
the @code{guix-builder} users. On GNU/Linux, by default, the chroot the @code{guixbuilder} users. On GNU/Linux, by default, the chroot
environment contains nothing but: environment contains nothing but:
@c Keep this list in sync with libstore/build.cc! ----------------------- @c Keep this list in sync with libstore/build.cc! -----------------------
@ -643,7 +643,7 @@ garbage collector, querying the availability of a build result, etc. It
is normally run as @code{root} like this: is normally run as @code{root} like this:
@example @example
# guix-daemon --build-users-group=guix-builder # guix-daemon --build-users-group=guixbuild
@end example @end example
@noindent @noindent