Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169796 - net.eth0 to start on startup even when removed via rc-update del
Summary: net.eth0 to start on startup even when removed via rc-update del
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-07 17:46 UTC by Tomas Cohen Arazi
Modified: 2007-03-07 17:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Cohen Arazi 2007-03-07 17:46:17 UTC
I have two net cards, recognized as eth0 and eth1. I don't use eth0 as it is an onboard NIC and I prefer the other one, a  3com.

I did 'rc-update del net.eth0 default' in order to stop it from starting when booting up my desktop, but it didn't stop until I removed net.eth0, which belongs to baselayout as 'qfile baselayout | grep net' says.

I think this is not a confortable behaviour and it could have an easy solution.  Perhaps it would be better for those scripts to appear at boot time or having a special flag in /etc/conf.d/net for selecting which card to start. 

Reproducible: Always

Steps to Reproduce:
1.have net.eth0 and net.eth1 in /etc/init.d and set to start at boot time
2.do rc-update del net.eth0 default
3.reboot

Actual Results:  
the system starts net.eth0 service

Expected Results:  
the system doesn't start net.eth0 service

~ # emerge --info
Portage 2.1.2.1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 AMD Sempron(TM) 2400+
Gentoo Base System version 1.12.9
Timestamp of tree: Wed, 07 Mar 2007 16:00:11 +0000
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.12
sys-devel/gcc-config: 1.3.15
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-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 /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo"
LANG="es_AR.ISO-8859-1"
LC_ALL="es_AR.ISO-8859-1"
LINGUAS="es-AR es-ES en es es_ES es_AR"
MAKEOPTS="-j1"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/portage/local/layman/nx /usr/portage/local/layman/xeffects /usr/local/overlays/tomas /usr/local/overlays/toolchain_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X Xaw3d a52 aac aalib acl acpi addbookmarks aim akode alias alsa amarok amazon amuled apache2 aqua_theme arts asf autoreplace avalon bash-completion berkdb big-tables bitmap-fonts blas boost bootsplash branding browserplugin bzip2 cairo calendar carbone_theme ccache cdb cddb cdparanoia cdr cgi chroot clamav clearcase cli colordiff connectionstatus contactnotes cracklib crypt css ctype cups curl cvs dbus directfb divx dri dts dv dvd dvdr dvdread effects emacs emboss emf emovix encode esd exif expat exscalibar fam fame fat fbcon fbdev ffmpeg fftw firefox flac flash foomaticdb fortran ftp gadu gd gdbm gecko-sdk geoip gif gimp gimpprint glgd glibc-omitfp glitz glut glx gmail gmedia gmp gnutls gphoto2 gpm graphviz groupwise gs gstreamer gtalk gtk2 hal haskell hfs highlight history hpn iconv icq id3 idn ieee1394 ilbc imagemagick imap imlib imlib2 inkjar innodb insecure-savers ipod iproute2 irc isdnlog j2ee jack java java5 javascript jce jfs jingle joystick jpeg jpeg2k junit kcal kde kdehiddenvisibility kdepim kerberos kexi kipi krb4 lame lapack latex lcms ldap libcaca libclamav libg++ libsamplerate libvisual lm_sensors logrotate lua lzo mad maildir maps matroska mhash midi mikmod mime mjpeg mmx mmxext mng mono motif mozcalendar mozdevelop mozilla moznopango mozsvg mozxmlterm mp3 mp4 mpeg mpeg2 mplayer mpm-worker msn msnextras mudflap musepack music musicbrainz mysql mythtv nas ncurses netbeans nls nowlistening nptl nptlonly nsplugin nspr nss ntfs nvidia nvtv nxclient objc objc++ offensive ofx ogg openal openexr opengl openssl ortp oss pam pascal pcntl pcre pdf pear perl pertty php pic plugin png posix postgres povray ppds pppd python qmail qt3 qt4 quicktime quotas rar rdesktop readline real realmedia reflection regex reiserfs remote risky rpc rtc ruby samba sametime scanner scp sdl sensord server servlet-2.4 session slang slp sms soap sockets sou sound sounds spamassassin speex spell spl sql sqlite sqlite3 srt sse sse-filters ssl statistics struts subp subtitles subversion suhosin svg svga svgz sysvipc t1lib taglib tcl tcltk tcpd tetex texteffect theora thesaurus threads tidy tiff tk tokenizer tools transcode translator truetype truetype-fonts type1 type1-fonts unicode usb userlocales v4l v4l2 vcd vcdimager vfat videos virus-scan visualization vlm vorbis vorbis-psy wavpack webpresence win32codecs winbind wma wma123 wmf wmp wxgtk1 wxwindows x264 x86 xanim xcomposite xft xine xml xml2 xmlreader xmlrpc xmlwriter xorg xosd xrandr xscreensaver xsl xslt xv xvid xvmc yahoo yaz yv12 zip zlib zvbi" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse vmmouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es-AR es-ES en es es_ES es_AR" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="vesa nv apm nvidia v4l vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-03-07 17:54:05 UTC
You need to look into /etc/conf.d/rc and read about coldplug and hotplug.