How to configure the system to let system services depending on D-Bus restart automatically upon `dbus.service` unit failure
Issue
-
For some reason,
dbus.serviceunit 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.serviceunit ordbus.serviceunit crashed, logins take 25 seconds to occur -
RHEL7: after restarting
dbus.serviceunit ordbus.serviceunit crashed, the Teaming network interfaces handled by NetworkManager stopped working -
RHEL9 and RHEL10: after restarting
dbus.serviceunit ordbus.serviceunit crashed, logins take 120 seconds to occur
Environment
-
Red Hat Enterprise Linux 7 (RHEL7)
- system services (including
NetworkManager,tunedandsshd)
- system services (including
-
Red Hat Enterprise Linux 8 (RHEL8)
firewalld
-
Red Hat Enterprise Linux 9 and 10 (RHEL9 and RHEL10)
systemd-logindfirewalld
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.