GNU bug report logs - #43762
‘guix environment -C’ containers lack /etc/hosts

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Fri, 2 Oct 2020 13:55:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Subject: bug#43762: closed (Re: bug#43762: ‘guix
 environment -C’ containers lack /etc/hosts)
Date: Fri, 02 Oct 2020 21:31:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 43762 <at> debbugs.gnu.org.

-- 
43762: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43762
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: 43762-done <at> debbugs.gnu.org
Subject: Re: bug#43762: ‘guix environment -C’ containers lack /etc/hosts
Date: Fri, 02 Oct 2020 23:29:57 +0200
Ludovic Courtès <ludovic.courtes <at> inria.fr> skribis:

> $ guix environment -C --ad-hoc coreutils -- cat /etc/hosts
> cat: /etc/hosts: No such file or directory

Fixed in 0f53c801b91919380a924b402d1ff822bb1dc6ea!

Ludo'.

[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: <bug-guix <at> gnu.org>
Subject: ‘guix environment -C’
 containers lack /etc/hosts
Date: Fri, 02 Oct 2020 15:53:49 +0200
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’.



This bug report was last modified 4 years and 227 days ago.

Previous Next


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