blacklist kernel modules

Sunny Kumar sunny.kumar.roy at gmail.com
Mon May 30 17:52:48 EDT 2016


Muni Sekhar <munisekharrms <at> gmail.com> writes:

> 
> Hi,
> 
> I need to configure blacklisting few kernel modules in multiple
> customer test systems.
> 
> For this I added an entries in the /etc/modprobe.d/blacklist.conf and
> generated an initramfs image.
Still blacklisted module can be loaded using insmod.
> 
> All our test systems are having an Ubuntu distribution.
> 
> I am trying to figure out other best possible methods.
It would be better if you configure and compile kernel according to your 
need.
> 
> Which is the best possible way to blacklist kernel modules in multiple
> test system at once?
> 
> Ideally we will supply a debian package for customers for installing a
> new software. Similarly can it be possible to create a debian package
> for blacklisting kernel modules?
Yes all steps can be combined in a single script (postinit) and bundled as 
deb package.
Hope it helps.
Sunny








More information about the Kernelnewbies mailing list