Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-92843

dbus-broker dies when a configuration file is empty

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.6, rhel-10.0
    • dbus-broker
    • None
    • Yes
    • Low
    • rhel-systemd
    • ssg_core_services
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      With RHEL8, having an empty file such as /etc/dbus-1/system.d/teamd.conf is not an issue (unless teaming is used of course).

      With RHEL9, having the file empty makes dbus-broker service die, causing NetworkManager and all other services relying to dbus-broker to fail/not start, hence making the system unusable:

      May 21 11:43:48 vm-rhel9 dbus-broker-launch[857]: Invalid XML in /etc/dbus-1/system.d/teamd.conf +1: no element found
      May 21 11:43:48 vm-rhel9 systemd[1]: Listening on Cockpit Web Service Socket.
      May 21 11:43:48 vm-rhel9 systemd[1]: Reached target Socket Units.
      May 21 11:43:48 vm-rhel9 dbus-broker-launch[857]: ERROR run @ ../src/launch/main.c +152: Return code 1
      May 21 11:43:48 vm-rhel9 dbus-broker-launch[857]:       main @ ../src/launch/main.c +178
      May 21 11:43:48 vm-rhel9 dbus-broker-launch[857]: Exiting due to fatal error: -131
      May 21 11:43:48 vm-rhel9 systemd[1]: dbus-broker.service: Main process exited, code=exited, status=1/FAILURE
      May 21 11:43:48 vm-rhel9 systemd[1]: dbus-broker.service: Failed with result 'exit-code'.
      May 21 11:43:48 vm-rhel9 systemd[1]: Failed to start D-Bus System Message Bus.
      May 21 11:43:48 vm-rhel9 systemd[1]: Dependency failed for Network Manager.
      May 21 11:43:48 vm-rhel9 systemd[1]: Dependency failed for Network Manager Wait Online.
      May 21 11:43:48 vm-rhel9 systemd[1]: NetworkManager-wait-online.service: Job NetworkManager-wait-online.service/start failed with result 'dependency'.
      May 21 11:43:48 vm-rhel9 systemd[1]: NetworkManager.service: Job NetworkManager.service/start failed with result 'dependency'.
      May 21 11:43:48 vm-rhel9 systemd[1]: Dependency failed for Dynamic System Tuning Daemon.
      May 21 11:43:48 vm-rhel9 systemd[1]: tuned.service: Job tuned.service/start failed with result 'dependency'.
      

      Please harden this service, this service being critical for the system to work properly.

              lnykryn@redhat.com Lukáš Nykrýn
              rhn-support-rmetrich Renaud Métrich
              Lukáš Nykrýn Lukáš Nykrýn
              Frantisek Sumsal Frantisek Sumsal
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: