net.lo symlinked to net.eth0 doesn't start the network (package sys-apps/baselayout-1.12.0_pre5). The message i get while running /etc/init.d/net.eth0 restart follows: bdc1 home # /etc/init.d/net.eth0 restart * Starting eth0 * Cannot default to dhcp as there is no dhcp module loaded * No configuration for eth0 [ !! ] bdc1 home # I assume my /etc/conf.d/net settings are correct, but include them for further investigations: # /etc/conf.d/net: # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $ iface_lo="127.0.0.1 broadcast 127.255.255.255 netmask 255.0.0.0" iface_eth0="10.59.146.29 broadcast 10.59.146.255 netmask 255.255.255.0" gateway="eth0/10.59.146.1" I can start the network by issuing the following commands instead running the script: #!/bin/bash /sbin/ifconfig eth0 10.59.146.29 netmask 255.255.255.0 up route add default gw 10.59.146.1 Module for network card is loaded. Reproducible: Always Steps to Reproduce: 1. emerge sys-apps/baselayout-1.12.0_pre5 (with the following flags: -bootstrap -build -static -unicode ) 2. perform etc-update procedure 3. issue the command: /etc/init.d/net.eth0 restart Actual Results: network isn't started correctly. The messages is as follows: bdc1 conf.d # /etc/init.d/net.eth0 restart * Caching service dependencies ... * Service 'metalog' already provided by 'logger'!; * Not adding service 'syslog-ng'... [ ok ] * Starting eth0 * Cannot default to dhcp as there is no dhcp module loaded * No configuration for eth0 [ !! ] bdc1 conf.d # Expected Results: The script should have found configuration located in /etc/conf.d/net and start the network. Additional information is that I repeated upgrade to sys-apps/baselayout-1.12.0_pre5 on all my 4 servers and the scripts doesnt' start the network on any of them. bdc1 conf.d # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.3, glibc-2.3.5-r1, 2.6.12.3ibm1 i686) ================================================================= System uname: 2.6.12.3ibm1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.0_pre5 dev-lang/python: 2.3.3-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.4.3-r4, 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en pl hu" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss encode fam foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sasl sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib linguas_en linguas_pl linguas_hu userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY bdc1 conf.d #
bdc1 conf.d # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.3, glibc-2.3.5-r1, 2.6.12.3ibm1 i686) ================================================================= System uname: 2.6.12.3ibm1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.0_pre5 dev-lang/python: 2.3.3-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.4.3-r4, 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en pl hu" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss encode fam foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sasl sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib linguas_en linguas_pl linguas_hu userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY bdc1 conf.d #
looks like your /etc/conf.d/net config is wrong please attach it to the bug