Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197304 - udev should give the option to not autoload modules
Summary: udev should give the option to not autoload modules
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-28 16:17 UTC by David Lloyd
Modified: 2007-10-28 16:23 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 David Lloyd 2007-10-28 16:17:54 UTC
udev autoloads modules via the /lib/udev/modprobe.sh script as part of the bootup process.  In some cases this is highly undesirable because there are many modules built solely for testing purposes that should NOT be autoloaded, or load order becomes important.  There was recently added an option to automatically blacklist modules listed in modules.autoload but this doesn't go far enough in my opinion.  Rather than having to hunt down all the modules I *don't* want, I should at least have the option to tell udev to NEVER autoload modules.  Right now the only way I can figure out to do that is to add "exit 0" at the top of /lib/udev/modprobe.sh.  And every time that file is updated, I forget about the module change (I always automerge changes to /lib etc), so when my system reboots it's all messed up again.

So, please add an option to disable this (imho) annoying behavior, like in conf.d or something.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-28 16:23:41 UTC
Kernel autoloads modules, not udev. If you want this, disable it in kernel, nice way to get unbootable system. The wrapper was there for something completely different and is gone in >=115-r3