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

Bug 181382

Summary: update-modules errors creating modules.conf if blacklist is used
Product: Gentoo Linux Reporter: Jeff Mitchell <jeffrey.mitchell>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeff Mitchell 2007-06-09 06:31:58 UTC
"man modprobe.conf" lists blacklist as a valid directive.  However, having any file in /etc/modules.d with "blacklist [modulename]" in it causes update-modules to error saying it couldn't create modprobe.conf:

modprobe: Invalid line 143 in /etc/modules.conf
        blacklist
Failed to to run modprobe. Giving up.
 * Warning: could not generate /etc/modprobe.conf!     

Not sure what's going on here.

Using sys-apps/module-init-tools-3.2.2-r3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-09 07:00:01 UTC
Reopen if you still have this problem after you've moved your blacklisting stuff to /etc/modprobe.d/
Comment 2 Jeff Mitchell 2007-06-09 14:33:35 UTC
I didn't initially have a /etc/modprobe.d but after creating it and putting blacklist stuff in there it does work correctly.