Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 28116

Summary: environment is filled up during init and this causes hotplug to print an error
Product: Gentoo Linux Reporter: Adrian Gligor <vigor>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adrian Gligor 2003-09-07 07:08:10 UTC
during init, the environment is filled up with a lot of funtions defined in the 
init scripts. every script adds its functions, and the environment gets bigger. 
this is related to bug 21438 (xargs error), but this time it affects hotplug. 
hotplug complains like this:
* Starting USB and PCI hotplugging...
modules.usbmap unparsabale line
.
modules.usbmap unparsabale line
.
[DUMP] <- here it dumps the whole environment, which is huge, and delays startup 
about two minutes. hotplug works, only the error message is disturbing


Reproducible: Always
Steps to Reproduce:
1. Install Gentoo 1.4
2. Set up hotplug/genkernel
3. Do install only GRP binaries, no source packages
4. boot and watch

Actual Results:  
the bug occured
hotplug actually works

Expected Results:  
* Starting USB and PCI hotplugging... [ok]
and no dump

*  sys-apps/baselayout
      Latest version available: 1.8.6.8-r1
      Latest version installed: 1.8.6.8-r1

*  sys-apps/hotplug
      Latest version available: 20030501-r2
      Latest version installed: 20030501-r2

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Pentium III (Coppermine)
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config 
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb 
/usr/kde/3.1/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache distcc"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.
org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ libwww mad mikmod 
mpeg ncurses nls pdflib png quicktime xml2 zlib gdbm berkdb slang readline svga 
java ruby sdl gpm tcpd pam perl python esd imlib oggvorbis qt motif opengl ldap 
cdr X gtk gtk2 alsa mmx sse cups dga gphoto2 scanner spell ssl truetype xmms xv 
-gnome -arts -kde"
Comment 1 Adrian Gligor 2003-09-07 07:16:20 UTC
sorry for the duplicate... please delete it. original is bug 28115
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-07 08:05:46 UTC

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