Gentoo Archives: gentoo-dev

From: Marc Schiffbauer <mschiff@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: /etc/hostname on gentoo
Date: Tue, 23 Aug 2016 19:59:32
Message-Id: 20160823195907.uceyilcpajzy56m6@schiffbauer.net
In Reply to: Re: [gentoo-dev] rfc: /etc/hostname on gentoo by Rich Freeman
1 * Rich Freeman schrieb am 22.08.16 um 20:29 Uhr:
2 > On Mon, Aug 22, 2016 at 1:51 PM, Sven Vermeulen <swift@g.o> wrote:
3 > >
4 > > Yes, wouldn't the Docker project be happy to take on a patch that uses
5 > > gethostname() or so?
6 > >
7 >
8 > This might be another option: symlink to /proc/sys/kernel/hostname
9
10 I think on boot the hostname is actually set from the contents of that
11 file. With this approach that cat would bite itself into its tail ;-)
12
13 -Marc
14
15 --
16 0xCA3E7BF67F979BE5 - F7FB 78F7 7CC3 79F6 DF07
17 6E9E CA3E 7BF6 7F97 9BE5

Attachments

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