Lintian Reports

W dbus-policy-without-send-destination

All reports of dbus-policy-without-send-destination for the archive. The extended description of this tag is:

The package contains D-Bus policy configuration that uses one of the send_* conditions, but does not specify a send_destination, and is not specific to root.

Rules of the form

      <allow send_interface="com.example.MyInterface"/>
    

allow messages with the given interface to be sent to any service, not just the one installing the rule, which is rarely what was intended.

Similarly, on the system bus, rules of the form

      <deny send_interface="com.example.MyInterface"/>
    

are redundant with the system bus's default-deny policy, and have unintended effects on other services.

This check ignores rules of the form

      <policy user="root">
        <allow ... />
      </policy>
    

which are commonly used for the "agent" pattern seen in services like BlueZ and NetworkManager: a root-privileged daemon calls out to one or more per-user user interface agent processes with no specific name, so send_destination is not easily applicable. However, such rules should still be made as specific as possible to avoid undesired side-effects.

Refer to https://bugs.freedesktop.org/show_bug.cgi?id=18961 and http://lists.freedesktop.org/archives/dbus/2008-February/009401.html for details.

Severity: normal, Certainty: certain

Check: dbus, Type: binary

Evolution of the dbus-policy-without-send-destination Lintian tag over the past 366 days:

The beforementioned graph for the dbus-policy-without-send-destination tag

Emitted (non-overridden): 77, overridden: 0, total: 77

The package names link to the relevant maintainer page and the corresponding report for the source package. The links go to the full maintainer report page, which includes info and experimental tags and overridden tags, rather than the default page that shows only errors and warnings.

consolekit 0.4.6-6 (binary)

dhcpcd-dbus 0.6.0-1.1+b2 (binary)

fprintd 0.7.0-1 (binary)

fso-datad 0.12.0-3+b1 (binary)

fso-gsmd 0.12.0-5+b1 (binary)

fso-usaged 0.12.0-3 (binary)

geoclue-2.0 2.4.5-1 (binary)

hplip 3.17.4+repack0-1 (binary)

hplip 3.16.11+repack0-2 (binary)

kdelibs5-data 4:4.14.26-1 (binary)

libkf5auth-data 5.28.0-1 (binary)

network-manager 1.6.2-3 (binary)

network-manager-openconnect 1.2.4-1 (binary)

policykit-1 0.113-5 (binary)

scanbd 1.4.4-1+b2 (binary)

sssd-dbus 1.15.2-1 (binary)

wicd-daemon 1.7.4+tb2-3 (binary)

wpasupplicant 2:2.4-1 (binary)

wpasupplicant 2:2.6-4 (binary)

zemberek-server 0.7.1-12.2 (binary)