mbox series

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

Message ID 20230808065734.1475152-1-gioele@svario.it (mailing list archive)
Headers show
Series Makefile.am: Install D-Bus policy in /usr/share, not /etc | expand

Message

Gioele Barabucci Aug. 8, 2023, 6:57 a.m. UTC
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(-)