Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
Install D-Bus policy file in /usr/share/dbus-1/system.d
Browse files Browse the repository at this point in the history
Instead of /etc/dbus-1/system.d. Package supplied policy configuration
in /etc/dbus-1/system.d is officially deprecated in D-Bus since 1.13.10 and
is reserved for system administrators wanting to override default behavior.
/usr/share/dbus-1/system.d has been preferred since D-Bus 1.10.0 (released
~4 years ago). See the following commit in D-Bus for deprecation notice:

https://gitlab.freedesktop.org/dbus/dbus/commit/dee0f551112349da4aa3f913f92f2c7c8f48f1f0

Signed-off-by: Martin Ejdestig <[email protected]>
  • Loading branch information
martin-ejdestig authored and gunnarx committed Jul 22, 2019
1 parent aaeff31 commit ef393dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ dnl *************************************
AC_ARG_WITH([dbuspolicydir],
AS_HELP_STRING([--with-dbuspolicydirdir=DIR], [Directory for D-Bus system policy files]),
[],
[with_dbuspolicydir=$(pkg-config --silence-errors --variable=sysconfdir dbus-1)/dbus-1/system.d])
[with_dbuspolicydir=$(pkg-config --silence-errors --variable=datadir dbus-1)/dbus-1/system.d])
AC_SUBST([dbuspolicydir], [$with_dbuspolicydir])

# Derive path for storing 'dbus' interface files (e. g. /usr/share/dbus-1/interfaces)
Expand Down

0 comments on commit ef393dc

Please sign in to comment.