From unknown Sat Jun 14 19:00:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#43762 <43762@debbugs.gnu.org> To: bug#43762 <43762@debbugs.gnu.org> Subject: Status: =?UTF-8?Q?=E2=80=98guix?= environment =?UTF-8?Q?-C=E2=80=99?= containers lack /etc/hosts Reply-To: bug#43762 <43762@debbugs.gnu.org> Date: Sun, 15 Jun 2025 02:00:36 +0000 retitle 43762 =E2=80=98guix environment -C=E2=80=99 containers lack /etc/ho= sts reassign 43762 guix submitter 43762 Ludovic Court=C3=A8s severity 43762 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 02 09:54:04 2020 Received: (at submit) by debbugs.gnu.org; 2 Oct 2020 13:54:04 +0000 Received: from localhost ([127.0.0.1]:39778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOLVc-0001Rj-ID for submit@debbugs.gnu.org; Fri, 02 Oct 2020 09:54:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:32780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOLVa-0001RR-4w for submit@debbugs.gnu.org; Fri, 02 Oct 2020 09:54:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOLVZ-0002a3-EZ for bug-guix@gnu.org; Fri, 02 Oct 2020 09:54:01 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:50729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOLVV-00074J-JT for bug-guix@gnu.org; Fri, 02 Oct 2020 09:54:00 -0400 X-IronPort-AV: E=Sophos;i="5.77,327,1596492000"; d="scan'208";a="360695387" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Oct 2020 15:53:49 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Subject: =?utf-8?Q?=E2=80=98guix?= environment =?utf-8?Q?-C=E2=80=99?= containers lack /etc/hosts X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 =?utf-8?Q?Vend=C3=A9miaire?= an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 02 Oct 2020 15:53:49 +0200 Message-ID: <87a6x4ka36.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/02 09:53:50 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 =E2=80=9Clocalhost=E2=80= =9D, just like libstore/build.cc does. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 02 10:38:33 2020 Received: (at 43762) by debbugs.gnu.org; 2 Oct 2020 14:38:33 +0000 Received: from localhost ([127.0.0.1]:42270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOMCe-0003En-WB for submit@debbugs.gnu.org; Fri, 02 Oct 2020 10:38:33 -0400 Received: from imta-38.everyone.net ([216.200.145.38]:44418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOMCZ-0003Eb-Im for 43762@debbugs.gnu.org; Fri, 02 Oct 2020 10:38:31 -0400 Received: from pps.filterd (omta003.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 092Ec4uM030995; Fri, 2 Oct 2020 07:38:26 -0700 X-Eon-Originating-Account: H2CEJMqwiTq-3mBHMAi_JBjSGLJPwPwnZ_mLBl6Ne-o X-Eon-Dm: m0116953.ppops.net Received: by m0116953.mta.everyone.net (EON-AUTHRELAY2 - 53b92420) id m0116953.5f62b242.15955b; Fri, 2 Oct 2020 07:38:24 -0700 X-Eon-Sig: AQMHrIJfdztgBXe4jgIAAAAC,0daeb90ee6450778e964f080efa126b5 X-Eip: 2Fa5Y9r2Y5cy2VFVsRqezoa6vM23UWuaLAO5M2uDPzA Date: Fri, 2 Oct 2020 16:38:13 +0200 From: Bengt Richter To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#43762: =?utf-8?B?4oCYZ3VpeCBlbnZp?= =?utf-8?Q?ronment_-C=E2=80=99?= containers lack /etc/hosts Message-ID: <20201002143813.GA4900@LionPure> References: <87a6x4ka36.fsf@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87a6x4ka36.fsf@inria.fr> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-10-02_10:2020-10-02, 2020-10-02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 mlxscore=0 phishscore=0 bulkscore=0 adultscore=0 clxscore=1034 mlxlogscore=946 suspectscore=0 spamscore=0 impostorscore=0 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010020115 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 43762 Cc: 43762@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hi Ludo, On +2020-10-02 15:53:49 +0200, Ludovic Courtès wrote: > 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’. > How sensitive is this data? E.g., compared to /etc/hostname and /etc/machine-id ? man machine-id says in part --8<---------------cut here---------------start------------->8--- This ID uniquely identifies the host. It should be considered "confidential", and must not be exposed in untrusted environments, in particular on the network. If a stable unique identifier that is tied to the machine is needed for some application, the machine ID or any part of it must not be used directly. Instead the machine ID should be hashed with a cryptographic, keyed hash function, using a fixed, application-specific key. That way the ID will be properly unique, and derived in a constant way from the machine ID but there will be no way to retrieve the original machine ID from the application-specific one. The sd_id128_get_machine_app_specific(3) API provides an implementation of such an algorithm. --8<---------------cut here---------------end--------------->8--- And how do you pick an appropriate hostname (which often appears in /etc/hosts) for an image that could be booted in the clouds, or like a live USB, on any compatible laptop? -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 02 17:30:10 2020 Received: (at 43762-done) by debbugs.gnu.org; 2 Oct 2020 21:30:10 +0000 Received: from localhost ([127.0.0.1]:42678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOScz-0000P0-T4 for submit@debbugs.gnu.org; Fri, 02 Oct 2020 17:30:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOScv-0000Mz-Gt for 43762-done@debbugs.gnu.org; Fri, 02 Oct 2020 17:30:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42712) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOScq-0004Dd-8V for 43762-done@debbugs.gnu.org; Fri, 02 Oct 2020 17:30:00 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43258 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kOScp-0005uz-KN for 43762-done@debbugs.gnu.org; Fri, 02 Oct 2020 17:29:59 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 43762-done@debbugs.gnu.org Subject: Re: bug#43762: =?utf-8?Q?=E2=80=98guix?= environment =?utf-8?Q?-C?= =?utf-8?Q?=E2=80=99?= containers lack /etc/hosts References: <87a6x4ka36.fsf@inria.fr> Date: Fri, 02 Oct 2020 23:29:57 +0200 In-Reply-To: <87a6x4ka36.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Fri, 02 Oct 2020 15:53:49 +0200") Message-ID: <87a6x4iaei.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43762-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > $ guix environment -C --ad-hoc coreutils -- cat /etc/hosts > cat: /etc/hosts: No such file or directory Fixed in 0f53c801b91919380a924b402d1ff822bb1dc6ea! Ludo'. From unknown Sat Jun 14 19:00:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 31 Oct 2020 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator