--- Begin Message ---
Subject: |
‘guix environment -C’ containers lack /etc/hosts |
Date: |
Fri, 02 Oct 2020 15:53:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi!
Look:
--8<---------------cut here---------------start------------->8---
$ guix environment -C --ad-hoc coreutils -- cat /etc/hosts
cat: /etc/hosts: No such file or directory
$ guix describe
Generacio 162 Oct 01 2020 00:23:38 (nuna)
guix 7607ace
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 7607ace5091aea0157ba5c8a508129cc5fc4f931
--8<---------------cut here---------------end--------------->8---
I think we should add /etc/hosts with an entry for “localhost”, just
like libstore/build.cc does.
Ludo’.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#43762: ‘guix environment -C’ containers lack /etc/hosts |
Date: |
Fri, 02 Oct 2020 23:29:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Ludovic Courtès <ludovic.courtes@inria.fr> skribis:
> $ guix environment -C --ad-hoc coreutils -- cat /etc/hosts
> cat: /etc/hosts: No such file or directory
Fixed in 0f53c801b91919380a924b402d1ff822bb1dc6ea!
Ludo'.
--- End Message ---