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 D0AD7138330 for ; Wed, 24 Aug 2016 10:46:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91DB321C08E; Wed, 24 Aug 2016 10:46:43 +0000 (UTC) Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) (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 6E9AA21C07C for ; Wed, 24 Aug 2016 10:46:42 +0000 (UTC) Received: by mail-qk0-f195.google.com with SMTP id r128so889632qkc.1 for ; Wed, 24 Aug 2016 03:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=vi1Gunoo68jI7wJ/lCpO/AtwE9rEKl34nuRf08kIyyU=; b=XYVNp1RlV4eNR24wQBk6RQtMYD8uPprAplGL04/7ZJjnbm7IjuMluxhovr5jc8O1hy QXSD3XPToFVmpwZcyRD6/FKOaLCSzj7yDcAp6bxryNONzePy4f+BbKfLcehn4ZKZejpp KNvdRD0ON57Ja/EyBKSc8yyp8kc/W1JGkYv2UtG2qLPRgiM2jeNOLG4NitcoxN5MAe5y N7SbhDmKJKNi6Wlm9IpIr13FK81hnD4IuHvUnEX/Vcrg6pSjAt3z1kfZ2EOY7Gb6lEBj gSzRNOD+VlKuxd66rhFLoQfeUdllCkHXKsLvMSOpgm2B/6xFP7a2JYv0nHX1+wuq6ipq mE0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=vi1Gunoo68jI7wJ/lCpO/AtwE9rEKl34nuRf08kIyyU=; b=fC3fG+G/MgXuLC73naPgyCvUiB01ualnh8pUXNilTq6WLsf4xGEVwNnp8rZ5bNFWSw B+i0SCi/LP5WpC255PPJxQ/3EtDrGcQFIiHHBYcE1/TimIR9bk9pEbFImMHv9d+B9hQo zhF2KKbXArEBXUNIVNGaXcn93A4ZOKo50K/CEQKh/nKsczYfh3Tx9lpt/GDp20IXfLxo YUR+o48w5f3AxBz4/yOfBC7wR4DiesRrMu9XVUSv4+woT+t4NeRMDRdvxs4IH0S4OlmD kxa1eBv4L+0zzPqs41em/MLuip2scC2EIcUKNmROoubvppvySwJbN+1YtFHfhEz7N8zE Ctgw== X-Gm-Message-State: AE9vXwMGoLz4ae/LIbZhiB+BzrDcY3Rx6zrshUyan9jm+9Ksf+958s7qULJEpfejv+MiJhl0u6hnlGQm5qp21Q== X-Received: by 10.55.26.154 with SMTP id l26mr2362429qkh.224.1472035601450; Wed, 24 Aug 2016 03:46:41 -0700 (PDT) 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 Sender: freemanrich@gmail.com Received: by 10.140.40.36 with HTTP; Wed, 24 Aug 2016 03:46:40 -0700 (PDT) In-Reply-To: References: <20160822155808.GA16219@whubbs1.gaikai.biz> <1471894124.32381.0.camel@gentoo.org> <20160822220925.GB18116@whubbs1.gaikai.biz> <20160823195746.GA21460@whubbs1.gaikai.biz> <20160823212218.GA21784@whubbs1.gaikai.biz> From: Rich Freeman Date: Wed, 24 Aug 2016 06:46:40 -0400 X-Google-Sender-Auth: IHoA3w-IENS9lR8I5P27Fq7TF60 Message-ID: Subject: Re: [gentoo-dev] rfc: /etc/hostname on gentoo To: gentoo-dev Cc: William Hubbs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: aac6a433-13a5-4018-ad6b-8aaab5cf65a2 X-Archives-Hash: 3ecdcea2f63f6c26cd3df7adc2537c6f On Wed, Aug 24, 2016 at 2:52 AM, Christian Kniep wrote: > Hey there, > > as for the /etc/hostname when sharing /etc/ as a volume=E2=80=A6 This ain= =E2=80=99t a > problem as /etc/hostname is taken care of by the docker-engine (in previo= us > versions they used it to discover other hosts). > Docker isn't the only container manager out there... Hopefully they only populate it if it already exists. But, yes, you can bind mount an individual file. In any case, my concern isn't so much with using /etc/hostname to SET the hostname. My concern is more with having other processes read /etc/hostname to determine the hostname. It just isn't the right way to do things. Maybe it should just be installed chmod 600 by default? :) --=20 Rich