unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 35662@debbugs.gnu.org
Subject: bug#35662: Really relocatable binaries crash with Permission denied
Date: Mon, 13 May 2019 12:34:40 +0200	[thread overview]
Message-ID: <20190513103440.xkri3uk2oxtk4rn6@pelzflorian.localdomain> (raw)
In-Reply-To: <87ftpivlnv.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]

On Mon, May 13, 2019 at 09:49:40AM +0200, Ludovic Courtès wrote:
> Hi Florian,
> 
> "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:
> 
> > On Fri, May 10, 2019 at 11:50:19PM +0200, Ludovic Courtès wrote:
> >> That suggests the wrapper chose the user namespace method (not PRoot),
> >> but that didn’t quite work.
> >> 
> >> Could you post the output of:
> >> 
> >>   strace ./mybin/sh
> >> 
> >> ?
> 
> My bad, this should be:
> 
>   strace -f -o log ./mybin/sh
> 
> and then post the ‘log’ file (we need ‘-f’ because the problem happens
> in the child process.)
> 
> Thanks in advance,
> Ludo’.

Oh I did not know there is -f.

[f_pelz12@tux6 ~]$ strace -f -o log ./mybin/sh
sh: run.c:162: bind_mount: Unexpected error: Permission denied.

The log file is attached.

When I do not use -o log, the unexpected error is here:

[pid 36622] mount("//sys", "/tmp/guix-exec-85li6j/sys", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
[pid 36622] openat(AT_FDCWD, "/tmp/guix-exec-85li6j/core", O_WRONLY|O_CREAT, 056306) = 4
[pid 36622] close(4)                    = 0
[pid 36622] mount("//core", "/tmp/guix-exec-85li6j/core", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
[pid 36622] write(2, "sh: run.c:162: bind_mount: Unexp"..., 64sh: run.c:162: bind_mount: Unexpected error: Permission denied.
) = 64
[pid 36622] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4b024f4000
[pid 36622] rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
[pid 36622] rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
[pid 36622] getpid()                    = 36622
[pid 36622] gettid()                    = 36622
[pid 36622] tgkill(36622, 36622, SIGABRT) = 0
[pid 36622] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 36622] --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=36622, si_uid=24038} ---
[pid 36622] +++ killed by SIGABRT +++


Regards,
Florian

