Gentoo Archives: gentoo-dev

From: "Sven Köhler" <skoehler@×××.de>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: why is net.eth0 started, even though it's not in any runlevel?
Date: Mon, 23 Oct 2006 02:41:02
Message-Id: ehh9tc$d2l$1@sea.gmane.org
In Reply to: Re: [gentoo-dev] why is net.eth0 started, even though it's not in any runlevel? by Mike Frysinger
1 >> when i load the module for my network-card, then baselayout thinks, that
2 >> it's a good idea to a) start net.eth0 even though it's not in any
3 >> runlevel and b) start net.eth0 in runlevel boot.
4 >
5 > yes, the default behavior is to do hot/cold plugging
6
7 That is not a problem. The problem is, that the admin loses control over
8 the runlevels.
9
10 > if you dont like that, you're free to:
11 >> I think, you will actually tell me to use "RC_PLUG_SERVICES" in
12 >> /etc/conf.d/rc to disable hotplug triggered started of net.eth0.
13 >
14 >> But does it really solve everything?
15 >
16 > i disable hot/cold plugging completely myself
17
18 i see, another sollution could be:
19
20 instead of having tweo states per service and runlevel (enabled,
21 disabled), gentoo could introduce a tristate-logic:
22
23 services can be disabled, enabled or they can be set to auto.
24
25 These states have the following meaning:
26 disabled: the service does not start and will not be started by any
27 hot/coldplugging
28 enabled: the service is started on boot (and maybe not by hot/cludplugging)
29 auto: the service started by hot/coldplugging things

Attachments

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

Replies