dbus daemon fails with undefined symbol: XML_SetHashSalt

Solution Verified - Updated -


  • dbus is timing out and processes are failing to connect

    Jan 1 01:00:00 hostname NetworkManager[1534]: <warn>  [546.45] ifcfg-rh: dbus: couldn't initialize system bus: Could not connect: Connection refused
  • dbus is showing symbol lookup errors

    Traceback (most recent call last):
    File "/usr/bin/firewall-cmd", line 31, in <module>
    from firewall.client import FirewallClient, FirewallClientIPSetSettings, \
    File "/usr/lib/python3.6/site-packages/firewall/client.py", line 28, in <module>
    import dbus.mainloop.glib
    File "/usr/lib64/python3.6/site-packages/dbus/__init__.py", line 101, in <module>
    from dbus._dbus import Bus, SystemBus, SessionBus, StarterBus
    File "/usr/lib64/python3.6/site-packages/dbus/_dbus.py", line 39, in <module>
    from dbus.bus import BusConnection
    File "/usr/lib64/python3.6/site-packages/dbus/bus.py", line 39, in <module>
    from dbus.connection import Connection
    File "/usr/lib64/python3.6/site-packages/dbus/connection.py", line 37, in <module>
    from dbus.proxies import ProxyObject
    File "/usr/lib64/python3.6/site-packages/dbus/proxies.py", line 34, in <module>
    from dbus._expat_introspect_parser import process_introspection_data
    File "/usr/lib64/python3.6/site-packages/dbus/_expat_introspect_parser.py", line 26, in <module>
    from xml.parsers.expat import ParserCreate
    File "/usr/lib64/python3.6/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
    ImportError: /usr/lib64/python3.6/lib-dynload/pyexpat.cpython-36m-x86_64-linux-gnu.so: undefined symbol: XML_SetHashSalt
    Jan 1 01:00:00 hostname dbus-daemon: /usr/bin/dbus-daemon: symbol lookup error: /usr/bin/dbus-daemon: undefined symbol: XML_SetHashSalt


  • Red Hat Enterprise Linux (RHEL) 7 and later

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