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"
*** Bug 28116 has been marked as a duplicate of this bug. ***
Hmm, what about 1.8.6.10-r1 ?
still the same... could the bug be in hotplug, instead of baselayout?
I had this problem and tried something. In my case, it seemed to be caused by an incorrectly formatted .usermap file, in my case from media-sound/usbmidi-1/0 The file that was incorrect was /etc/hotplug/usb/ezusbmidi.usermap The delimiter in the old file was single spaces. By following the format in /etc/hotplug/usb.distmap, and restarting hotplug, the "unparsable" error message went away as did the copious output. I've submitted Bug 32069 to fix it in this case.
Thank you Jonathan, I'm sure you have the right idea, but I still cannot find the file that causes the problem... orion hotplug # pwd /etc/hotplug orion hotplug # find ./ -iname '*.*map' ./usb.usermap ./usb.distmap ./usb.handmap Every single one looks ok to me... By the way, what do you mean by "the format in /etc/hotplug/usb.distmap"? In my case, there are only spaces as delimiters too. How is yours formatted?
*** This bug has been marked as a duplicate of 32069 ***
The delimiter in the old file was _a_ single space (sorry should have been more clear.) In the new file it looks tab delimited but the tabs are replaced by several spaces (maybe it originally was tabs and got recoded somehow?). See the attachment (ezusbmidi.usermap) on 32069 for an example. HTH