guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ludovic Courtès
Subject: 02/03: doc: Suggest the same build user and group names as on GuixSD.
Date: Sun, 17 May 2015 22:13:02 +0000

civodul pushed a commit to branch master
in repository guix.

commit cfc149dc07a8577199d93fd967b9023c1badc2a0
Author: Ludovic Courtès <address@hidden>
Date:   Mon May 18 00:03:43 2015 +0200

    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.
---
 doc/guix.texi |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 0697e99..7c4aa10 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -290,7 +290,7 @@ Create the group and user accounts for build users as 
explained below
 (@pxref{Build Environment Setup}), and run the daemon:
 
 @example
-# /root/.guix-profile/bin/guix-daemon --build-users-group=guix-builder
+# /root/.guix-profile/bin/guix-daemon --build-users-group=guixbuild
 @end example
 
 @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 for why `-G' is needed.
 @example
-# groupadd --system guix-builder
-# for i in `seq 1 10`;
+# groupadd --system guixbuild
+# for i in `seq -w 1 10`;
   do
-    useradd -g guix-builder -G guix-builder           \
-            -d /var/empty -s `which nologin`          \
-            -c "Guix build user $i" --system          \
-            guix-builder$i;
+    useradd -g guixbuild -G guixbuild           \
+            -d /var/empty -s `which nologin`    \
+            -c "Guix build user $i" --system    \
+            guixbuilder$i;
   done
 @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:
 
 @example
-# guix-daemon --build-users-group=guix-builder
+# guix-daemon --build-users-group=guixbuild
 @end example
 
 @cindex chroot
 @noindent
 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:
 
 @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:
 
 @example
-# guix-daemon --build-users-group=guix-builder
+# guix-daemon --build-users-group=guixbuild
 @end example
 
 @noindent



reply via email to

[Prev in Thread] Current Thread [Next in Thread]