From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Boddie Subject: Re: Bootstrapping on a new platform Date: Fri, 8 Dec 2017 17:19:14 +0100 Message-ID: <201712081719.15396.paul@boddie.org.uk> References: <201712030017.19982.paul@boddie.org.uk> <877etx1pk9.fsf@gnu.org> <201712081440.15176.paul@boddie.org.uk> Mime-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNLMy-0001PL-KM for help-guix@gnu.org; Fri, 08 Dec 2017 11:19:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNLMv-0007aK-Gi for help-guix@gnu.org; Fri, 08 Dec 2017 11:19:24 -0500 In-Reply-To: <201712081440.15176.paul@boddie.org.uk> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org On Friday 8. December 2017 14.40.14 Paul Boddie wrote: > On Friday 8. December 2017 11.28.38 Ludovic Court=C3=A8s wrote: > >=20 > > Could you search in the strace output for the =E2=80=98clone=E2=80=99 c= all that failed > > with EINVAL? It=E2=80=99s probably the one from nix/libstore/build.cc. [...] > I'm tracing the daemon here. Should I also be tracing something else? Sorry, I found that I should be running strace using the -o, -f and -ff=20 options: strace -o /tmp/guix -f -ff /usr/local/bin/guix-daemon \ --build-users-group=3Dguixbuild This gave me the following in the parent process log (/tmp/guix.793): clone(child_stack=3D0, flags=3DCLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC= HLD,=20 child_tidptr=3D0x404c5f28) =3D 797 close(4) =3D 0 accept(3, 0xbfff7224, [110]) =3D ? ERESTARTSYS (To be restarted = if=20 SA_RESTART is set) =2D-- SIGCHLD {si_signo=3DSIGCHLD, si_code=3DCLD_EXITED, si_pid=3D797, si_u= id=3D0,=20 si_status=3D0, si_utime=3D51, si_stime=3D524} --- waitpid(-1, NULL, WNOHANG) =3D 797 This resembling what I showed before. Meanwhile in the child process log=20 (/tmp/guix.797) the clone call with EINVAL is this one: clone(child_stack=3D0xbffedfa4, flags=3DCLONE_NEWNS|CLONE_NEWUTS|CLONE_NEWI= PC| CLONE_NEWPID|CLONE_NEWNET|SIGCHLD) =3D -1 EINVAL (Invalid argument) Again, this is using the 4.9.67 kernel. Paul