Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: openrc: use iproute2 for all network handling in linux
Date: Tue, 06 Dec 2011 20:09:05
Message-Id: 201112061507.52347.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] rfc: openrc: use iproute2 for all network handling in linux by "Chí-Thanh Christopher Nguyễn"
1 On Sunday 13 November 2011 13:50:25 Chí-Thanh Christopher Nguyễn wrote:
2 > Mike Frysinger schrieb:
3 > > On Sunday 13 November 2011 13:04:57 Chí-Thanh Christopher Nguyễn wrote:
4 > >> Mike Frysinger schrieb:
5 > >>> until we have replacement for all of its tools, it's always going to be
6 > >>> there.
7 > >>
8 > >> After net-tools is no longer needed for basic setups (which I understand
9 > >> will be still the case after the proposed changes), why should it remain
10 > >> in the system set?
11 > >
12 > > you snipped the following sentence where i explained why net-tools can't
13 > > be removed. iproute2 replaces *most* of net-tools, not *all*.
14 >
15 > And do we need *all* of net-tools for basic setups? You said that
16 > currently openrc uses the host and domain name tools, but iirc sysctl
17 > can set hostname/domainname too (note that I do not to say that using
18 > sysctl is preferable).
19
20 for Linux, we'll be transitioning the hostname init.d script to /etc/hostname
21 and having the rc binary reading that and calling sethostname() itself. i
22 think the init.d script will stick around for a while as `hostname` should be
23 a bit more portable than sethostname() ... at least, it'll be a safety net for
24 people to fallback onto.
25 -mike

Attachments

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