Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70826 - executing /etc/init.d/net.eth0 and net.lo results in "dhcpcd modified functions: dhcpcd_get_vars"
Summary: executing /etc/init.d/net.eth0 and net.lo results in "dhcpcd modified functio...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-11 11:02 UTC by Sascha Wintz
Modified: 2004-11-12 13:12 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 Sascha Wintz 2004-11-11 11:03:00 UTC
Hi,
I'm using baselayout-1.11.6-r1 and I can't start net.eth0 nor net.lo

Alderan ~ # /etc/init.d/net.eth0 start
 * Starting eth0
 *       dhcpcd modified functions: dhcpcd_get_vars
Alderan ~ # /etc/init.d/net.lo restart
 * WARNING:  you are stopping a boot service.
 * Stopping lo
 *       dhcpcd modified functions: dhcpcd_get_vars

There is nothing special about my system, I didn't use any patches that could interfere with the net scripts.

Cheers
Sascha


Reproducible: Always
Steps to Reproduce:
1./etc/init.d/net.eth0 start
2.
3.

Actual Results:  
 * Starting eth0
 *       dhcpcd modified functions: dhcpcd_get_vars


Portage 2.0.51-r3 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r3 i686)
=================================================================
System uname: 2.6.9-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.6
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4m -O2 -pipe -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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.server4you.net/ http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/bmg-gnome-current
/usr/local/portage/bmg-main /usr/local/portage/sascha"
SYNC="rsync://gentoo.server4you.net/gentoo-portage"
USE="X aalib acpi acpi4linux alsa anthy avi berkdb bidi bitmap-fonts bootsplash
canna cdparanoia cdr cjk composite crypt cups dga dhcp divx divx4linux dmx dri
dvd dvdr dvdread encode esd evo evolution f77 faad fbcon flac foomaticdb fortran
gdbm gif gimpprint glut gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2
gtkhtml howl imlib insecure-drivers java joystick jpeg lcd libg++ libgda libwww
live mad matroska mikmod mmx mmx2 mng mono mozilla moznocompose moznoirc
moznomail mozsvg mpeg nas ncurses net network nls nntp no_wxgtk1 noplugin nptl
nvidia objc offensive oggvorbis opengl pam pcmcia pdflib perl pic png pnp python
qemu-fast quicktime readline real rtc samba sasl sdl silc skk slang speex spell
sse sse2 ssl tcpd tiff truetype unicode usb v4l v4l2 vim-with-x x86 xine
xinerama xml xml2 xmms xprint xv xvid zlib"
Comment 1 Sascha Wintz 2004-11-11 11:20:36 UTC
I forgot to include my net conf, and by reviewing it, I found the problem

ifconfig_eth1=( "dhcp" )
ifconfig_eth0=( "69.64.44.245 broadcast 69.64.44.255 netmask 255.255.255.0" )
routes_eth0=( "default gw 69.64.44.1" )

source /etc/init.d/wireless.sh

preup() {
        wireless_up ${1}
        return $?
}

predown() {
        wireless_down ${1}
        return $?
}

I forgot that I have wireless-config-0.6.2 installed. it seems that it doesn't work anymore with the recent baselayout.

After removing preup and predown, the net.eh0 and net.lo are working again.

To install wireless-config I followed this howto:
http://forums.gentoo.org/viewtopic.php?t=122435
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-11-12 13:12:04 UTC
baselayout-1.11.x has wireless stuff integrated.  See /etc/conf.d/wireless.example