Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149732 - dhcpcd hangs boot/init script if debug flag is used
Summary: dhcpcd hangs boot/init script if debug flag is used
Status: RESOLVED DUPLICATE of bug 123363
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2006-10-01 08:23 UTC by Casey Allen Shobe
Modified: 2006-10-01 11:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Casey Allen Shobe 2006-10-01 08:23:09 UTC
If dhcpcd is compiled with USE=debug, doing /etc/init.d/net.blah start shows a lot more output but hangs indefinitely.  Ouch.

If it's in your default runlevel (as it is for most people), it hangs forever AND you can't ctrl+c it, so the only solution seems to be to recover using a livecd and chrooting to disable the init script.  Double ouch.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-10-01 08:41:45 UTC
Which ebuild exactly? `emerge --info` output, please.
Comment 2 Casey Allen Shobe 2006-10-01 08:52:17 UTC
$ emerge --info && emerge -pv dhcpcd
Portage 2.1.2_pre2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r11-seaserv-i686 i686)
System uname: 2.6.16-hardened-r11-seaserv-i686 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 30 Sep 2006 06:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
CFLAGS="-Os -march=i686 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=i686 -pipe -fomit-frame-pointer"
FEATURES="autoconfig distlocks metadata-transfer noinfo nostrip parallel-fetch sandbox sfperms strict suidctl"
INSTALL_MASK="/etc/apache2 /etc/crontab /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.weekly /etc/cron.monthly /etc/exports /etc/fstab /etc/ /etc/man.conf /etc/skel /etc/profile /etc/init.d/postgresql /etc/init.d/nrpe /etc/init.d/dcron /etc/init.d/freshclam /etc/init.d/clamd /etc/init.d/fetchmail /etc/init.d/imapproxy /etc/init.d/spamd /etc/init.d/exim /etc/init.d/firebird /var/www"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
USE="x86 X a52 aac aalib accessibility acpi aim akode alsa amr apache2 arts artswrappersuid artworkextra asf avahi bcmath beagle berkdb bidi bl bluetooth boost bzip2 cairo cdb cddb cdparanoia cdr cjk crypt cups curl dbus debug dga dillo djbfft dmi dri dts dv dvd dvdr dvdread elibc_glibc enca encode esd exif expat fam ffmpeg firefox flac fpx gd gdbm ggi gif glibc-omitfp glitz gnokii gnome gnomecanvas gnutls gphoto2 gpm graphviz gs gstreamer gtk gtkhtml gtkspell hal hardened ical iconv icq ieee1394 imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipod jabber jack java javascript jbig jpeg jpeg2k kde kdehiddenvisibility kerberos kernel_linux krb4 latex lcms ldap libcaca libedit libg++ live lm_sensors lua lzo mad mmap mmx mmxext mng mono mp3 mp4 mpeg mplayer msn musepack nas nautilus ncurses nls nptl nptlonly nsplugin odbc offensive ogg openal openexr opengl pcmcia pcre pdf perl pic plugin png postgres povray ppds python qt qt3 qt4 quicktime rdesktop readline real rle rss rtc ruby samba sasl scanner sdl seamonkey slang slp sms speex spell sse sse2 ssl startup-notification svg tcl tcltk tga theora threads tiff tk truetype unicode usb userland_GNU vcd vhosts video_cards_radeon video_cards_vesa vidix visualization vorbis vorbis-psy wifi win32codecs wmf x264 xanim xcomposite xface xine xinerama xml xscreensaver xsl xv xvid xvmc yahoo zeroconf zip zlib"

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-misc/dhcpcd-2.0.8-r3  USE="-build -debug -static" 0 kB

Total size of downloads: 0 kB
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-01 11:05:30 UTC
So don't use debug flag, the ebuild tells warns you about it.

*** This bug has been marked as a duplicate of 123363 ***