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:37:39
Message-Id: 4d83c46f-531e-8e1a-9b70-946a54217b5e@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 I'd like us to populate the file in some way (symlink to /run or
20 otherwise). Just keep in mind that the format is different than
21 /etc/conf.d/hostname when considering your options.
22
23 --
24 -- Matthew Thode (prometheanfire)

Attachments

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