Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157735

Summary: net devices shouldn't go up in bootup automatically (without being added to rc scripts)
Product: Gentoo Linux Reporter: Matija "hook" Šuklje <matija>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matija "hook" Šuklje 2006-12-10 07:14:14 UTC
reproducable: always

steps of reproduction:
- have kernel compiled with network device drivers either compiled in or as modules that are automatically loaded
- *don't* bother adding /etc/init.d/net.ethX scripts to the rc levels with rc-update
- boot system

results:
- system starts *all* network devices and tries to connect to it, which is very annoying if you use a laptop with more then one device (e.g. ethernet and wireless)

expected results:
- system should (try to) connect only to devices it was asked to do so in the rc scripts (i.e. root added with rc-update to a runlevel)!

reason:
- the user/root should be free to decide which network devices he wants to use, when, and in which runlevel
- the status quo makes as much sense as automounting everything the box is connected to and automounting has to be explicitly chosen by the user/root to be enabled
- status quo demands of the user that if (s)he wants a device not to start, to have it compiled as a module and not load it, which in turn can cause random numbering (according to which device the user/root later modprobes first) of the network devices which makes setting the config files a lot more difficult

emerge --info:
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Turion(tm) 64 Mobile Technology ML-30
Gentoo Base System version 1.12.6
Last Sync: Sun, 10 Dec 2006 10:30:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -msse3 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="sl_SI.utf8"
LINGUAS="sl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 64bit X a52 aac aalib acpi addbookmarks aim alias allegro alsa amr asf background bash-completion berkdb bidi bitmap-fonts blender-game bzip2 cairo cardbus ccache cddb cdparanoia cdr cjk colordiff connectionstatus contactnotes cracklib crypt css cups cvs dar64 dbus dhcp dio divx dri dv dvb dvd dvdr dvdread effects elibc_glibc emul-linux-x86 encode exif fam fat ffmpeg firefox flac foomaticdb fortran gadu gcc64 gdbm gif gimp gimpprint glibc-omitfp glitz gphoto2 gpm gps gs gtk2 gzip hal highlight history iconv icq ieee1394 imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 irda jabber javascript jikes jingle jpeg kde kernel_linux kexi kipi libcaca libg++ linguas_sl live mad matroska mikmod mime mmap mng mp3 mpeg msn musepack music musicbrainz ncurses nls noamazon nowin nowlistening nptl nptlonly nsplugin ode offensive ogg on-the-fly-crypt openal opengl openntpd openssh oscar p2kmoto pam pcmcia pcre pdf perl png ppds print python qt3 qt4 quicktime readline remix rtc scanner sdl sdlaudio slang sounds speex spell sqlite sqlite3 srt ssl statistics stencil-buffer stream subp subtitles subversion svg tcpd texteffect theora threads tidy tiff timidity translator truetype truetype-fonts type1-fonts ucs2 udev unicode usb userland_GNU userlocales v4l vcd video_cards_fglrx video_cards_radeon video_cards_vesa videos visualization voice vorbis webpresence wifi xine xml xorg xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-10 07:16:50 UTC
/etc/conf.d/rc - RC_COLDPLUG, RC_PLUG_SERVICES


*** This bug has been marked as a duplicate of 119989 ***
Comment 2 Matija "hook" Šuklje 2006-12-10 07:39:06 UTC
Thank you for the quick reply and solution! I didn't find that bug while searching. Sorry to cost you time.