Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181382 - update-modules errors creating modules.conf if blacklist is used
Summary: update-modules errors creating modules.conf if blacklist is used
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-09 06:31 UTC by Jeff Mitchell
Modified: 2007-06-09 14:33 UTC (History)
0 users

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 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.