guix system container --network fails b.c. of /etc/hosts

  • Done
  • quality assurance status badge
Details
2 participants
  • Arun Isaac
  • kabelomoiloa
Owner
unassigned
Submitted by
kabelomoiloa
Severity
normal
Merged with
K
K
kabelomoiloa wrote on 27 Feb 2023 22:09
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
TYeYT-aNHN9QWULDzN3kAfddq82RVNtKhYcJtJeXVd2biJMrw6vqJupykxS_3hn4YIKGbGYSETJrB0LTQl5IMM6s3QxvsXwE8t_0rT_F9PA=@protonmail.com
`guix describe` gives the following:

Generation 67 Feb 27 2023 17:41:15 (current)
guix cf9e050
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
A
A
Arun Isaac wrote on 19 Mar 2023 20:31
Merge #61856 with #61627
(address . control@debbugs.gnu.org)
87zg88a688.fsf@systemreboot.net
merge 61856 61627
thanks
?