kmod weak-modules utility removing symlinks for older versions of a third-party kmod when a new version is installed

Solution Verified - Updated -


  • When using third party add-on modules that require rebuilds for a minor ".Y" release (e.g. 7.3), installing a new kernel and a new add-on module for it can result in the previous version's weak-modules symlinks for the previous kernel being incorrectly removed.
    • If this happens, a boot into the previous kernel will fail to load the addon driver.


  • Red Hat Enterprise Linux 7.4
  • kmod version == kmod-20-15.el7

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