]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Install dbus policy required by TEST-23-UNIT-FILE
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 5 May 2024 19:19:26 +0000 (21:19 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 May 2024 08:56:45 +0000 (10:56 +0200)
Co-authored-by: Richard Maw <richard.maw@codethink.co.uk>
mkosi.images/system/mkosi.extra/usr/share/dbus-1/system.d/systemd.test.ExecStopPost.conf [new file with mode: 0644]

diff --git a/mkosi.images/system/mkosi.extra/usr/share/dbus-1/system.d/systemd.test.ExecStopPost.conf b/mkosi.images/system/mkosi.extra/usr/share/dbus-1/system.d/systemd.test.ExecStopPost.conf
new file mode 100644 (file)
index 0000000..ddd36ed
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+        "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+
+<!--
+  SPDX-License-Identifier: LGPL-2.1-or-later
+-->
+
+<busconfig>
+    <policy user="root">
+        <allow own="systemd.test.ExecStopPost"/>
+    </policy>
+</busconfig>