blacklist kernel modules

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Mon May 30 12:54:49 EDT 2016


On Mon, 30 May 2016 19:58:14 +0530, Muni Sekhar said:
> 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.
>
> All our test systems are having an Ubuntu distribution.
>
> I am trying to figure out other best possible methods.
>
> 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?

Simply ship a /etc/modprobe.d/my-blacklist.conf that contains a line:

blacklist my-module-to-ignore

The blacklist commands don't have to be in one specific blacklist.conf.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160530/6c3b45a9/attachment.bin 


More information about the Kernelnewbies mailing list