* [bug#32183] New ‘guix pull’ /root/.config/current/bin/guix: Permission denied
@ 2018-07-17 8:55 Pjotr Prins
2018-07-17 9:42 ` Pjotr Prins
2018-07-17 19:15 ` Leo Famulari
0 siblings, 2 replies; 4+ messages in thread
From: Pjotr Prins @ 2018-07-17 8:55 UTC (permalink / raw)
To: 32183
On Fri, Jul 13, 2018 at 02:04:22PM +0200, Ludovic Courtès wrote:
> Hi Pjotr,
>
> Pjotr Prins <pjotr.public12@thebird.nl> skribis:
>
> > Fails to build with below /gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-guix-daemon-0.15.0-1.4876bc8/libexec/guix/download: line 8: /root/.config/current/bin/guix: Permission denied
>
> Could you figure out why this is the case, perhaps by running attaching
> “strace -f” to guix-daemon?
>
> guix-daemon runs as root, so I wonder why we’re getting EACCES for
> /root/.config/current/bin/guix.
>
> Thanks for reporting the issue,
> Ludo’.
It popped up again. On the server:
strace -f /home/pjotr/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild &> /tmp/guix-daemon-strace.log
on the client
penguin2:~/izip/git/opensource/genenetwork/guix-gemma-dev$ ./pre-inst-env guix package -i conda --no-grafts
/gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-guix-daemon-0.15.0-1.4876bc8/libexec/guix/download: line 8: /root/.config/current/bin/guix: Permission denied
/gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-guix-daemon-0.15.0-1.4876bc8/libexec/guix/download: line 8: exec: /root/.config/current/bin/guix: cannot execute: Permission denied
builder for `/gnu/store/s2y18gwgyhsqp6p0kdznxq9qah38cbxv-ruamel.yaml-0.15.35.tar.gz.drv' failed with exit code 126
The strace starts with with a bunch of errors
execve("/home/pjotr/.config/guix/current/bin/guix-daemon", ["/home/pjotr/.config/guix/current"..., "--build-users-group=guixbuild"], [/* 22 var
s */]) = 0
brk(NULL) = 0x155e000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8d5cd11000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/tls/haswell/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
stat("/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/tls/haswell/x86_64", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/tls/haswell/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such f
ile or directory)
stat("/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/tls/haswell", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/tls/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such fi
le or directory)
stat("/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/tls/x86_64", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/tls/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or d
irectory)
stat("/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/tls", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/haswell/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No suc
h file or directory)
stat("/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/haswell/x86_64", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/haswell/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file
or directory)
stat("/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/haswell", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file o
r directory)
stat("/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/x86_64", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or direc
tory)
stat("/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/tls/haswell/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No such file or directory)
stat("/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/tls/haswell/x86_64", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory
)
openat(AT_FDCWD, "/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/tls/haswell/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No suc
h file or directory)
stat("/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/tls/haswell", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/tls/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
stat("/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/tls/x86_64", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/tls/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file o
r directory)
stat("/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/tls", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/haswell/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
stat("/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/haswell/x86_64", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/haswell/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such fi
le or directory)
stat("/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/haswell", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such fil
e or directory)
stat("/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/x86_64", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or di
rectory)
stat("/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/tls/haswell/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (N
o such file or directory)
stat("/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/tls/haswell/x86_64", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/tls/haswell/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
stat("/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/tls/haswell", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/tls/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such f
ile or directory)
stat("/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/tls/x86_64", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/tls/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat("/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/tls", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/haswell/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No su
ch file or directory)
stat("/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/haswell/x86_64", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/haswell/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file
or directory)
stat("/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/haswell", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file
or directory)
stat("/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/x86_64", 0x7ffdb9f16af0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 '\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=121128, ...}) = 0
mmap(NULL, 2208128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8d5c8d3000
mprotect(0x7f8d5c8ed000, 2097152, PROT_NONE) = 0
mmap(0x7f8d5caed000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7f8d5caed000
close(3) = 0
openat(AT_FDCWD, "/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
openat(AT_FDCWD, "/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib/lib/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file
or directory)
openat(AT_FDCWD, "/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file o
r directory)
openat(AT_FDCWD, "/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/tls/haswell/x86_64/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 E
NOENT (No such file or directory)
stat("/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/tls/haswell/x86_64", 0x7ffdb9f16ac0) = -1 ENOENT (No such file or directory
)
openat(AT_FDCWD, "/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/tls/haswell/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (
No such file or directory)
stat("/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/tls/haswell", 0x7ffdb9f16ac0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/tls/x86_64/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (N
o such file or directory)
stat("/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/tls/x86_64", 0x7ffdb9f16ac0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/tls/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
stat("/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/tls", 0x7ffdb9f16ac0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/haswell/x86_64/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOEN
T (No such file or directory)
stat("/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/haswell/x86_64", 0x7ffdb9f16ac0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/haswell/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No s
uch file or directory)
stat("/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/haswell", 0x7ffdb9f16ac0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/x86_64/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No su
ch file or directory)
stat("/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/x86_64", 0x7ffdb9f16ac0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/gnu/store/nrsjkmnh5gqpsyap9pz4hkmmdxxryhdh-sqlite-3.23.0/lib/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = 3
and ends with
[pid 52405] <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 52427
[pid 52405] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=52427, si_uid=999, si_status=0, si_utime=0, si_stime=0} ---
[pid 52405] statfs("/gnu/store", {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=49254537, f_bfree=30544962, f_bavail=28025538, f_files=12582912, f_ffree=10500341, f_fsid={val=[9367051, 4063534803]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
[pid 52405] statfs("/tmp/guix-build-ruamel.yaml-0.15.35.tar.gz.drv-0", {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=56770171, f_bfree=52693770, f_bavail=49792574, f_files=14491648, f_ffree=14179761, f_fsid={val=[3427961175, 3977194498]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
[pid 52405] lstat("/tmp/guix-build-ruamel.yaml-0.15.35.tar.gz.drv-0", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 52405] openat(AT_FDCWD, "/tmp/guix-build-ruamel.yaml-0.15.35.tar.gz.drv-0", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 14
[pid 52405] fstat(14, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 52405] getdents(14, /* 2 entries */, 32768) = 48
[pid 52405] getdents(14, /* 0 entries */, 32768) = 0
[pid 52405] close(14) = 0
[pid 52405] unlink("/tmp/guix-build-ruamel.yaml-0.15.35.tar.gz.drv-0") = -1 EISDIR (Is a directory)
[pid 52405] rmdir("/tmp/guix-build-ruamel.yaml-0.15.35.tar.gz.drv-0") = 0
[pid 52405] futex(0x7f8d5b9ba190, FUTEX_WAKE_PRIVATE, 2147483647) = 0
[pid 52405] write(4, "gmlo\0\0\0\0s\0\0\0\0\0\0\0builder for `/gn"..., 136) = 136
[pid 52405] close(8) = 0
[pid 52405] close(12) = 0
[pid 52405] write(4, "gmlo\0\0\0\0\207\0\0\0\0\0\0\0cannot build der"..., 152) = 152
[pid 52405] write(4, "gmlo\0\0\0\0y\0\0\0\0\0\0\0cannot build der"..., 144) = 144
[pid 52405] write(4, "gmlo\0\0\0\0t\0\0\0\0\0\0\0cannot build der"..., 136) = 136
[pid 52405] rt_sigaction(SIGIO, {sa_handler=SIG_IGN, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f8d5b425ac0}, {sa_handler=0x4092e0, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f8d5b425ac0}, 8) = 0
[pid 52405] write(4, "ptxc\0\0\0\0I\0\0\0\0\0\0\0build of `/gnu/s"..., 104) = 104
[pid 52405] read(4, "", 32768) = 0
[pid 52405] close(10) = 0
[pid 52405] close(11 <unfinished ...>
[pid 52406] <... read resumed> "", 4096) = 0
[pid 52405] <... close resumed> ) = 0
[pid 52405] close(13) = 0
[pid 52405] wait4(52406, <unfinished ...>
[pid 52406] read(7, "", 4096) = 0
[pid 52406] close(7) = 0
[pid 52406] exit_group(0 <unfinished ...>
[pid 52424] <... read resumed> ) = ? <unavailable>
[pid 52423] <... read resumed> <unfinished ...>) = ?
[pid 52422] <... futex resumed>) = ?
[pid 52424] +++ exited with 0 +++
[pid 52423] +++ exited with 0 +++
[pid 52422] +++ exited with 0 +++
[pid 52421] <... futex resumed>) = ?
[pid 52420] <... futex resumed>) = ?
[pid 52419] <... futex resumed>) = ?
[pid 52418] <... futex resumed>) = ?
[pid 52421] +++ exited with 0 +++
[pid 52420] +++ exited with 0 +++
[pid 52419] +++ exited with 0 +++
[pid 52418] +++ exited with 0 +++
[pid 52416] <... futex resumed>) = ?
[pid 52415] <... futex resumed>) = ?
[pid 52414] <... futex resumed>) = ?
[pid 52413] <... futex resumed>) = ?
[pid 52416] +++ exited with 0 +++
[pid 52415] +++ exited with 0 +++
[pid 52414] +++ exited with 0 +++
[pid 52413] +++ exited with 0 +++
[pid 52412] <... futex resumed>) = ?
[pid 52411] <... futex resumed>) = ?
[pid 52410] <... futex resumed>) = ?
[pid 52409] <... futex resumed>) = ?
[pid 52412] +++ exited with 0 +++
[pid 52411] +++ exited with 0 +++
[pid 52410] +++ exited with 0 +++
[pid 52409] +++ exited with 0 +++
[pid 52408] <... futex resumed>) = ?
[pid 52407] <... futex resumed>) = ?
[pid 52406] <... exit_group resumed>) = ?
[pid 52408] +++ exited with 0 +++
[pid 52407] +++ exited with 0 +++
[pid 52406] +++ exited with 0 +++
[pid 52405] <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 52406
[pid 52405] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=52406, si_uid=0, si_status=0, si_utime=16, si_stime=8} ---
[pid 52405] close(9) = 0
[pid 52405] unlink("/var/guix/temproots/52405") = 0
[pid 52405] stat("/var/guix/db/db.sqlite", {st_mode=S_IFREG|0644, st_size=52448256, ...}) = 0
[pid 52405] fcntl(5, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=1}) = 0
[pid 52405] fcntl(5, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=1073741826, l_len=510}) = -1 EAGAIN (Resource temporarily unavailable)
[pid 52405] munmap(0x7f8d5cd02000, 32768) = 0
[pid 52405] munmap(0x7f8d5ccfa000, 32768) = 0
[pid 52405] munmap(0x7f8d5ccf2000, 32768) = 0
[pid 52405] munmap(0x7f8d5ccea000, 32768) = 0
[pid 52405] close(7) = 0
[pid 52405] close(6) = 0
[pid 52405] fcntl(5, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=2}) = 0
[pid 52405] fcntl(5, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
[pid 52405] fstat(5, {st_mode=S_IFREG|0644, st_size=52448256, ...}) = 0
[pid 52405] stat("/var/guix/db/db.sqlite", {st_mode=S_IFREG|0644, st_size=52448256, ...}) = 0
[pid 52405] close(5) = 0
[pid 52405] close(3) = 0
[pid 52405] exit_group(0) = ?
[pid 52405] +++ exited with 0 +++
<... select resumed> ) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=52405, si_uid=0, si_status=0, si_utime=15, si_stime=22} ---
wait4(-1, NULL, WNOHANG, NULL) = 52405
wait4(-1, NULL, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
select(4, [3], NULL, NULL, NULLstrace: Process 52384 detached
<detached ...>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#32183] New ‘guix pull’ /root/.config/current/bin/guix: Permission denied
2018-07-17 8:55 [bug#32183] New ‘guix pull’ /root/.config/current/bin/guix: Permission denied Pjotr Prins
@ 2018-07-17 9:42 ` Pjotr Prins
2018-07-17 9:51 ` Pjotr Prins
2018-07-17 19:15 ` Leo Famulari
1 sibling, 1 reply; 4+ messages in thread
From: Pjotr Prins @ 2018-07-17 9:42 UTC (permalink / raw)
To: Pjotr Prins; +Cc: 32183
Also, using a year old guix client gives the same error. It is in the
daemon.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#32183] New ‘guix pull’ /root/.config/current/bin/guix: Permission denied
2018-07-17 9:42 ` Pjotr Prins
@ 2018-07-17 9:51 ` Pjotr Prins
0 siblings, 0 replies; 4+ messages in thread
From: Pjotr Prins @ 2018-07-17 9:51 UTC (permalink / raw)
To: Pjotr Prins; +Cc: 32183
On Tue, Jul 17, 2018 at 11:42:18AM +0200, Pjotr Prins wrote:
> Also, using a year old guix client gives the same error. It is in the
> daemon.
And running an older daemon fixed it:
/gnu/store/4lk7j5693ikj7yiw2qpsbva5vkicxmp4-guix-0.14.0-13.7af5c2a/bin/guix-daemon --build-users-group=guixbuild
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#32183] New ‘guix pull’ /root/.config/current/bin/guix: Permission denied
2018-07-17 8:55 [bug#32183] New ‘guix pull’ /root/.config/current/bin/guix: Permission denied Pjotr Prins
2018-07-17 9:42 ` Pjotr Prins
@ 2018-07-17 19:15 ` Leo Famulari
1 sibling, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2018-07-17 19:15 UTC (permalink / raw)
To: Pjotr Prins; +Cc: 32183
[-- Attachment #1: Type: text/plain, Size: 387 bytes --]
On Tue, Jul 17, 2018 at 10:55:41AM +0200, Pjotr Prins wrote:
> > > Fails to build with below /gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-guix-daemon-0.15.0-1.4876bc8/libexec/guix/download: line 8: /root/.config/current/bin/guix: Permission denied
There must be a typo in the code somewhere. The path should be
'/root/.config/guix/current/bin/guix'.Note the extra 'guix' path
component.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-07-17 19:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-17 8:55 [bug#32183] New ‘guix pull’ /root/.config/current/bin/guix: Permission denied Pjotr Prins
2018-07-17 9:42 ` Pjotr Prins
2018-07-17 9:51 ` Pjotr Prins
2018-07-17 19:15 ` Leo Famulari
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).