mbox series

[BlueZ,v4,0/2] configure.ac: Install D-Bus policy in /usr/share, not /etc

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

Message

Gioele Barabucci Aug. 9, 2023, 6:51 a.m. UTC
[Sending again, this time with the right commit titles. Sorry for the noise.]

This patch changes configure.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,

v1 -> v2:
- bump D-Bus min version
- derive DBUS_CONFDIR from datadir

v2 -> v3:
- split in two commits

v3 -> v4:
- reorder commits and fix titles

Gioele Barabucci (2):
  configure.ac: Bump minimum D-Bus version to 1.10
  configure.ac: Install D-Bus policy in /usr/share, not /etc

 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

patchwork-bot+bluetooth@kernel.org Aug. 9, 2023, 6:20 p.m. UTC | #1
Hello:

This series was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Wed,  9 Aug 2023 08:51:41 +0200 you wrote:
> [Sending again, this time with the right commit titles. Sorry for the noise.]
> 
> This patch changes configure.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:
> 
> [...]

Here is the summary with links:
  - [BlueZ,v4,1/2] configure.ac: Bump minimum D-Bus version to 1.10
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=8b6432a8728f
  - [BlueZ,v4,2/2] configure.ac: Install D-Bus policy in /usr/share, not /etc
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=fc6f5856d177

You are awesome, thank you!