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

Previous Next

Package: guix;

Reported by: kabelomoiloa <kabelomoiloa <at> protonmail.com>

Date: Tue, 28 Feb 2023 01:11:02 UTC

Severity: normal

Merged with 61627

Done: Pierre Langlois <pierre.langlois <at> gmx.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61856 in the body.
You can then email your comments to 61856 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#61856; Package guix. (Tue, 28 Feb 2023 01:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to kabelomoiloa <kabelomoiloa <at> protonmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 28 Feb 2023 01:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: kabelomoiloa <kabelomoiloa <at> protonmail.com>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: guix system container --network fails b.c. of /etc/hosts
Date: Mon, 27 Feb 2023 21:09:01 +0000
`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/~elevenkb/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





Merged 61627 61856. Request was from Arun Isaac <arunisaac <at> systemreboot.net> to control <at> debbugs.gnu.org. (Sun, 19 Mar 2023 19:32:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Apr 2023 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 339 days ago.

Previous Next


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