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. |
9 |
|
10 |
Ok, now for the clarification. |
11 |
|
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. |
16 |
|
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 |
20 |
|
21 |
I suppose whether we populate it by default might be a separate |
22 |
question. |
23 |
|
24 |
William |