Loading the "loop" kernel module takes long time when there is a defined audit rule

Solution In Progress - Updated -

Issue

  • When there is any audit rule defined, the loading of ‘loop’ kernel module becomes very slow.

  • Listing the configured audit rules:

# auditctl -l
-w /etc/redhat-release -p wa -k release_changes
  • Loading of loop module is taking more than 5 minutes:
# time modprobe -v loop
insmod /lib/modules/4.18.0-372.9.1.el8.x86_64/kernel/drivers/block/loop.ko.xz max_loop=1000

real    5m54.881s
user    0m0.003s
sys     5m53.380s

Environment

  • Red Hat Enterprise Linux 8
  • kernel 4.x
  • loop module

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content