bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43762: ‘guix environment -C’ containers lack /etc/hosts


From: Ludovic Courtès
Subject: bug#43762: ‘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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]