From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qITSHi878mNFeQAAbAwnHQ (envelope-from ) for ; Sun, 19 Feb 2023 16:07:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0MrnHS878mMmlgAAG6o9tA (envelope-from ) for ; Sun, 19 Feb 2023 16:07:27 +0100 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 EB1A5219E7 for ; Sun, 19 Feb 2023 16:07:26 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmx.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676819247; a=rsa-sha256; cv=none; b=deshW+g9Nto/feJkVzRkmnOsBEy5nQ1RAuefAgOgSY3+ODa0CTuPpkcdt7hCWpyUK9CIsy GmG26DGttyTCCuk8gkHOa9Ua4RLr8hgy0fuw1w7hlVEUK9xilj8x9lLF7njMRggLlKGuRM dWXm78zYu/lvG4ItAPqwZqVNZR6a95qTgFtn+ilFWzetMDTTF538DTAn6J2Iq1bSvvZOd3 c6ArU9tBukrbGuSbDAPk3WKyzqpo7OcvxqLForPb8HcHAJPV0+V7r7UhEF0L8aieYvaaLu d/SRiKvk1iqarzicJ1q3foQ/nepjkL5aj2fxH87QLEYX9bq/mcOL1YURWYlTZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmx.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676819247; 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; bh=mn1m0JRW6b2PrEelGNfJEeA55jXdmEu/oOdFzkZryVQ=; b=hCs9ZOtVR9FMekAy+68oXh/uFNanq2/02omlMYLUiICulvf+ajq2x0tw/dQo9/T/vp3Wij lcMB9Mfmk8/yHrIYaV5N+UbIRuGJMRoLtZypLRATF47CXtvGjaimKk3ytSjhBHuRExGMBq 1MeHMXo2vuNVqZOscZkcUYJWX3AJ2Mgrmh37UyKxcoI4GtnSA5TGpXQSBSnXKfWmk8gsMe auFZ81GIjgE4Y5Q8H57SMoR74C7Nwu5uIn9dg7JiPBFKEtCQhlN5wkU70KZcF9kptS/dCr eb73gxt22tYNSeX+TRYhmJimC1s3lk6qfJSZGPo7aF+t6cUDdd19NPcfK0HmQQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTlHN-00031S-GN; Sun, 19 Feb 2023 10:07:05 -0500 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 1pTlHL-0002zL-01 for bug-guix@gnu.org; Sun, 19 Feb 2023 10:07:03 -0500 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 1pTlHK-0001kx-N7 for bug-guix@gnu.org; Sun, 19 Feb 2023 10:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTlHK-0001zN-Hz for bug-guix@gnu.org; Sun, 19 Feb 2023 10:07:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61627: Cannot start a container built with `guix system container --network'. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 19 Feb 2023 15:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61627 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 61627@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16768192077621 (code B ref -1); Sun, 19 Feb 2023 15:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2023 15:06:47 +0000 Received: from localhost ([127.0.0.1]:49470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTlH4-0001yr-UN for submit@debbugs.gnu.org; Sun, 19 Feb 2023 10:06:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:34008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTlH2-0001yh-KJ for submit@debbugs.gnu.org; Sun, 19 Feb 2023 10:06:45 -0500 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 1pTlH2-0002nw-Cx for bug-guix@gnu.org; Sun, 19 Feb 2023 10:06:44 -0500 Received: from mout.gmx.net ([212.227.17.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTlH0-0001gV-IJ for bug-guix@gnu.org; Sun, 19 Feb 2023 10:06:44 -0500 Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MIx3C-1pDs0r2BsQ-00KPil for ; Sun, 19 Feb 2023 16:06:39 +0100 User-agent: mu4e 1.8.13; emacs 28.2 From: Pierre Langlois Date: Sun, 19 Feb 2023 14:58:29 +0000 Message-ID: <87a619u22x.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Provags-ID: V03:K1:wWaEs8X1Ig50I0fDFfHGqp1AVwJE1mXdkXnY7YnYSbiIfZxNCU0 +ZR5ZSxo0VzMPOclrmm2KsAXAWJfbAHgI8rlFDeF3JNCaLQEUR1brXFdKSiplhXnsPN4vdR bjFgEAc3h282cNksvcPtwpLK7wIMVVe8QeQau1uMOeIRExLSHREEAomfi/M0Fg93rVd3fyx Y3Z6l8wG2v158TlV4w3UQ== UI-OutboundReport: notjunk:1;M01:P0:AHxoSS2AKNY=;PJY0fdFlNTL9PiJL/IkADFMEa+d kILV0dU5i0VpVC8ngryAVVJWtzdXEyZmd4PPrTbtjDumEqmbFqmLkhD3qj+paRidni9pQM1vY Rc4eFvyMGAXXZ4RX45lnEKD16zD9LX5jzjPgMypkvcXZModhK77dxcOCLL2ZxHCuW/SE/kqp/ pALlY0CZoWnkYAa33rVae+DKMhVJ39cT4bspL8Uqt7J2IwMsP3ZbGSAm+vS3QT/YjcLz/Pa12 lZx4WXNB9C8EP9/jLZNfGVEn0AvYvAd42WwSqPTtHBtPk6azZBoF4JTC+Pdy9ctqYdafG+txV HnAUa5GI2Y0V53LcSHktrVDfwdfTe/h/GWTmYs7S5fL+cNPlgPFzWpwsSaSnvcgksqNC5k8e9 nqV+hmFd8ZFdKFn3uymUXiGt8Lbz7/j0NpAi4vn0UwASgSVT578Lk7aVLr3AbaIochAq3jLn6 5LB+DJddW1nYPjrGZcaKTKxKsv6MTVpX/mlPJ5iWM5+p11mpLU4kn0mW67WlJ9rf7tLsb1/g4 S1NIozVO+V5FEJdw4GR2AYiL8zhgmlYrqNTng9B2GwAiyLB/9fjq7u1xw1rJUFTySBcDgu9dJ ZwPRbkb8Bo273ar/PKlJ2t4sjTD1gsk9w/OYJVYC5GDd79xYyFWNitHuknaLRlXAOv3WFibH3 BDb6/kLXYkCo7Q9UEq0nLQwI6y8pqu8fF8MjgzLInTMlNOpxze+THf+yjwQTgDfUo5T4K60Pf mU+spHIWivhhB4zL3gyfgM4IOY1W+dUhBjURY99h2XUujCtJDr5OLjQs6MJ/aYtAtLZlKX61b bVSztQJkvRboS82aAjwwa8uClFo1YMZ2v5s3/gu9Ws2pzldPul6JXRZ0DLMfmaBK3eM3OHLVq LjK3ABMAJ2qPsl6PEWzCHe6W/kOjJ3AzBiGIymMS4TE/nzDu29AhiiBUCEr5I4NvnLVMYUgi2 Y8lPQCRpE+UG95vgxTxZWfw7b6M= Received-SPF: pass client-ip=212.227.17.22; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: EB1A5219E7 X-Spam-Score: -6.24 X-Migadu-Spam-Score: -6.24 X-Migadu-Scanner: scn0.migadu.com 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-Flow: FLOW_IN X-Migadu-Country: US X-TUID: 4Wrj33jD32TA --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Guix! There seems to be a bug with the --network flag to `guix system container', if we try to use docker-image.tmpl as an example we get the following failure: =2D-8<---------------cut here---------------start------------->8--- $ sudo `guix system container -v3 --network gnu/system/examples/docker-imag= e.tmpl` Password: system container is running as PID 17630 WARNING: (guile-user): imported module (guix build utils) overrides core bi= nding `delete' Run 'sudo guix container exec 17630 /run/current-system/profile/bin/bash --= login' or run 'sudo nsenter -a -t 17630' to get a shell into it. WARNING: (guile-user): imported module (guix build utils) overrides core bi= nding `delete' making '/gnu/store/2w0c609is7iilv6r2l1vrchb9qsbfgkp-system' the current sys= tem... WARNING: (guile-user): imported module (guix build utils) overrides core bi= nding `delete' setting up setuid programs in '/run/setuid-programs'... populating /etc from /gnu/store/ywsdjyq161a2clhvz6kx5m4ppz5ziqp1-etc... Backtrace: 11 (primitive-load "/gnu/store/5wdqg0jpiw1zd9pn13wmzy3f85g=E2=80= =A6") In gnu/build/linux-container.scm: 300:8 10 (call-with-temporary-directory #) 397:16 9 (_ "/tmp/guix-directory.KgjoQ6") 62:6 8 (call-with-clean-exit #) In unknown file: 7 (primitive-load "/gnu/store/2w0c609is7iilv6r2l1vrchb9qs=E2=80= =A6") In ice-9/eval.scm: 619:8 6 (_ #f) In unknown file: 5 (primitive-load "/gnu/store/xfd58fw9x65n7wr5kw2gnciszkl=E2=80= =A6") In srfi/srfi-1.scm: 634:9 4 (for-each # _) In unknown file: 3 (primitive-load "/gnu/store/3gwb0jydx90f61a6kizawsjdi6h=E2=80= =A6") In srfi/srfi-1.scm: 634:9 2 (for-each # =E2=80=A6) In gnu/build/activation.scm: 268:20 1 (_ "hosts") In unknown file: 0 (copy-file "/etc/static/hosts" "/etc/hosts") ERROR: In procedure copy-file: In procedure copy-file: Read-only file system =2D-8<---------------cut here---------------end--------------->8--- Doing a git bisect, the problem started with this commit it seems: 802ea1f3a43e5fb8d0b8bd2882954d8a6e49cde6 =2D-8<---------------cut here---------------start------------->8--- system: Deprecate hosts-file. * gnu/system.scm (operating-system-hosts-file): Deprecate procedure. (warn-hosts-file-field-deprecation): New procedure, helper for deprecated variable. (operating-system)[hosts-file]: Use helper to warn deprecated field. (local-host-aliases): Mark as deprecated. (local-host-entries): New procedure. (operating-system-default-essential-services, hurd-default-essential-services): Use hosts-service-type. Use '%operating-system-hosts-file' and 'local-host-entries'. (default-/etc/hosts): Remove procedure. (operating-system-etc-service): Remove hosts file. * doc/guix.texi (operating-system Reference) (Networking Services) (Virtualization Services): Rewrite documentation entries to use hosts-service-type. =2D-8<---------------cut here---------------end--------------->8--- Thanks! Pierre --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmPyOvYYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31URDcH/RYw3nPHCM6Tb7wqW6DSeo+K 54TA8TvmlucVmyIrNDAA0TY79INGHkPza/aUZLfwjBv6+w4ARIUnDJwAKrpELl4X 5ro2uXyAr1r7ENGPXTjPxlNA0EsY3HV/JTbOvTJqe1J/6eoobsjNGVJ9T0HqMV1W GlsGTMV6VMVHmTfJ6KQIX/mYJam32g3T7TgPK1LbCeyGz2Sb7OO5ib4m1xt0GtxW XcNjYcLGtNxMrsEORBimk3TISNroUMJXvNg/DUybHyg7dclpfTlONbqyaNSVL069 APuJAfODRM2RGhyWtegml+WrlwWu3T5WofXMdg40kGtlBlpATWuZlnW/ORP//as= =VH6S -----END PGP SIGNATURE----- --=-=-=--