I have a WLAN NIC and an ETH NIC on my laptop, which are used mutualy exclusive depending on my location. From the comment in /etc/conf.d/rc # RC_NET_STRICT_CHECKING allows some flexability with the 'net' service. # The following values are allowed: # no - This basically means that at least one net.* service besides net.lo # must be up. This can be used by notebook users that have a wifi and # a static nic, and only wants one up at any given time to have the # 'net' service seen as up. I assumed, that this setting was perfect for my situation. But still, even if net.eth0 was started okay, every net-depending service (like tomcat) still tries to bring up net.wlan0 as well. I see, that there is even a default setup for RC_NET_STRICT_CHECKING in /sbin/functions.sh ("no"), but the variable itself is never used in functions any more. Is it not yet supported? Reproducible: Always Steps to Reproduce: 1. /etc/init.d/net.eth0 start 2. /etc/init.d/tomcat start 3. Actual Results: Starting net.wlan (failed) Starting tomcat * ERROR: Problem starting needed services. * "tomcat5" was not started. Expected Results: Properly check that one network-interface besides lookback is up and be quiet! Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.9 -gentoo-r2 i686) ================================================================= System uname: 2.6.9-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.6.5 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="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dv ipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config / /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox userpriv" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror s.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/ gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" 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 acpi acpi4linux aim alsa antlr apache2 apm audiofile avi berkdb bitmap-fo nts bluetooth bonobo cddb cdr chroot crypt cups devfs26 doc dvd encode esd ether eal evo f77 fam foomaticdb gda gdbm gif gimp gimpprint glade gnome gpm gtk gtk2 gtkhtml guile ieee1394 imagemagick imlib irda java jpeg ldap libg++ libwww mad m box mikmod mmx motif mozilla mpeg mpeg4 msn ncurses nls nptl odbc oggvorbis open gl pam pcmcia pda pdflib perl png postgres ppds python quicktime readline samba scanner sdl slang sox spell sse ssl svga tcltk tcpd tetex truetype usb vanilla x 86 xinerama xml2 xmms xv zlib"
Fixed in rc-scripts CVS, will be in baselayout-1.11.6
Fixed in baselayout-1.11.6
Just like to know: Is there a way of managing the order in which the network interfaces are started? It's because at my laptop wlan0 is started first and it takes a lot more time for WLAN to find out that there is not net, but for eth0 to figure out that there is no cable.
Outdated.