From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#35662: Really relocatable binaries crash with Permission denied Date: Mon, 13 May 2019 17:17:36 +0200 Message-ID: <20190513151736.ffbuofr3vmyqaoov@pelzflorian.localdomain> References: <20190509220136.tli7um2heocifrpq@pelzflorian.localdomain> <87o94ax9lw.fsf@gnu.org> <20190511050518.ozmvhsov6meg6g5f@pelzflorian.localdomain> <87ftpivlnv.fsf@gnu.org> <20190513103440.xkri3uk2oxtk4rn6@pelzflorian.localdomain> <87r292qx30.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQCuk-0003oo-KJ for bug-guix@gnu.org; Mon, 13 May 2019 11:30:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQCjH-0006ze-5w for bug-guix@gnu.org; Mon, 13 May 2019 11:19:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60647) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQCjG-0006yr-Bn for bug-guix@gnu.org; Mon, 13 May 2019 11:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQCjG-00072Q-6Q for bug-guix@gnu.org; Mon, 13 May 2019 11:19:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87r292qx30.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35662@debbugs.gnu.org On Mon, May 13, 2019 at 03:54:11PM +0200, Ludovic Courtès wrote: > Can you show the mount options of you root file system? > > mount | grep 'on / ' > [f_pelz12@tux6 ~]$ mount | grep 'on / ' rpool/data/subvol-161199-disk-0 on / type zfs (rw,noatime,xattr,posixacl) > What’s the exit code of this command: > > guile -c '((@@ (guix scripts environment) assert-container-features))' > > ? > Guix is not installed. Using a Guix git repository in ~/guix: [f_pelz12@tux6 guix]$ guile -c '((@@ (guix scripts environment) assert-container-features))' […] ;;; In procedure scm_lreadr: guix/packages.scm:534:11: Unknown # object: #\~ ERROR: In procedure primitive-load-path: In procedure scm_lreadr: guix/packages.scm:534:11: Unknown # object: #\~ The line in question is: #~(begin (use-modules (ice-9 ftw) I do not see how to make it recognize gexps. If I wanted to compile Guix myself, the configure script reports various missing dependencies (guile-gnutls is among them). I could ask the admin tomorrow if they could set up guix on a test “virtual machine”/container. I will instead now try this from gnu/build/linux-container.scm: scheme@(guile-user)> (define (user-namespace-supported?) "Return #t if user namespaces are supported on this system." (file-exists? "/proc/self/ns/user")) (define (unprivileged-user-namespace-supported?) "Return #t if user namespaces can be created by unprivileged users." (let ((userns-file "/proc/sys/kernel/unprivileged_userns_clone")) (if (file-exists? userns-file) (eqv? #\1 (call-with-input-file userns-file read-char)) #t))) (define (setgroups-supported?) "Return #t if the setgroups proc file, introduced in Linux-libre 3.19, exists." (file-exists? "/proc/self/setgroups")) scheme@(guile-user)> (user-namespace-supported?) $1 = #t scheme@(guile-user)> (unprivileged-user-namespace-supported?) $2 = #t scheme@(guile-user)> (setgroups-supported?) $3 = #t Regards, Florian