Skip to content
  • Thomas Haller's avatar
    dbus: allow firewalld to communicate with NetworkManager · ff5b7275
    Thomas Haller authored
    Usually, this "<allow send_destination="..."/>" part is shipped
    by firewalld's D-Bus policy. However, if firewalld is initially
    not installed with NetworkManager already running, dbus-daemon
    seems to cache the missing permission for the D-Bus connection.
    As a result, when installing and starting firewalld, NetworkManager
    requests fail until restart:
    
      firewall: [0x7f4b83643890,change:"eth1"]: complete: request failed (Rejected send message, 1 matched rules; type="method_call", sender=":1.3" (uid=0 pid=715 comm="/usr/sbin/NetworkManager --no-daemon ") interface="org.fedoraproject.FirewallD1.zone" member="changeZone" error name="(unset)" requested_reply="0" destination=":1.25" (uid=0 pid=1243 comm="/usr/bin/python -Es /usr/sbin/firewalld --nofork -"))
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1436770
    (cherry picked from commit cc1d409b)
    ff5b7275