summaryrefslogtreecommitdiffstats
path: root/debian/patches/Move-corosync-notifyd-policy-file-into-usr-share-dbus-1-s.patch
blob: 79dc6231ad5c37abae534f6ec45da9397ab7729e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@debian.org>
Date: Sun, 26 May 2024 11:57:40 +0200
Subject: Move corosync-notifyd policy file into /usr/share/dbus-1/system.d

As per dbus-daemon(1):

> Third-party packages would historically install XML files into
> /etc/dbus-1/system.d, but this practice is now considered to be
> deprecated: that directory should be treated as reserved for the
> system administrator.
---
 conf/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/Makefile.am b/conf/Makefile.am
index 44581eb..d02cd21 100644
--- a/conf/Makefile.am
+++ b/conf/Makefile.am
@@ -60,7 +60,7 @@ mib_DATA		= COROSYNC-MIB.txt
 endif
 
 if INSTALL_DBUSCONF
-dbusdir			= $(sysconfdir)/dbus-1/system.d
+dbusdir			= $(datadir)/dbus-1/system.d
 dbus_DATA		= corosync-signals.conf
 endif