From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: bug#33368: "guix archive" fails because of guix-authenticate Date: Wed, 14 Nov 2018 16:06:13 +0100 Message-ID: References: <87bm6sklwy.fsf@gnu.org> 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]:47613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMwl1-0003WN-TU for bug-guix@gnu.org; Wed, 14 Nov 2018 10:07:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMwkw-0007Ze-Al for bug-guix@gnu.org; Wed, 14 Nov 2018 10:07:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48113) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gMwkw-0007ZA-5z for bug-guix@gnu.org; Wed, 14 Nov 2018 10:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gMwkv-0000El-Nv for bug-guix@gnu.org; Wed, 14 Nov 2018 10:07:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87bm6sklwy.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: 33368@debbugs.gnu.org Hi Ludo and Ricardo, > Could you strace the daemon and then re-run the command? > > sudo strace -p $(pidof guix-daemon) -f -o daemon.log -s 234 > guix archive --export sed > /dev/null > > I tested and it works for me, so we=E2=80=99ll have to see what=E2=80=99s= going wrong > behind the scenes. With the strace log (see below) that's pretty obvious: the daemon doesn't find the guix-authenticate binary. But where should it be, and why is it missing on my machine? > Is the guix-daemon also recent? A bit less than the rest of guix, but I did update it after the Great Pull Revolution. The first line of the strace log contains the path in the store, which should say all there is to know about my daemon. Cheers, Konrad. 15629 execve("/gnu/store/lm2zy00ciq5pb6gfibvakps7aa1hgz68-guix-daemon-0.15.= 0-6.f9a8fce/libexec/guix-authenticate", ["guix-authenticate", "rsautl", "-s= ign", "-inkey", "/etc/guix/signing-key.sec", "-in", "/tmp/nix-15338-0/hash"= ], 0x11542d0 /* 17 vars */) =3D -1 ENOENT (No such file or directory) 15629 execve("/usr/local/sbin/guix-authenticate", ["guix-authenticate", "rs= autl", "-sign", "-inkey", "/etc/guix/signing-key.sec", "-in", "/tmp/nix-153= 38-0/hash"], 0x11542d0 /* 17 vars */) =3D -1 ENOENT (No such file or direct= ory) 15629 execve("/usr/local/bin/guix-authenticate", ["guix-authenticate", "rsa= utl", "-sign", "-inkey", "/etc/guix/signing-key.sec", "-in", "/tmp/nix-1533= 8-0/hash"], 0x11542d0 /* 17 vars */) =3D -1 ENOENT (No such file or directo= ry) 15629 execve("/usr/sbin/guix-authenticate", ["guix-authenticate", "rsautl",= "-sign", "-inkey", "/etc/guix/signing-key.sec", "-in", "/tmp/nix-15338-0/h= ash"], 0x11542d0 /* 17 vars */) =3D -1 ENOENT (No such file or directory) 15629 execve("/usr/bin/guix-authenticate", ["guix-authenticate", "rsautl", = "-sign", "-inkey", "/etc/guix/signing-key.sec", "-in", "/tmp/nix-15338-0/ha= sh"], 0x11542d0 /* 17 vars */) =3D -1 ENOENT (No such file or directory) 15629 execve("/sbin/guix-authenticate", ["guix-authenticate", "rsautl", "-s= ign", "-inkey", "/etc/guix/signing-key.sec", "-in", "/tmp/nix-15338-0/hash"= ], 0x11542d0 /* 17 vars */) =3D -1 ENOENT (No such file or directory) 15629 execve("/bin/guix-authenticate", ["guix-authenticate", "rsautl", "-si= gn", "-inkey", "/etc/guix/signing-key.sec", "-in", "/tmp/nix-15338-0/hash"]= , 0x11542d0 /* 17 vars */) =3D -1 ENOENT (No such file or directory) 15629 openat(AT_FDCWD, "/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2= .27/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) =3D -1 ENOENT = (No such file or directory)