Gentoo Archives: gentoo-dev

From: Jakub Moc <jakub@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] coldplug and hotplug
Date: Wed, 03 May 2006 09:40:32
Message-Id: 445879BD.1000005@gentoo.org
In Reply to: [gentoo-dev] coldplug and hotplug by Roy Marples
1 Roy Marples wrote:
2 > RC_HOTPLUG="yes|no"
3 > RC_COLDPLUG="yes|no"
4 > RC_PLUG_SERVICES="net.wlan !net.*"
5 >
6 > or
7 >
8 > RC_HOTPLUG="yes|no|net.wlan !net.*"
9 > RC_COLDPLUG="yes|no|net.wlan !net.*"
10
11 I'm afraid I don't get the exact difference :P, but what about honoring
12 both yes|no and list of services.
13
14 Anyway, what we really need is ability to turn off that coldplug thing
15 *completely* on *udev* level and restore some sanity. I really don't
16 need to have my TV card coldplugged at the point when /dev is being
17 populated by devices (e.g., Bug 130766 or Bug 128962).
18
19 Also I'd like to note that coldplugging network devices in such way may
20 be a security risk as well, as firewall gets started much later than net
21 gets started. There's Bug 119613 about this. There was also Bug 78495
22 about this, got solved on hotplug level, but the latest udev versions
23 moved the problem to coldplug level instead (even worse IMHO).
24
25 Last point - there's also that hotplug_$iface="no" thing in
26 /etc/conf.d/net - wouldn't it be better to all keep network-related
27 settings in one place? I.e., adding coldplug_$iface="yes|no" there
28 instead, and use RC_{HOTPLUG,COLDPLUG} in /etc/conf.d/rc for other
29 services only?
30
31
32 --
33 Best regards,
34
35 Jakub Moc
36 mailto:jakub@g.o
37 GPG signature:
38 http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0xCEBA3D9E
39 Primary key fingerprint: D2D7 933C 9BA1 C95B 2C95 B30F 8717 D5FD CEBA 3D9E
40
41 ... still no signature ;)

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] coldplug and hotplug Roy Marples <uberlord@g.o>