Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo development <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] rfc: /etc/hostname on gentoo
Date: Sun, 28 Aug 2016 18:15:50
Message-Id: 20160828181530.GA29657@linux1.gaikai.biz
In Reply to: [gentoo-dev] rfc: /etc/hostname on gentoo by William Hubbs
1 Ok all,
2
3 here is what openrc-0.22 is going to do in terms of setting the host
4 name.
5
6 If /etc/hostname exists, the first word of that file will be used as the
7 host name.
8 Otherwise, if the value is set in /etc/conf.d/hostname it will be used.
9 Otherwise, OpenRC will not touch the hostname.
10
11 One advantage of this, on Linux, is that you can set your host name in
12 the kernel and this setting will be respected.
13
14 Also, this means the script by default can run in containers if they
15 allow overriding the hostname inside the container.
16
17 William

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] rfc: /etc/hostname on gentoo Daniel Campbell <zlg@g.o>