kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* blacklist kernel modules
@ 2016-05-30 14:28 Muni Sekhar
  2016-05-30 16:54 ` Valdis.Kletnieks at vt.edu
  2016-05-30 21:52 ` Sunny Kumar
  0 siblings, 2 replies; 3+ messages in thread
From: Muni Sekhar @ 2016-05-30 14:28 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* blacklist kernel modules
  2016-05-30 14:28 blacklist kernel modules Muni Sekhar
@ 2016-05-30 16:54 ` Valdis.Kletnieks at vt.edu
  2016-05-30 21:52 ` Sunny Kumar
  1 sibling, 0 replies; 3+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2016-05-30 16:54 UTC (permalink / raw)
  To: kernelnewbies

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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* blacklist kernel modules
  2016-05-30 14:28 blacklist kernel modules Muni Sekhar
  2016-05-30 16:54 ` Valdis.Kletnieks at vt.edu
@ 2016-05-30 21:52 ` Sunny Kumar
  1 sibling, 0 replies; 3+ messages in thread
From: Sunny Kumar @ 2016-05-30 21:52 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-30 21:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-30 14:28 blacklist kernel modules Muni Sekhar
2016-05-30 16:54 ` Valdis.Kletnieks at vt.edu
2016-05-30 21:52 ` Sunny Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).