Gentoo Archives: gentoo-dev

From: "M. J. Everitt" <m.j.everitt@×××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: /etc/hostname on gentoo
Date: Mon, 22 Aug 2016 16:24:29
Message-Id: 57BB2439.4050408@iee.org
In Reply to: [gentoo-dev] rfc: /etc/hostname on gentoo by William Hubbs
1 On 22/08/16 16:58, William Hubbs wrote:
2 > All,
3 >
4 > it looks like app-emulation/docker expects /etc/hostname to exist.
5 >
6 > On Gentoo, this file does not exist, so I'm wondering how we can make it
7 > exist?
8 >
9 > I know in OpenRC I can read it and use the value there as the hostname
10 > instead of /etc/conf.d/hostname if it exists,but I'm not sure whether
11 > OpenRC should populate /etc/hostname if it does not exist or whether
12 > something else should do that.
13 >
14 > Thoughts?
15 >
16 > William
17 >
18 Sym-link it perhaps? Making another file could make synchronisation, etc
19 a headache....

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] rfc: /etc/hostname on gentoo Rich Freeman <rich0@g.o>