Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19495 - /sbin/modules-update and /sbin/generate-modprobe.conf don't work together properly
Summary: /sbin/modules-update and /sbin/generate-modprobe.conf don't work together pro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-17 14:09 UTC by Hal Duston
Modified: 2003-08-03 06:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hal Duston 2003-04-17 14:09:23 UTC
When /sbin/modules-update is run from /etc/init.d/modules at boot-time, it calls
/sbin/generate-modprobe.conf incorrectly.  This causes a zero byte
/etc/modprobe.conf file to be created.
Workaround is to do a generate-modprobe.conf after boot, and load by hand any
drives that didn't autoload.

Reproducible: Always
Steps to Reproduce:
1. run /sbin/generate-modprobe.conf /etc/modprobe.conf
2. run ls -l /etc/modprobe.conf
3. run /sbin/modules-update
4. run ls -l /etc/modprobe.conf
Actual Results:  
The /etc/modprobe.conf file is correct at step 2.
The /etc/modprobe.conf file is empty at step 4.

Expected Results:  
The file /etc/modprobe.conf should be exactly the same at both step 2 and step 4.

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.5.66-mm2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
GENTOO_MIRRORS=" ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
gdbm berkdb slang readline arts tetex svga java guile X sdl gpm tcpd pam libwww
ssl python imlib oggvorbis gnome gtk qt kde motif opengl gphoto2 aalib acpi alsa
bonobo cdr dga doc dvd esd ethereal evo gb gtkhtml innodb ldap mozilla mysql
pcmcia perl pnp postgres samba scanner slp sse tcltk usb zeo"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache buildpkg"
Comment 1 Hal Duston 2003-04-17 14:55:34 UTC
OK this is fixed in unstable. . .
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-04-17 15:15:23 UTC
azarah: how about unmasking the new baselayout ?
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-03 06:37:56 UTC
Latest baselayout in stable fix this.