linux-initrd: Allow setuid binaries from the unionfs to run.
authorLudovic Courtès <ludo@gnu.org>
Wed, 30 Apr 2014 20:11:01 +0000 (22:11 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 30 Apr 2014 21:16:23 +0000 (23:16 +0200)
* guix/build/linux-initrd.scm (boot-system): Pass the 'suid' option to
  UNIONFS.

guix/build/linux-initrd.scm

index 5d4446e..4decc3b 100644 (file)
@@ -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")))