aboutsummaryrefslogtreecommitdiffstats
path: root/conf/sysbus-policy/hostnamed-dbus.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/sysbus-policy/hostnamed-dbus.conf')
-rw-r--r--conf/sysbus-policy/hostnamed-dbus.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf/sysbus-policy/hostnamed-dbus.conf b/conf/sysbus-policy/hostnamed-dbus.conf
new file mode 100644
index 0000000..ea11b9d
--- /dev/null
+++ b/conf/sysbus-policy/hostnamed-dbus.conf
@@ -0,0 +1,14 @@
+<?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">
+<busconfig>
+ <policy user="root">
+ <allow own="org.freedesktop.hostname1"/>
+ <allow send_destination="org.freedesktop.hostname1"/>
+ <allow receive_sender="org.freedesktop.hostname1"/>
+ </policy>
+ <policy context="default">
+ <allow send_destination="org.freedesktop.hostname1"/>
+ <allow receive_sender="org.freedesktop.hostname1"/>
+ </policy>
+</busconfig>