Am Sonntag, 16. Dezember 2012 schrieb Ludovic Courtès:
> No, could you run guix-daemon in strace?
Sorry, I did not read the message carefully enough. None of the
commands do appear.
Before executing "./pre-inst-env guix-build hello", the last lines of
output are
set_tid_address(0x7fa0b97469f0) = 7696
set_robust_list(0x7fa0b9746a00, 0x18) = 0
futex(0x7fffc31e130c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7fa0b9746720) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7fa0b80d7ad0, [], SA_RESTORER|SA_SIGINFO, 0x7fa0b80e1030}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7fa0b80d7b60, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fa0b80e1030}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0) = 0x14bb000
brk(0x14dc000) = 0x14dc000
futex(0x7fa0b8e149e4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7fa0b8e149f0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
chdir("/") = 0
rt_sigaction(SIGCHLD, {0x406d70, ~[RTMIN RT_1], SA_RESTORER, 0x7fa0b83204f0}, {SIG_DFL, [], 0}, 8) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
lstat("/usr/local/guix-git/var/nix/daemon-socket", {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0
chdir("/usr/local/guix-git/var/nix/daemon-socket") = 0
unlink("/usr/local/guix-git/var/nix/daemon-socket/socket") = 0
umask(0111) = 022
bind(3, {sa_family=AF_FILE, path="./socket"}, 110) = 0
umask(022) = 0111
chdir("/") = 0
listen(3, 5) = 0
fcntl(3, F_GETFD) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
accept(3,
When starting the execution, only the following lines are printed:
{sa_family=AF_FILE, NULL}, [2]) = 4
fcntl(4, F_GETFD) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
getsockopt(4, SOL_SOCKET, SO_PEERCRED, "\24\36\0\0\350\3\0\0\350\3\0\0", [12]) = 0
write(2, "accepted connection from pid 770"..., 44accepted connection from pid 7700, uid 1000
) = 44
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fa0b97469f0) = 7701
close(4) = 0
accept(3, spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
2187 operations
0x7fffc31dff10, [110]) = ? ERESTARTSYS (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, NULL, WNOHANG, NULL) = 7701
wait4(-1, NULL, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn(0xffffffffffffffff) = -1 EINTR (Interrupted system call)
accept(3,
Andreas