From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4BAC9138330 for ; Mon, 22 Aug 2016 22:10:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B118A21C21F; Mon, 22 Aug 2016 22:09:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B853C21C09D for ; Mon, 22 Aug 2016 22:09:52 +0000 (UTC) Received: from localhost (unknown [100.42.103.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: williamh) by smtp.gentoo.org (Postfix) with ESMTPSA id 9A1D933FD3F for ; Mon, 22 Aug 2016 22:09:51 +0000 (UTC) Date: Mon, 22 Aug 2016 17:09:25 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: /etc/hostname on gentoo Message-ID: <20160822220925.GB18116@whubbs1.gaikai.biz> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20160822155808.GA16219@whubbs1.gaikai.biz> <1471894124.32381.0.camel@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0ntfKIWw70PvrIHh" Content-Disposition: inline In-Reply-To: <1471894124.32381.0.camel@gentoo.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: 1435c70b-5025-4c71-975b-89d01ee1ee1e X-Archives-Hash: 94fd9c0033b995a6381bab58464f0b64 --0ntfKIWw70PvrIHh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 22, 2016 at 09:28:44PM +0200, Hans de Graaff wrote: > On Mon, 2016-08-22 at 10:58 -0500, William Hubbs wrote: > > All, > >=20 > > it looks like app-emulation/docker expects /etc/hostname to exist. >=20 > Is there a bug for this? docker seems to work fine for me on a system > without this file present. Ok, now for the clarification. Someone here at the office was wanting a cross-platform way to find out the hostname of the host the container is running on inside the container. We made another suggestion for that, so forget about the docker angle on this for now. But, /etc/hostname is a multi-distro standard for where the hostname is located, so I would like to make openrc prefer it over the setting in /etc/conf.d/hostname if it exists.A I suppose whether we populate it by default might be a separate question. William --0ntfKIWw70PvrIHh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAle7eBEACgkQblQW9DDEZTiobwCgm3Nmtj+rsLsLl0WGzQWzT6H5 ALcAoK9B+TqnmokfhPegQEMsgPhim9qi =P8Rt -----END PGP SIGNATURE----- --0ntfKIWw70PvrIHh--