| Summary: | update-modules errors creating modules.conf if blacklist is used | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jeff Mitchell <jeffrey.mitchell> |
| Component: | New packages | Assignee: | 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: | --- | |
Reopen if you still have this problem after you've moved your blacklisting stuff to /etc/modprobe.d/ I didn't initially have a /etc/modprobe.d but after creating it and putting blacklist stuff in there it does work correctly. |
"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.