Gentoo Archives: gentoo-server

From: blade- <blade-@××××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Re: What provides net (e.g., /etc/init.d/net.eth0)?
Date: Mon, 08 Mar 2004 06:40:37
Message-Id: 404C155F.1000102@crytec.net
In Reply to: Re: [gentoo-server] Re: What provides net (e.g., /etc/init.d/net.eth0)? by Collin Starkweather
1 Collin Starkweather wrote:
2
3 >On Sun, 2004-03-07 at 20:42, Jerry McBride wrote:
4 >
5 >
6 >>Collin Starkweather wrote:
7 >>
8 >>
9 >>>I put a 'provide net' in /etc/init.d/net.ath0 but when I start it up,
10 >>>other things that 'need net' such as sshd still don't recognize it as
11 >>>something that provides the virtual 'net' dependency and try to start
12 >>>eth0.
13 >>>
14 >>>
15 >>Those scripts in /etc/init.d are actual startup scripts that are called by
16 >>two methods... First there's the Pain-In-The-Ass internal dependencies as
17 >>you seem to be familiar with and then there's the runlevels... You can list
18 >>the runlevels by: rc-update -s. Unless you've chaned it, net.eth0 is in the
19 >>default runlevel...
20 >>
21 >>
22 >
23 >Thanks to you and Matt for your replies. It sucks that it's hardcoded.
24 >I set net.ath0 to default and took net.eth0 out, but when ntpd or sshd
25 >are started they try to start their dependencies as well.
26 >
27 >Hence, init tries to start eth0 at the default runlevel whether I want
28 >it to or not :-(
29 >
30 >-me
31 >
32 >
33 >
34 This is a big guess but maybe you could try moving net.eth0 to
35 net.eth0.bak then sim linking net.ath0 to net.eth0

Replies

Subject Author
Re: [gentoo-server] Re: What provides net (e.g., /etc/init.d/net.eth0)? Fred Gates <dabozz@××××××××××××.org>