Install systemd unit & busconfig ACLs from the package.
This change required as a part of privilege separation work:
https://github.com/openbmc/openbmc/issues/3383
This change has dependant change:
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/41834
Change-Id: Ib4744ac69428af1a9625c3e99004a4cfd857ba4b
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
diff --git a/dist/busconfig/phosphor-logging.conf b/dist/busconfig/phosphor-logging.conf
new file mode 100644
index 0000000..496639d
--- /dev/null
+++ b/dist/busconfig/phosphor-logging.conf
@@ -0,0 +1,12 @@
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <policy group="root">
+ <allow own_prefix="xyz.openbmc_project.Logging"/>
+ <allow send_destination="xyz.openbmc_project.Logging"/>
+ </policy>
+
+ <policy group="phosphor-logging">
+ <allow send_destination="xyz.openbmc_project.Logging"/>
+ </policy>
+</busconfig>