From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: 43762@debbugs.gnu.org
Subject: bug#43762: ‘guix environment -C’ containers lack /etc/hosts
Date: Fri, 02 Oct 2020 15:53:49 +0200 [thread overview]
Message-ID: <87a6x4ka36.fsf@inria.fr> (raw)
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’.
next reply other threads:[~2020-10-02 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-02 13:53 Ludovic Courtès [this message]
2020-10-02 14:38 ` bug#43762: ‘guix environment -C’ containers lack /etc/hosts Bengt Richter
2020-10-02 21:29 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a6x4ka36.fsf@inria.fr \
--to=ludovic.courtes@inria.fr \
--cc=43762@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).