Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117313 - Module-Blacklisting with coldplug
Summary: Module-Blacklisting with coldplug
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-31 17:27 UTC by Sebastian Noack
Modified: 2006-04-17 08:47 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 Sebastian Noack 2005-12-31 17:27:10 UTC
Hi,

it is very nice that hotplug has a blacklist, but what would add modules to hotplug's blacklist affect if they are loaded before by coldplug? So I have coded a workaround into my coldplug-init-script by adding following lines:

        if [ -e /etc/coldplug/blacklist ]
        then
                ebegin "Unloading blacklisted modules"
                for mod in `egrep -e "^[^\#]" /etc/coldplug/blacklist`
                do
                        modprobe -r $mod
                done
                eend 0
        fi

Now, I can create a blacklist for coldplug in /etc/coldplug/blacklist or symlink my /etc/hotplug/blacklist to this location. It would be very nice if it would be adopt into the offical gentoo-coldplug-initscript. Thanks.
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-04-17 08:47:37 UTC
Coldplug is now depreciated in favor of udev.  Please use that instead.