dnsmasq and other services failed to start with dbus error in RHEL 7.4 or later

Solution Verified - Updated -

Issue

  • After yum update, dnsmasq and some other services failed to start with the following message:

    dnsmasq[17501]: dnsmasq: DBus error: Connection ":1.96" is not allowed to own the service "org.dnsmasq" due to security policies in the configuration file
    dnsmasq[17501]: DBus error: Connection ":1.96" is not allowed to own the service "org.dnsmasq" due to security policies in the configuration file
    
    Apr 25 14:44:35 hostname systemd[1]: Started privileged operations for unprivileged applications.
    Apr 25 14:44:35 hostname systemd[1]: Starting privileged operations for unprivileged applications...
    Apr 25 14:44:35 hostname oddjobd[45553]: Error binding to service name "com.redhat.oddjob_mkhomedir"!
    Apr 25 14:44:35 hostname oddjobd[45553]: Error initializing service "com.redhat.oddjob_mkhomedir"!
    Apr 25 14:44:35 hostname oddjobd[45553]: Error registering with D-Bus layer!
    Apr 25 14:44:35 hostname systemd[1]: oddjobd.service: main process exited, code=exited, status=1/FAILURE
    Apr 25 14:44:35 hostname systemd[1]: Unit oddjobd.service entered failed state.
    Apr 25 14:44:35 hostname systemd[1]: oddjobd.service failed.
    

Environment

  • Red Hat Enterprise Linux 7.4 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