How to configure the system to let system services depending on D-Bus restart automatically upon `dbus.service` unit failure

Solution Verified - Updated -

Issue

  • For some reason, dbus.service unit fails on my system from time to time, causing other services failure to happen, I want to protect the other services from failing as well

  • RHEL7: after restarting dbus.service unit or dbus.service unit crashed, logins take 25 seconds to occur

  • RHEL7: after restarting dbus.service unit or dbus.service unit crashed, the Teaming network interfaces handled by NetworkManager stopped working

  • RHEL9 and RHEL10: after restarting dbus.service unit or dbus.service unit crashed, logins take 120 seconds to occur

Environment

  • Red Hat Enterprise Linux 7 (RHEL7)

    • system services (including NetworkManager, tuned and sshd)
  • Red Hat Enterprise Linux 8 (RHEL8)

    • firewalld
  • Red Hat Enterprise Linux 9 and 10 (RHEL9 and RHEL10)

    • systemd-logind
    • firewalld

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