From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4G0KB/kWgWRo8gAASxT56A (envelope-from ) for ; Thu, 08 Jun 2023 01:47:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6OgYB/kWgWRDZwEA9RJhRA (envelope-from ) for ; Thu, 08 Jun 2023 01:47:05 +0200 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 A3C5A27D0A for ; Thu, 8 Jun 2023 01:47:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q72ra-00085f-BP; Wed, 07 Jun 2023 19:46:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q66zP-00030q-9Q for bug-guix@gnu.org; Mon, 05 Jun 2023 05:59:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q66zP-00086A-13 for bug-guix@gnu.org; Mon, 05 Jun 2023 05:59:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q66zO-00058n-Mo for bug-guix@gnu.org; Mon, 05 Jun 2023 05:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63902: System containers with --network won't start "In procedure canonicalize-path: No such file or directory" Resent-From: edk@beaver-labs.com Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 05 Jun 2023 09:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63902 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63902@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.168595909019690 (code B ref -1); Mon, 05 Jun 2023 09:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jun 2023 09:58:10 +0000 Received: from localhost ([127.0.0.1]:48146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q66yY-00057U-8U for submit@debbugs.gnu.org; Mon, 05 Jun 2023 05:58:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:54772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q66yW-00057L-H1 for submit@debbugs.gnu.org; Mon, 05 Jun 2023 05:58:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q66yW-0002rY-93 for bug-guix@gnu.org; Mon, 05 Jun 2023 05:58:08 -0400 Received: from sender11-op-o11.zoho.eu ([31.186.226.225]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q66yU-0007pe-2i for bug-guix@gnu.org; Mon, 05 Jun 2023 05:58:08 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1685959078; cv=none; d=zohomail.eu; s=zohoarc; b=e2BEmue1xr+laJZTsxfcdrSDaQHPmJ3Bwgj+NLp4XGHJwJ82tSf+KcGVqPbebRmY+uZV3k5HCF6HrAE7Q03OxldZ6ucwA3n/+5sQpGF8QW2XtYtkQ6eNm2XjtCcsqRVrbLWybYSS4xJpwb1gTIM8okapLcPNDMP1RMc1OxbHIFk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1685959078; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=ZqOgGv5P6NyMf27i9hMzED468sfPXXgJ+1azK4/Ab10=; b=lJthW/SgNRj7lW5VC/uPONmbYsuXRqWWzKam4Oe3ZbhRjDElvn0httFStprfW2PGrQWDWrrJRYQOHXE+AK/kr8Ya0yMgLBl+JRoJ8iu0bwDSpkHZw/4VRP9Jy5uFjXkjKJ2XL/V+SvTCOMIaM5w2akln6KxR/NtJYTeIMAiV1X4= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1685959078; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=ZqOgGv5P6NyMf27i9hMzED468sfPXXgJ+1azK4/Ab10=; b=NOBPziinkaZB2Rt1Lw0WWIJovh6yykZEONySgj1+q4YK7Ye4bOv76C2PNHr1oeSR kNFZnVbuRSh1a7bzf2vzyBfHt68d6QCI83BPSWteyeWbQzK5kL5Db+6zFW96NEeg4qx IG04mSYjt9AoylHtU4dZBTqnsVnAz/XXLK2GSEkzW1dlvhhCnVw3Y1E30kiJDrdbkR3 14ZkZArNALetVsBTaZzp7rhcW4/U6aXo2DEuWsgmsh91F8rhnMW0SsrBgKPevNa46m+ F3fR7rKqIM0Si4ItRNS9xMsrEOGpuDbjC4gFhx6RirWwnil4wvf4sVE0zP83EA9Atlr M4neAUvymg== Received: from schwarzy (lfbn-idf3-1-667-244.w86-252.abo.wanadoo.fr [86.252.237.244]) by mx.zoho.eu with SMTPS id 1685959076810558.2687290621407; Mon, 5 Jun 2023 11:57:56 +0200 (CEST) User-agent: mu4e 1.8.13; emacs 28.2 From: edk@beaver-labs.com Date: Mon, 05 Jun 2023 10:23:49 +0200 Message-ID: <87legyten9.fsf@rdklein.fr> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=31.186.226.225; envelope-from=edk@beaver-labs.com; helo=sender11-op-o11.zoho.eu X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 07 Jun 2023 19:46:47 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686181624; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=ZqOgGv5P6NyMf27i9hMzED468sfPXXgJ+1azK4/Ab10=; b=FTXw1ITWUVogLvjUGbeEkRSQQPaGg73AfDoou5qOSKxTfRUEOoKQAxBR7qqP/2a6KIkbZO 0j/Hulzf6Hmy6hzTOn2nB5xrhPf5QKkyfac5slBuU0moZjasVgbF7HVGhCKJ5D6Keb6YGA KA9bo8nPCX/jGwerZ5/LQVyxYhftRUvUN5TJdiNHCjG/b3VFg8PRlJbqQXKclijshvHlcY nkHO92lJ9VpTLyAPAZxTlNgGCizxLWEYNiLrtZ8qRayC79dd0QOxPwU2akpekLGP5wB7B+ pT9CUWmJvzaqXUfmFhG9Qc08xigSJqMW79IsbTrZ6p4wLR8W8J5ohVJ3xjUBNw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beaver-labs.com header.s=zoho header.b=NOBPziin; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.eu:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1686181624; a=rsa-sha256; cv=fail; b=nq821SPtjgffseXtEjx//BFWm1ck+WT+yW50ewXG6RBE37YeL+KlhwBiD7lmagEUMrAFpU Rp8Se7UsoxOoEmPDmdAwE2ldmzSSD2UgbC+m48GwRDMbMmICcX13kBuXqVND0+mwGLMFfv Zk5T9v5ScqKLrTnCtkvMjZ62v5YyHp+AFp4lGsnverSRU7d3Rn6MdDbsDud2XWIVVPxNvB b5+fm6s/QXp9/f7QxHTXx8dII6SAQOouawWVDKvWQue3N01yUWBFa+2dCrysJ+2yxGb6ap txtU3/h/OKlRxRSwFSPtXZutkbZzUxBQ7buXRMTbhMhHoyGQYJKmNk+xZ4Oa8Q== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beaver-labs.com header.s=zoho header.b=NOBPziin; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.eu:reject}") X-Migadu-Queue-Id: A3C5A27D0A X-Spam-Score: -0.40 X-TUID: AzhdgJxwoEoJ Dear Guix developers, To reproduce the bug, take the example container from the documentation: https://guix.gnu.org/cookbook/en/html_node/A-Database-Container.html Create a container from the code: guix system container os.scm Try to run the container: sudo /gnu/store/lsa8k983ap58mw8vcpqph89g27skara4-run-container it works. Now, just add --network: guix system container --network os.scm Run the container sudo /gnu/store/zqbhfbkc52ifl7j2xhsr9vr1r2a0dpjg-run-container it fails (both on a Guix System and on a foreign distro (Arch)) with: system container is running as PID 9090 WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete' Run 'sudo guix container exec 9090 /run/current-system/profile/bin/bash --login' or run 'sudo nsenter -a -t 9090' to get a shell into it. Backtrace: 7 (primitive-load "/gnu/store/zqbhfbkc52ifl7j2xhsr9vr1r2a?") In gnu/build/linux-container.scm: 300:8 6 (call-with-temporary-directory #) 397:16 5 (_ "/tmp/guix-directory.9y6q6s") 62:6 4 (call-with-clean-exit #) In unknown file: 3 (primitive-load "/gnu/store/wk96j04sy1rd4sx86n5y7x1a81y?") In ice-9/eval.scm: 619:8 2 (_ #f) 196:35 1 (_ #f) In unknown file: 0 (canonicalize-path "/run/current-system") ERROR: In procedure canonicalize-path: In procedure canonicalize-path: No such file or directory I'm available to help with tests. Cheers, Edouard.