Why does the "needs-restarting -r" output does not show correct values?

Solution Verified - Updated -

Issue

  • "needs-restarting -r" outputs an incorrect value.
  • After kernel update, the needs-restarting command does not show need of reboot.
  • Updating to Red Hat Enterprise Linux 8.5 breaks needs-restarting command.

Environment

  • Red Hat Enterprise Linux (RHEL) 8.5
  • dnf-plugins-core-4.0.21-1.el8

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