Gentoo Archives: gentoo-dev

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: /etc/hostname on gentoo
Date: Mon, 22 Aug 2016 17:52:15
Message-Id: d6df7f3a-0539-d0e0-2ac1-75156b33a5a8@gentoo.org
In Reply to: [gentoo-dev] rfc: /etc/hostname on gentoo by William Hubbs
1 On 08/22/2016 10:58 AM, 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
19 Secondarily I'd like /etc/hostname to be seen as a source of truth.
20 Having to write wrapper scripts to fix /etc/hostname issues can suck
21 (cloud-init and glean).
22
23 --
24 -- Matthew Thode (prometheanfire)

Attachments

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