GNU bug report logs - #61856
guix system container --network fails b.c. of /etc/hosts

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: kabelomoiloa <kabelomoiloa@HIDDEN>; merged with #61627; dated Tue, 28 Feb 2023 01:11:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 61627 61856. Request was from Arun Isaac <arunisaac@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Feb 2023 01:10:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 27 20:10:28 2023
Received: from localhost ([127.0.0.1]:49307 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pWoVg-0007ZV-3g
	for submit <at> debbugs.gnu.org; Mon, 27 Feb 2023 20:10:28 -0500
Received: from lists.gnu.org ([209.51.188.17]:44188)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kabelomoiloa@HIDDEN>) id 1pWkkK-0003SN-NQ
 for submit <at> debbugs.gnu.org; Mon, 27 Feb 2023 16:09:21 -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 <kabelomoiloa@HIDDEN>)
 id 1pWkkJ-0004ix-Uq
 for bug-guix@HIDDEN; Mon, 27 Feb 2023 16:09:20 -0500
Received: from mail-4318.protonmail.ch ([185.70.43.18])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kabelomoiloa@HIDDEN>)
 id 1pWkkI-0007Gd-6e
 for bug-guix@HIDDEN; Mon, 27 Feb 2023 16:09:19 -0500
Date: Mon, 27 Feb 2023 21:09:01 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail3; t=1677532154; x=1677791354;
 bh=HEtj/b1CnIkfmdJIkdankxOtchvDgrGvVSP9/oguBMo=;
 h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector;
 b=hU+nD7s/gJ1IoONvB90D2F43hmEFS1+biPdqAH0CWY23qE9ZVFwNzMtlGY2k7t53Y
 mYJ4f4JE9hbCetGQk49++uUKIf7IEev5pifgmOZacOknqYrr02xUJkvdSeIBxva6sR
 pzSBW2IiRmu1ZIwmiMpSfiusgAK1LrN+m/yeLOODXBXM8Gfc6MUmPE7AhMvxnlGzcW
 vr4ZfFbXMEB8KgMCp7cKE6Fd21+eYC2v6tpglUK6f7aeMp/K7STkQli6tpzIqwM+yk
 6uLYK92e5c3TQ0rn06li/D+NQWx9wmnBxKFqaNa/YJ6cmZskycHFw4updZtSVZ9SpF
 kKD/UIeiVf0QQ==
To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>
From: kabelomoiloa <kabelomoiloa@HIDDEN>
Subject: guix system container --network fails b.c. of /etc/hosts
Message-ID: <TYeYT-aNHN9QWULDzN3kAfddq82RVNtKhYcJtJeXVd2biJMrw6vqJupykxS_3hn4YIKGbGYSETJrB0LTQl5IMM6s3QxvsXwE8t_0rT_F9PA=@protonmail.com>
Feedback-ID: 45303490:user:proton
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=185.70.43.18;
 envelope-from=kabelomoiloa@HIDDEN; helo=mail-4318.protonmail.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.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, FREEMAIL_FROM=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 27 Feb 2023 20:10:25 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

`guix describe` gives the following:

Generation 67   Feb 27 2023 17:41:15    (current)
  guix cf9e050
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: cf9e0508b26196dc985302776d860a0359652c59

Consider the system configuration given at this url: https://git.sr.ht/~ele=
venkb/dotfiles/blob/master/configs/11kb/guix-server.scm

If I run `sudo $(guix system container guix-server.scm)` then my container =
works, but if I run `sudo $(guix system container guix-server.scm --network=
)` then my container fails to work. I instead get an error which goes like =
this:

In unknown file:
           0 (copy-file "/etc/static/hosts" "/etc/hosts")

ERROR: In procedure copy-file:
In procedure copy-file: Read-only file system





Acknowledgement sent to kabelomoiloa <kabelomoiloa@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#61856; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 19 Mar 2023 19:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.