Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: /etc/hostname on gentoo
Date: Mon, 22 Aug 2016 22:10:03
In Reply to: Re: [gentoo-dev] rfc: /etc/hostname on gentoo by Hans de Graaff
1 On Mon, Aug 22, 2016 at 09:28:44PM +0200, Hans de Graaff wrote:
2 > On Mon, 2016-08-22 at 10:58 -0500, William Hubbs wrote:
3 > > All,
4 > >
5 > > it looks like app-emulation/docker expects /etc/hostname to exist.
6 >
7 > Is there a bug for this? docker seems to work fine for me on a system
8 > without this file present.
10 Ok, now for the clarification.
12 Someone here at the office was wanting a cross-platform way to find out
13 the hostname of the host the container is running on inside the
14 container. We made another suggestion for that, so forget about the
15 docker angle on this for now.
17 But, /etc/hostname is a multi-distro standard for where the hostname is
18 located, so I would like to make openrc prefer it over the setting in
19 /etc/conf.d/hostname if it exists.A
21 I suppose whether we populate it by default might be a separate
22 question.
24 William


File name MIME type
signature.asc application/pgp-signature


Subject Author
Re: [gentoo-dev] rfc: /etc/hostname on gentoo Daniel Campbell <zlg@g.o>
Re: [gentoo-dev] rfc: /etc/hostname on gentoo Michael Orlitzky <mjo@g.o>