Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17809 - Update to baselayout 1.8.6.2 causes eth0 to start before calling net.eth0 script
Summary: Update to baselayout 1.8.6.2 causes eth0 to start before calling net.eth0 sc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jay Pfeifer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-19 03:54 UTC by Andrzej
Modified: 2004-03-18 18: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 Andrzej 2003-03-19 03:54:27 UTC
I Updated to baselayout 1.8.6.2  and that caused that now my network card
starts without net.eth0 script in any runlevel.
I noticed that after upgrading to baselyout 1.8.6.2 from 1.8.5.x I had two
instances of dhcpcd running and while booting my net.eth0 script complained that
there was already running processes (don't exactly remember what was that it was
saying).
Just to check what's going on i removed with "rc-update del net.eth0 default"
net.eth0 and my network was still up after booting up and i still dont know what
is causing that. 
I still have that problem with baselayout-1.8.6.4.

#emerge info
 Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Pentium III (Katmai)
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ "
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/mnt/backup/distfiles"
PKGDIR="/mnt/backup/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses
nls pdflib png xml2 xmms xv zlib gdbm berkdb slang readline arts tetex aalib
svga tcltk java X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis
gtk qt motif opengl truetype quicktime spell voodoo3 3dfx lcms fbcon cdr dga dvd
directfb ggi oss sse menu tiff -gnome -alsa -3dnow"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
#ls /etc/runlevels/*
/etc/runlevels/boot:
bootmisc  checkfs  checkroot  clock  consolefont  hostname  keymaps  localmount
 modules  net.lo  rmnologin  serial  urandom

/etc/runlevels/default:
cupsd  fam  iptables  local  metalog  netmount  ntpd  postfix  vcron

/etc/runlevels/nonetwork:
local

/etc/runlevels/single:

#cat /etc/conf.d/net

iface_eth0="dhcp"
dhcpcd_eth0="-Y -N"
all other stuff is commented out in that file.

#ls /etc/conf.d
crypto-loop
gpm
iptables
lisa
local.start
local.stop
metalog
net
net.ppp0
ntpd
ntpd.old
oidentd
rc
rc.old
reslisa
rsyncd
usb
xfs
xinetd
zope-2_6_0

thanks :)
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-21 02:12:51 UTC
If you have 'hotplug' installed, this will happen ...
Comment 2 Andrzej 2003-03-21 12:06:54 UTC
Hi
That really seems to be caused by hotplug.
I unmerged hotplug and my eth0 wasn't up after boot.
What can I do about besides unmerging hotplug or not using net.eth0 script ? :)
Thank You
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-09-09 15:09:03 UTC
add

after net.eth0 into hotplug init script
before hotplug into net.eth0 init script
Comment 4 Jay Pfeifer (RETIRED) gentoo-dev 2004-03-18 18:54:45 UTC
looks like Martin gave the answer here. Closing.