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? -- Thanks, Sekhar
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.
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
participants (3)
-
Muni Sekhar -
Sunny Kumar -
Valdis.Kletnieks@vt.edu