Using sys-apps/baselayout-1.12.0_pre8-r2 and initlizing net.ethX i see the following errors: grep: /proc/net/wireless: No such file or directory grep: /proc/net/wireless: No such file or directory This machine has no wireless configured in the kernel not configured either in conf.d/net. Other machine which has wireless enabled does not have this error. Reproducible: Always Steps to Reproduce: 1. remove wireless support from kernel. 2. recompile and reboot. 3. /etc/init.d/net.eth0 restart Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12.5 i686) ================================================================= System uname: 2.6.12.5 i686 AMD Athlon(TM) MP 2400+ Gentoo Base System version 1.12.0_pre8 ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -fprefetch-loop-arrays -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -fprefetch-loop-arrays -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks prelink sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.zie.pg.gda.pl http://pandemonium.tiscali.de/pub/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--sort-common" MAKEOPTS="-j3" 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 3dnow X alsa apm avi bash-completion bidi bitmap-fonts cups curl dvd dvdr eds emboss encode fam firefox flac foomaticdb fortran gd gdbm gif gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib irda jpeg kde lcd libwww mad mmx mmx2 motif mp3 mpeg ncurses nls nptl nvidia ogg oggvorbis opengl pam pdflib pic png ppds readline samba sdl slang smp spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis wxwindows xine xml xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
bad uber, always use 'grep -s' when reading /proc files ;)
I'm not seeing this on my server which does not have wireless. Do you know where is error is? files, line numbers? If not, could you set RC_VERBOSE="yes" in /etc/conf.d/rc and post the full output of net.eth0 starting including the errors. Thanks.
Created attachment 68564 [details, diff] test for /proc/net/wireless OK, I think I have it fixed. The issue looks like wireless-tools and/or wpa_supplicant was installed and the kernel did not have wireless. Please test this patch which should fix it.
Patch solves the problem. Roy: Impressive work finding the combination that causes the problem quickly.. Thanks!
Thanks :) Will be in baselayout-1.12.0_pre9
Fixed in pre9