Skip to contentSkip to conversation

Replacement for blacklisting with 'install MOD /bin/false'?

DISCUSSION Topi Miettinen 2 participants 2 messages Mar 21, 2020 – Mar 23, 2020

lore
Share & tools
lore
#0 lore raw

Hi,

I'm looking for a replacement for the deprecated 'install MOD /bin/{false,true}' modprobe.d rules for always blacklisting a module. The advantage of using the 'install' rule is that the 'blacklist' rules are ignored when loading modules manually, but the 'install' rules is not. Perhaps there should be a new rule ('always_blacklist'?) which is always obeyed?

-Topi

#1 lore raw
Quoted 3 lines · Topi Miettinen

Hi,

I'm looking for a replacement for the deprecated 'install MOD /bin/{false,true}' modprobe.d rules for always blacklisting a module. The advantage of using the 'install' rule is that the 'blacklist' rules are ignored when loading modules manually, but the 'install' rules is not. Perhaps there should be a new rule ('always_blacklist'?) which is always obeyed?

yeah, I do have a sketch for "hard-blacklist" for that exact reason...

I will try to revive that patches soon.

thanks
Lucas De Marchi

Quoted 2 lines

-Topi