Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68918 - new dhcpcd handling of baselayout-1.11.3 isn't dependable
Summary: new dhcpcd handling of baselayout-1.11.3 isn't dependable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 66472
  Show dependency tree
 
Reported: 2004-10-25 19:20 UTC by Harris Landgarten
Modified: 2004-12-04 13:04 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 Harris Landgarten 2004-10-25 19:20:32 UTC
I am having a problem with DHCP on eth0. It is not working from /etc/init.d/net.eth0 start after boot but after signon I can run # dhcpcp eth0 and get an immediate IP etc. The /etc/conf.d is

modules=( "iproute2" )
ipaddr_eth0=( "dhcp" )
dhcpcd_eth0="-h custom2 -t 10"

/etc/init.d/net.eth0 restart stops dependent services and again fails to get an IP. # dhcpcd -t 10 -h custom2 eth0 followed by /etc/init.d/net.eth0 start shows the service as starting properly using the aready received network setting but fails to restart any of the dependent services it stopped while stopping.

On my notebook, with nothing in /etc/conf.f/net, dhcpcd sometime works when called from the init script and sometimes times out. It too always works instantly when dhcpcd is called from the command line.

Reproducible: Always
Steps to Reproduce:
1.reboot
2.dhcpcd is called but times out
3.

Actual Results:  
eth0 does not come up


Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.3
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
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-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-O3 -march=pentium4 -fprefetch-loop-arrays -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks maketest sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.eliteitminds.com http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt
cups dba directfb dvd eds encode esd f77 foomaticdb gd gdbm gif gnome gpm
gstreamer gtk gtk2 gtkhtml guile hal imlib innodb java jpeg kde ldap libg++
libwww mad mikmod milter mmx motif mozilla mpeg mysql ncurses nls nptl odbc
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sasl
sdl slang spell sse ssl svga tcltk tcpd truetype x86 xml2 xmms xprint xv zlib"
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-10-25 19:28:20 UTC
I just released 1.11.4 with some fixes related to module loading...  I know it doesn't sound related, but it actually might be.  If you could give it a try I'd appreciate it.
Comment 2 Harris Landgarten 2004-10-26 03:44:40 UTC
I just tried 1.11.4 on my Workstation. /etc/init.d/net.etho restart is now getting an IP but it takes aproximately 20-30 secs from the time it says it is running dhcpcd. There also seems to be something wrong in the patch to /etc/conf.d/rc near the top. The header area was messed up after accepting the new version in dispatch-conf.
Comment 3 Roy Marples (RETIRED) gentoo-dev 2004-12-03 04:41:50 UTC
Fixed in CVS - will be in baselayout-1.11.7
Comment 4 Roy Marples (RETIRED) gentoo-dev 2004-12-04 13:04:46 UTC
Fixed in baselayout-1.11.7-r2