Gentoo Archives: gentoo-dev

From: Rich Freeman <rich0@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] rfc: /etc/hostname on gentoo
Date: Mon, 22 Aug 2016 18:29:42
Message-Id: CAGfcS_mouPBRUESSKB1dUuutHvqgp7Zo4ey2mqx3vsY9FXYVew@mail.gmail.com
In Reply to: Re: [gentoo-dev] rfc: /etc/hostname on gentoo by Sven Vermeulen
1 On Mon, Aug 22, 2016 at 1:51 PM, Sven Vermeulen <swift@g.o> wrote:
2 >
3 > Yes, wouldn't the Docker project be happy to take on a patch that uses
4 > gethostname() or so?
5 >
6
7 This might be another option: symlink to /proc/sys/kernel/hostname
8
9 I'm not sure if somebody can find a flaw in this. It appears to use
10 the UTS namespace hostname inside containers, which is what you'd
11 want.
12
13 --
14 Rich

Replies

Subject Author
Re: [gentoo-dev] rfc: /etc/hostname on gentoo Marc Schiffbauer <mschiff@g.o>