Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72035 - net.eth0 script doesn't start correctly
Summary: net.eth0 script doesn't start correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-22 00:17 UTC by Laurento Frittella (mrfree)
Modified: 2004-11-23 03:50 UTC (History)
0 users

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 Laurento Frittella (mrfree) 2004-11-22 00:17:32 UTC
The /etc/init.d/net.eth0 script doesn't start correctly anymore :(

In practice during runlevel service start phase, the net.eth0 doesn't apper; but rc-status reports that the [started] status!!!
If I want to start my network correctly I need to restart net.eth0 manually after each boot.

I've tryed to move net.eth0 script from default to boot and viceversa but nothing has changed.

I'm using sys-apps/baselayout-1.9.4-r6

Reproducible: Always
Steps to Reproduce:
1. simply switch on the PC ;)
2.
3.




Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.90GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -Os -pipe -fforce-addr -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -pipe -fforce-addr -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/
http://ftp.linux.ee/pub/gentoo/distfiles/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb bitmap-fonts crypt cups divx4linux dvd dvdread
encode esd f77 fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal
imagemagick imlib java jikes jpeg junit libg++ libwww mad mikmod mmx mpeg
ncurses network nls nptl offensive oggvorbis opengl oss pam pdflib perl png pnp
ppds python quicktime readline real rtc samba sdl slang spell sse ssl tcpd tetex
tiff truetype unicode v4l2 x86 xml2 xprint xv xvid zlib"
Comment 1 Roy Marples (RETIRED) gentoo-dev 2004-11-22 17:54:27 UTC
Sounds like coldplug is starting the network script in the background for you

Or you using coldplug or an old version of hotplug?
Comment 2 Laurento Frittella (mrfree) 2004-11-22 23:43:32 UTC
I'm using coldplug.

In attiction... for /etc/init.d/splash the same thing happens :(
Comment 3 Roy Marples (RETIRED) gentoo-dev 2004-11-23 00:52:57 UTC
Well, coldplug is supposed to do that.

Coldplug is supposed to load the relevant kernel module for the hardware when the system boots and then take an appropriate action. In the case of a network module, starting the network script.

I've had a quick look over /etc/init.d/splash and you won't see any output if you don't have framebuffer support in your kernel.
Comment 4 Laurento Frittella (mrfree) 2004-11-23 03:16:02 UTC
Ok... but If I want to startup network service into default runlevel (coldplug starts it into boot runlevel) I can simply rename/delete /etc/hotplug/net.agent? Does exist some other elegant solution? ;)

For the splash script... splash work only on the first console after boot, but if I restart the service /etc/init.d/splash restart all works well (splash appears on the other console too)
Comment 5 Laurento Frittella (mrfree) 2004-11-23 03:48:59 UTC
The problem is that I admin my network profile using a little script based on quickswitch, to solve my problem I have added

depend (){
   before coldplug
}

Into my personal script and I've added it on my boot runlevel.

Thanks guys for your help ;)


PS: The splash script is another story... It starts correclty, nothing about coldplug or baselayout :)
Comment 6 Laurento Frittella (mrfree) 2004-11-23 03:50:26 UTC
I change the state of bug to fixed...