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 470151381F1 for ; Tue, 23 Aug 2016 19:59:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81FBEE0B78; Tue, 23 Aug 2016 19:59:26 +0000 (UTC) Received: from mx10.schiffbauer.net (mx10.schiffbauer.net [188.40.110.137]) (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 80943E095B for ; Tue, 23 Aug 2016 19:59:25 +0000 (UTC) Received: from [81.92.23.58] (port=47574 helo=localhost) by mx10.schiffbauer.net with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1bcHqr-0001wv-Mu for gentoo-dev@lists.gentoo.org; Tue, 23 Aug 2016 21:59:23 +0200 Date: Tue, 23 Aug 2016 21:59:07 +0200 From: Marc Schiffbauer To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: /etc/hostname on gentoo Message-ID: <20160823195907.uceyilcpajzy56m6@schiffbauer.net> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20160822155808.GA16219@whubbs1.gaikai.biz> <5b7dde93-ee44-bf3e-beff-93c220d987a3@gentoo.org> <20160822175102.GB15609@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-sha512; protocol="application/pgp-signature"; boundary="dms44m4ifx6svjyl" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.2 (2016-06-11) X-Virus-Scanned: by ClamAV (http://www.clamav.org) X-Spam-Score: -1.0 X-Spam-Level: - X-Archives-Salt: d9be19cf-f8a5-4f7b-8729-d0afe9091465 X-Archives-Hash: 1b3905f6148be7440bdd6a781b437a28 --dms44m4ifx6svjyl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Rich Freeman schrieb am 22.08.16 um 20:29 Uhr: > On Mon, Aug 22, 2016 at 1:51 PM, Sven Vermeulen wrote: > > > > Yes, wouldn't the Docker project be happy to take on a patch that uses > > gethostname() or so? > > >=20 > This might be another option: symlink to /proc/sys/kernel/hostname I think on boot the hostname is actually set from the contents of that=20 file. With this approach that cat would bite itself into its tail ;-) -Marc --=20 0xCA3E7BF67F979BE5 - F7FB 78F7 7CC3 79F6 DF07 6E9E CA3E 7BF6 7F97 9BE5 --dms44m4ifx6svjyl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJXvKsHAAoJEJ1Z0/aIkeRfOFgQALUwsEm9AXC3BuLJCkx28aM8 RsqVCRjbAbfmSbN3rb7iKg3HkKl6O9b19Xh1MUvr97+HNQoKYkDu3TXH09vdQunS Mq+o2XTCZHFD6yjY6kS6J5d8/2bIDJnQHgvR/MJafn+nLEt/NsJPLR6e2p3v5UJO N4pyMzS4ou9GgxHLvuguA0goRg+10AJdBFyI/ndSLcQCXZc7gcxSS7kFsFtLbid2 rsp1eOYaQ4vyolPY0+5ymx4ibnA9Ij2lxlSUlXcKiMatc63YefikNRo++4Nj6Rho JmZG/X/ygksw6eN6x245Ri58y4fXzOa8aHogws5PN3Yto+vXhvKVl8gb4wKMknzh LPggkZaLfocAwC76VlZnWAVoBWEBI2KreP1zBZEo7fNOrBz/qk7oSt2OwBgJzufA FVEt3L7pfcu0V6OKy3qu6mwLI3GTojQZ3bP0WzzJaWagf/Yg3Xdp074DREoyj9CD IBERWQ3kn0vJ4XjaZ0hCVbOvrLf6rE0Q9oMdi3mlaPScYSLQViaGrYleQDJJonAK +l1KtuMtQVE+HhYUm4StRwQ7/i5JOo9MBX1Acz66Gt8fGeCJygh68IrD7KuJwFwV ZAQWn5Udyuj8+qZ3Gz99UC4alG8v8Yyftwv8VD6CRyb0QS6XISokEvrCHvRkkYhs QH6M0q515PPF3A3bBt55 =NGip -----END PGP SIGNATURE----- --dms44m4ifx6svjyl--