<!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"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.hostname1"
           send_interface="org.freedesktop.DBus.Properties"/>
    <allow send_destination="org.freedesktop.hostname1"
           send_interface="org.freedesktop.DBus.ObjectManager"/>

    <allow send_destination="org.freedesktop.hostname1"/>
    <allow receive_sender="org.freedesktop.hostname1"/>
  </policy>

</busconfig>
