2023-08-08 19:04:42

by Gioele Barabucci

[permalink] [raw]
Subject: [PREFIX BlueZ 0/1] Makefile.am: Install D-Bus policy in /usr/share, not /etc

This patch changes Makefile.am to install the bluez D-Bus policy in
`/usr/share/dbus-1/system.d` instead of `/etc/dbus-1/system.d`.

From https://bugs.debian.org/1006631:

> dbus supports policy files in both /usr/share/dbus-1/system.d and
> /etc/dbus-1/systemd. [The] recently released dbus 1.14.0, officially
> deprecates installing packages' default policies into /etc/dbus-1/systemd,
> instead reserving it for the sysadmin. This is the same idea as the
> difference between /usr/lib/udev/rules.d and /etc/udev/rules.d.

D-Bus supports reading policies from /usr since version 1.10,
released in 2015:
https://sources.debian.org/src/dbus/1.10.32-0%2Bdeb9u1/NEWS/#L483-L499

Regards,

Gioele Barabucci (1):
Makefile.am: Install D-Bus policy in /usr/share, not /etc

Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--
2.39.2