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

Bug 211646

Summary: ${MODULE}_check_installed missing from rcscripts/net/modules
Product: Gentoo Linux Reporter: jan vereecke <vereecke.jan>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED NEEDINFO    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jan vereecke 2008-02-27 15:20:20 UTC
In an attempt to simplify whereever possible, I wanted to stop some networking modules from being loaded when starting. I wanted to remove macchanger and ip6to4 for a specific interface, by adding a line to /etc/conf.d/net
Code:
modules_eth1=( "!macchanger" "!ip6v4" )


When restarting the interface eth1, I got the following error/warning
Quote:
* Stopping eth1
* Loading networking modules for eth1
* modules: apipa arping ccwgroup clip macchanger macnet rename ifplugd iptunnel ifconfig iproute2 pppd system dhcpcd ip6to4
* Bringing down eth1
* Stopping ifplugd on eth1 ... [ ok ]
* Starting eth1
* Loading networking modules for eth1
/etc/init.d/net.eth1: line 364: macnet_check_installed: command not found
/etc/init.d/net.eth1: line 364: ip6to4_check_installed: command not found
* modules: apipa arping ccwgroup clip rename ifplugd iptunnel iproute2 pppd system dhcpcd


Reproducible: Always

Steps to Reproduce:
See description
Actual Results:  
An error message as in the description. It looks like the module is not loaded as is expected. (Not extensively tested).

Expected Results:  
Same behaviour, except that the error message should not come.

this seems to be due to the fact thyat some modules are missing the _check_installed function which is called from /etc/init.d/net.*

using a simlple grep, these modules can be found:
apipa
ccwgroup
essidnet
ip6to4
iptunnel
macchanger
macnet
rename
system
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-02-27 15:28:22 UTC
emerge --info?
Comment 2 jan vereecke 2008-03-03 09:36:22 UTC
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-suspend2-r2 i686)
=================================================================
System uname: 2.6.22-suspend2-r2 i686 Pentium III (Coppermine)
Timestamp of tree: Sun, 02 Mar 2008 02:01:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
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/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="nl_BE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,-z,now -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aac acpi alsa apache2 asf audiofile bash-completion bitmap-fonts browserplugin bzip2 cairo cddb cdr cli cracklib cups dbus dri dvd dvdread encode exif extensions fam fbcon fbcondecor fbsplash ffmpeg fftw firefox gcj gif gimp gimpprint glibc-omitfp glitz gphoto2 gs gstreamer gtk gtkhtml hal iconv imagemagick isdnlog java javascript jpeg kdehiddenvisibility logrotate mad midi mmap mmx mmxext mozcalendar moznopango mp3 mpeg mudflap ncurses new-login nls no-old-linux nptl nptlonly nsplugin nvidia ogg opengl openmp pam pch pcre pdf pic png pppd python qt3support qt4 quicktime readline real reflection resolvconf samba sdl session sndfile spl sse ssl startup-notification suid svg tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vim vorbis win32codecs wma wmf x86 xanim xinetd xml xorg xv xvid zeroconf zlib zvbi" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident include info log_config mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS