From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KPzvIlwKSmEEfwAAgWs5BA (envelope-from ) for ; Tue, 21 Sep 2021 18:37:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YOaaHlwKSmHUDwAAB5/wlQ (envelope-from ) for ; Tue, 21 Sep 2021 16:37:48 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BBCE01ECDB for ; Tue, 21 Sep 2021 18:37:47 +0200 (CEST) Received: from localhost ([::1]:34074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSim9-0001eM-RY for larch@yhetil.org; Tue, 21 Sep 2021 12:37:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSijZ-0007hr-VY for bug-guix@gnu.org; Tue, 21 Sep 2021 12:35:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSijV-0006Ni-R2 for bug-guix@gnu.org; Tue, 21 Sep 2021 12:35:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSijV-0001HU-OT for bug-guix@gnu.org; Tue, 21 Sep 2021 12:35:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50568: Missing source code Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Sep 2021 16:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50568 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 50568-submit@debbugs.gnu.org id=B50568.16322420904901 (code B ref 50568); Tue, 21 Sep 2021 16:35:01 +0000 Received: (at 50568) by debbugs.gnu.org; 21 Sep 2021 16:34:50 +0000 Received: from localhost ([127.0.0.1]:47673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSijJ-0001Gy-VP for submit@debbugs.gnu.org; Tue, 21 Sep 2021 12:34:50 -0400 Received: from pelzflorian.de ([5.45.111.108]:55498 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSijH-0001Gn-Ru for 50568@debbugs.gnu.org; Tue, 21 Sep 2021 12:34:49 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id EF9DD360674; Tue, 21 Sep 2021 18:34:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1632242086; bh=L6teqbO2c1ppC+5H65CgDqSKvWHlG/A2K/NMqAp16v0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=nikXQDJn/JWRxvI3Pb+Wj4DmbupqKTktv6qnJAjkeajtklhpdrRyk3C6wrl6787By RzCDCbf1+9AMWy5p6Y55NZ/EovYSJBDh342AmhAAW8qo8tn0DD9/P3X4GtURXxEQ9n spYCQb6WmHfuCJnUequaMVcUMll0AXnFgSh42SLs= Date: Tue, 21 Sep 2021 18:34:35 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20210921163435.n2b4fl64ppnbls5s@pelzflorian.localdomain> References: <87k0jk8vkf.fsf@inria.fr> <87tuin7dr4.fsf@gnu.org> <20210914093610.u56q7ltjbwbbnf34@pelzflorian.localdomain> <8735q41ezt.fsf@gnu.org> <20210917104650.xf5hb4e2wjb734ed@pelzflorian.localdomain> <87fstzr9nc.fsf@gnu.org> <20210921102850.yknkbmhpmuyhsvjc@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210921102850.yknkbmhpmuyhsvjc@pelzflorian.localdomain> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 50568@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632242268; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pCNq1/+LqBS6e9LdaxYfuT12IeQzr3StsVOoU51F3oY=; b=t+qSpLAUUGQcQEVLbou3ztaOk+U2DuclLdYi8d7LV1YKf+s1YiSQa7LUWELecodPRo3Wso w5l2vnvY5C3Oe+w44WzzqE1Hrtje/l4XBUA8enNDbWY8NC40mZNkZgtxaGofDEPSuQtMQw RtVousB9O1kpWZqd3JL1i9HH4kIzpru/vo/OYrLOwQMIHayASC3s4tI2sKb+2PhJPZacZB hWOPNQ3/5H6+onU4CN8B+F2i/jtyvb548wVMCWFLam2Cyt+ofypduBZmHdMQvn3pRE+fcu CtytPAEB46Ja7ObSY0kAIdybMa0F8QdeqoBn2kz6OjnDTwkLDyDalSszhAd6Pg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632242268; a=rsa-sha256; cv=none; b=Vi8V1zBmSdsJiJMnww2G6N+cGtPgGmeoUAAXe2OwM78Y+venHx+SbscKZy+gP5uUgwz1av xES9M1UaQn4LrSB+1RV4HRsZkST8blPlb6L6FwQkaBR3hiIFoRus6k69yjy/zf3If9c7hr biBdEolu5sYiPwySJsAuA2dPOYYZ2AaZQ33bnGpwqXCjrV31NnZGoIrtGh59agEMEIrQje f9M4V5ja3Be7yZ/U/zXt2XrhCIPpiM/CZTkpV7RA7ALemLFvJmRbB4gmdYYPHQuzJd4dXw 2hHxsh+4UwJym8i9eXDRqKwdeLBVGw4tfP/E6oi0XGcM3McQxsMfsEGCxtkWIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=nikXQDJn; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=nikXQDJn; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: BBCE01ECDB X-Spam-Score: -1.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: vIYe6E8NDF1E On Tue, Sep 21, 2021 at 12:28:50PM +0200, pelzflorian (Florian Pelz) wrote: > On Mon, Sep 20, 2021 at 09:25:27AM +0200, Ludovic Courtès wrote: > > To test it, you can first start the new daemon, along these lines: > > > > sudo herd stop guix-daemon > > sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild > > No, going back one generation and guix gc -D’ing the > /gnu/store/*hello-2.10* after adding web.archive.org to /etc/hosts > again, I for some reason get a > > florian@florianacer ~$ bzcat /var/log/guix/drvs/wy/24jyd0mm2jlgpzsxxlip03df065g35-hello-2.10.tar.gz.drv.bz2 > error: failed to run download program '/home/florian/src/guix/scripts/guix': Keine Berechtigung > > (Keine Berechtigung is German for Permission denied) but it does not > matter, since the reconfigure and reboot works when and only when > adding web.archive.org to /etc/hosts. > > Actually I will later take another look at this, because the manual > says ./pre-inst-env guix-daemon should work. There is no regression. Without the web.archive.org patch, `guix install hello' via sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild always shows the same error, regardless of whether I misdirected DNS lookups or not. The patch is not at fault. Though I don’t know why. sudo -E strace -f ./pre-inst-env guix-daemon --build-users-group=guixbuild shows [pid 1854] execve("/home/florian/src/guix/scripts/guix", ["guix", "perform-download", "/gnu/store/wy24jyd0mm2jlgpzsxxli"..., "/gnu/store/hbdalsf5lpf01x4dcknwx"...], 0x1d8f9a0 /* 80 vars */) = -1 EACCES (Keine Berechtigung) says: > The exec functions shall fail if: > … > [EACCES] > The new process image file is not a regular file and the implementation does not support execution of files of its type. > The exec functions, except for fexecve(), shall fail if: > [EACCES] > Search permission is denied for a directory listed in the new process image file's path prefix, or the new process image file denies execution permission. I run: florian@florianacer ~$ ls -ahl /home/florian/src/guix/scripts/guix -r-xr-xr-x 1 florian users 2,0K 21. Sep 07:30 /home/florian/src/guix/scripts/guix florian@florianacer ~$ ls -ahl /home/florian/src/guix | grep scripts drwxr-xr-x 2 florian users 4,0K 21. Sep 07:30 scripts/ florian@florianacer ~$ lsattr /home/florian/src/guix/scripts/guix --------------e----- /home/florian/src/guix/scripts/guix florian@florianacer ~ [env]$ cat test-execv.c #include int main () { const char *const argv[] = { "guix", "perform-download", "/gnu/store/wy24jyd0mm2jlgpzsxxlip03df065g35-hello-2.10.tar.gz.drv", "/gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz.lock", NULL }; execv ("/home/florian/src/guix/scripts/guix", (char *const *) argv); return 0; } florian@florianacer ~ [env]$ gcc test-execv.c -o test-execv florian@florianacer ~ [env]$ LC_ALL=en_US.utf8 ~/test-execv Starting download of /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz.lock >From https://ftpmirror.gnu.org/gnu/hello/hello-2.10.tar.gz... following redirection to `https://ftp.wayne.edu/gnu/hello/hello-2.10.tar.gz'... In procedure open-file: Read-only file system: "/gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz.lock" [and more expected failures …] Whatever. It is not important. Regards, Florian