needs-restarting command does not contain -s (--services) option

Solution Verified - Updated -


  • The needs-restarting command does not include the -s (--services) option. This flag is used to determine which services need to be restarted after a recent dnf update operation. How can we get this option back?


  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In