mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 13:33:09 +07:00
dbus: install the bus policy in $datadir/dbus-1/system.d
make distcheck fails in install:
/usr/bin/install: cannot create regular file '/etc/dbus-1/system.d/org.finit.conf': Permission denied
The policy was installed to $sysconfdir/dbus-1/system.d. distcheck only
overrides the prefix, so the file escaped its sandbox and aimed for the
real /etc.
Install it where dbus looks for package owned policy, leaving
/etc/dbus-1/system.d to the admin. The test bus config reads it
relative to itself.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -16,7 +16,10 @@
|
||||
<type>system</type>
|
||||
|
||||
<!-- Pick up the policy Finit itself ships, so a malformed
|
||||
org.finit.conf fails the test rather than a target. -->
|
||||
org.finit.conf fails the test rather than a target. The first
|
||||
is relative to this file, i.e. where the install lands, the
|
||||
second is the admin override directory. -->
|
||||
<includedir>system.d</includedir>
|
||||
<includedir>/etc/dbus-1/system.d</includedir>
|
||||
<listen>unix:path=/var/run/dbus/system_bus_socket</listen>
|
||||
<auth>EXTERNAL</auth>
|
||||
|
||||
Reference in New Issue
Block a user