[-- Attachment #2: log --]
[-- Type: text/plain, Size: 16952 bytes --]

32476 execve("./mybin/sh", ["./mybin/sh"], 0x7ffddaa0d868 /* 39 vars */) = 0
32476 brk(NULL)                         = 0x2220000
32476 brk(0x22211c0)                    = 0x22211c0
32476 arch_prctl(ARCH_SET_FS, 0x2220880) = 0
32476 uname({sysname="Linux", nodename="tux6", ...}) = 0
32476 readlink("/proc/self/exe", "/home/f_pelz12/gnu/store/wl2l59l"..., 4096) = 77
32476 brk(0x22421c0)                    = 0x22421c0
32476 brk(0x2243000)                    = 0x2243000
32476 readlink("/proc/self/exe", "/home/f_pelz12/gnu/store/wl2l59l"..., 4095) = 77
32476 lstat("/gnu/store/qn1ax1fkj16x280m1rv7mcimfmn9l2pf-bash-4.4.23/bin/sh", 0x7ffd70f35830) = -1 ENOENT (No such file or directory)
32476 gettimeofday({tv_sec=1557741656, tv_usec=607561}, NULL) = 0
32476 getpid()                          = 32476
32476 mkdir("/tmp/guix-exec-eqHoYA", 0700) = 0
32476 stat(".", {st_mode=S_IFDIR|0700, st_size=114, ...}) = 0
32476 stat("/home/f_pelz12", {st_mode=S_IFDIR|0700, st_size=114, ...}) = 0
32476 clone(child_stack=NULL, flags=CLONE_NEWNS|CLONE_NEWUSER|SIGCHLD) = 32477
32476 openat(AT_FDCWD, "/proc/32477/setgroups", O_WRONLY) = 3
32477 openat(AT_FDCWD, "/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY <unfinished ...>
32476 write(3, "deny\0", 5 <unfinished ...>
32477 <... openat resumed> )            = 3
32476 <... write resumed> )             = 5
32477 fstat(3,  <unfinished ...>
32476 close(3)                          = 0
32477 <... fstat resumed> {st_mode=S_IFDIR|0755, st_size=25, ...}) = 0
32476 getuid()                          = 24038
32477 getdents64(3 <unfinished ...>
32476 openat(AT_FDCWD, "/proc/32477/uid_map", O_WRONLY) = 3
32476 write(3, "24038 24038 1\n", 14)   = 14
32477 <... getdents64 resumed> , /* 25 entries */, 32768) = 632
32476 close(3)                          = 0
32477 mkdir("/tmp/guix-exec-eqHoYA/lib", 0700 <unfinished ...>
32476 getgid()                          = 10004
32476 openat(AT_FDCWD, "/proc/32477/gid_map", O_WRONLY) = 3
32476 write(3, "10004 10004 1\n", 14)   = 14
32476 close(3)                          = 0
32476 wait4(32477,  <unfinished ...>
32477 <... mkdir resumed> )             = 0
32477 mount("//lib", "/tmp/guix-exec-eqHoYA/lib", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/home", 0700) = 0
32477 mount("//home", "/tmp/guix-exec-eqHoYA/home", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/libx32", 0700) = 0
32477 mount("//libx32", "/tmp/guix-exec-eqHoYA/libx32", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/etc", 0700) = 0
32477 mount("//etc", "/tmp/guix-exec-eqHoYA/etc", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/run", 0700) = 0
32477 mount("//run", "/tmp/guix-exec-eqHoYA/run", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/sbin", 0700) = 0
32477 mount("//sbin", "/tmp/guix-exec-eqHoYA/sbin", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/media", 0700) = 0
32477 mount("//media", "/tmp/guix-exec-eqHoYA/media", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/lib32", 0700) = 0
32477 mount("//lib32", "/tmp/guix-exec-eqHoYA/lib32", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/lib64", 0700) = 0
32477 mount("//lib64", "/tmp/guix-exec-eqHoYA/lib64", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/bin", 0700) = 0
32477 mount("//bin", "/tmp/guix-exec-eqHoYA/bin", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/usr", 0700) = 0
32477 mount("//usr", "/tmp/guix-exec-eqHoYA/usr", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/boot", 0700) = 0
32477 mount("//boot", "/tmp/guix-exec-eqHoYA/boot", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/dev", 0700) = 0
32477 mount("//dev", "/tmp/guix-exec-eqHoYA/dev", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/var", 0700) = 0
32477 mount("//var", "/tmp/guix-exec-eqHoYA/var", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/root", 0700) = 0
32477 mount("//root", "/tmp/guix-exec-eqHoYA/root", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/proc", 0700) = 0
32477 mount("//proc", "/tmp/guix-exec-eqHoYA/proc", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/opt", 0700) = 0
32477 mount("//opt", "/tmp/guix-exec-eqHoYA/opt", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/srv", 0700) = 0
32477 mount("//srv", "/tmp/guix-exec-eqHoYA/srv", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/snap", 0700) = 0
32477 mount("//snap", "/tmp/guix-exec-eqHoYA/snap", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/mnt", 0700) = 0
32477 mount("//mnt", "/tmp/guix-exec-eqHoYA/mnt", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/tmp", 0700) = 0
32477 mount("//tmp", "/tmp/guix-exec-eqHoYA/tmp", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 mkdir("/tmp/guix-exec-eqHoYA/sys", 0700) = 0
32477 mount("//sys", "/tmp/guix-exec-eqHoYA/sys", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/core", O_WRONLY|O_CREAT, 0116306) = 4
32477 close(4)                          = 0
32477 mount("//core", "/tmp/guix-exec-eqHoYA/core", 0x47e0c5, MS_RDONLY|MS_BIND|MS_REC, NULL) = -1 EACCES (Permission denied)
32477 write(2, "sh: run.c:162: bind_mount: Unexp"..., 64) = 64
32477 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff846f5e000
32477 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
32477 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
32477 getpid()                          = 32477
32477 gettid()                          = 32477
32477 tgkill(32477, 32477, SIGABRT)     = 0
32477 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
32477 --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=32477, si_uid=24038} ---
32477 +++ killed by SIGABRT +++
32476 <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGABRT}], 0, NULL) = 32477
32476 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=32477, si_uid=24038, si_status=SIGABRT, si_utime=0, si_stime=0} ---
32476 chdir("/")                        = 0
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
32476 fstat(3, {st_mode=S_IFDIR|0700, st_size=25, ...}) = 0
32476 getdents64(3, /* 25 entries */, 131072) = 632
32476 unlink("/tmp/guix-exec-eqHoYA/lib32") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/lib32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff846f3e000
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 munmap(0x7ff846f3e000, 135168)    = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/lib32") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/media") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/media", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 brk(0x2282000)                    = 0x2282000
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/media") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/etc") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/etc", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/etc") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/run") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/run", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/run") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/lib64") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/lib64", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/lib64") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/boot") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/boot", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/boot") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/bin") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/bin", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/bin") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/usr") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/usr", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/usr") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/lib") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/lib", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/lib") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/snap") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/snap", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/snap") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/core") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/proc") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/proc", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/proc") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/root") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/root", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/root") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/srv") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/srv", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/srv") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/home") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/home", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/home") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/opt") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/opt", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/opt") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/sys") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/sys", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/sys") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/tmp") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/tmp", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/tmp") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/mnt") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/mnt", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/mnt") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/sbin") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/sbin", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/sbin") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/libx32") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/libx32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/libx32") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/var") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/var", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/var") = 0
32476 unlink("/tmp/guix-exec-eqHoYA/dev") = -1 EISDIR (Is a directory)
32476 openat(AT_FDCWD, "/tmp/guix-exec-eqHoYA/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
32476 fstat(4, {st_mode=S_IFDIR|0700, st_size=2, ...}) = 0
32476 getdents64(4, /* 2 entries */, 131072) = 48
32476 getdents64(4, /* 0 entries */, 131072) = 0
32476 close(4)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA/dev") = 0
32476 getdents64(3, /* 0 entries */, 131072) = 0
32476 close(3)                          = 0
32476 rmdir("/tmp/guix-exec-eqHoYA")    = 0
32476 exit_group(6)                     = ?
32476 +++ exited with 6 +++

  reply	other threads:[~2019-05-13 10:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-09 22:01 bug#35662: Really relocatable binaries crash with Permission denied pelzflorian (Florian Pelz)
2019-05-10  5:54 ` pelzflorian (Florian Pelz)
2019-05-10 21:50 ` Ludovic Courtès
2019-05-11  5:05   ` pelzflorian (Florian Pelz)
2019-05-13  7:49     ` Ludovic Courtès
2019-05-13 10:34       ` pelzflorian (Florian Pelz) [this message]
2019-05-13 13:54         ` Ludovic Courtès
2019-05-13 15:17           ` pelzflorian (Florian Pelz)
2019-05-13 20:39             ` Ludovic Courtès
2019-05-13 20:45               ` pelzflorian (Florian Pelz)
2019-05-14  8:05                 ` pelzflorian (Florian Pelz)
2019-05-14 20:43                   ` Ludovic Courtès
2019-05-14 21:04                     ` pelzflorian (Florian Pelz)
2019-05-15 16:15                       ` Ludovic Courtès
2019-05-15 15:20                     ` Giovanni Biscuolo
2019-05-16 11:02                       ` pelzflorian (Florian Pelz)
2019-05-16 11:10                         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190513103440.xkri3uk2oxtk4rn6@pelzflorian.localdomain \
    --to=pelzflorian@pelzflorian.de \
    --cc=35662@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).