diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-06-04 22:17:20 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-06-04 22:17:20 +0200 |
commit | 3d116a70f9b18027b31be2e11e8c9c9192622607 (patch) | |
tree | 0a3c6b4566a1fe85e58bb5e08d5693444afc23d9 /gnu | |
parent | c17b5ab4db140f142f38cdc99468e63e66c91912 (diff) | |
download | patches-3d116a70f9b18027b31be2e11e8c9c9192622607.tar patches-3d116a70f9b18027b31be2e11e8c9c9192622607.tar.gz |
services: Add the build group to the supplementary groups of build users.
* gnu/services/base.scm (guix-build-accounts): Add
'supplementary-groups' field.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/services/base.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 463185d53c..3f7f453c9b 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -324,6 +324,12 @@ starting at FIRST-UID, and under GID." (name (format #f "guixbuilder~2,'0d" n)) (uid (+ first-uid n -1)) (group group) + + ;; guix-daemon expects GROUP to be listed as a + ;; supplementary group too: + ;; <http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00239.html>. + (supplementary-groups (list group)) + (comment (format #f "Guix Build User ~2d" n)) (home-directory "/var/empty") (shell #~(string-append #$shadow "/sbin/nologin")))) |