Skip to content

Add missing send_destination to org.freedesktop.PolicyKit1.conf

I've been seeing this RPM Lint error for a while now:

polkit.x86_64: E: dbus-policy-allow-without-destination
<allow send_interface="org.freedesktop.PolicyKit1.AuthenticationAgent"/>
/usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
'allow' directives must always specify a 'send_destination'.

The relevant piece in question:

  <policy user="@polkitd_user@">
    <allow send_interface="org.freedesktop.PolicyKit1.AuthenticationAgent"/>
  </policy>

We're allowing the use of an interface without specifying a connection, as far as I can tell.

Merge request reports