summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-04-30 22:11:01 +0200
committerLudovic Courtès <ludo@gnu.org>2014-04-30 23:16:23 +0200
commitd8a7a5bfd5ad8104fe9b1a0bf4ddd9b9e6f09d35 (patch)
tree67665a97f69129ea3a953bf19e4230ec96846abf
parent4dfe6c58ee204cf05ce9ef5abbc96ada44ef0784 (diff)
downloadguix-d8a7a5bfd5ad8104fe9b1a0bf4ddd9b9e6f09d35.tar.gz
linux-initrd: Allow setuid binaries from the unionfs to run.
* guix/build/linux-initrd.scm (boot-system): Pass the 'suid' option to
  UNIONFS.
-rw-r--r--guix/build/linux-initrd.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/linux-initrd.scm b/guix/build/linux-initrd.scm
index 5d4446e720..4decc3b15c 100644
--- a/guix/build/linux-initrd.scm
+++ b/guix/build/linux-initrd.scm
@@ -290,7 +290,7 @@ to it are lost."
 
                   ;; Make /root a union of the tmpfs and the actual root.
                   (unless (zero? (system* unionfs "-o"
-                                          "cow,allow_other,use_ino,dev"
+                                          "cow,allow_other,use_ino,suid,dev"
                                           "/rw-root=RW:/real-root=RO"
                                           "/root"))
                     (error "unionfs failed")))