bring in new configs
authorkremlin <ian@kremlin.cc>
Tue, 10 Jun 2014 02:19:19 +0000 (21:19 -0500)
committerkremlin <ian@kremlin.cc>
Tue, 10 Jun 2014 02:19:19 +0000 (21:19 -0500)
conf/hostnamed-dbus.conf
conf/hostnamed-ispect.xml
conf/localed-dbus.conf [new file with mode: 0644]
conf/localed-ispect.xml [new file with mode: 0644]
conf/logind-dbus.conf [new file with mode: 0644]
conf/logind-ispect.xml [new file with mode: 0644]
conf/timedated-dbus.conf [new file with mode: 0644]
conf/timedated-ispect.xml [new file with mode: 0644]

index 7358899747eddb76088d9d1eaa4cefe95ca03122..46b4aadc831acd102492d530e90b46564244f899 100644 (file)
@@ -1,18 +1,27 @@
-<!DOCTYPE busconfig PUBLIC
-          "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
-          "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<?xml version="1.0"?> <!--*-nxml-*-->
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+        "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+
+<!--
+  This file is part of systemd.
+
+  systemd is free software; you can redistribute it and/or modify it
+  under the terms of the GNU Lesser General Public License as published by
+  the Free Software Foundation; either version 2.1 of the License, or
+  (at your option) any later version.
+-->
+
 <busconfig>
 
-       <!-- Only members of 'wheel' and user 'daemon' may set hostnames -->
-       <policy group="wheel">
-               <allow own="org.freedesktop.hostname1"/>
-               <allow send_destination="org.freedesktop.hostname1"/>
-               <allow receive_sender="org.freedesktop.hostname1"/>
-       </policy>
-       <policy user="daemon">
-               <allow own="org.freedesktop.hostname1"/>
-               <allow send_destination="org.freedesktop.hostname1"/>
-               <allow receive_sender="org.freedesktop.hostname1"/>
-       </policy>
+        <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>
index fbf2d718e6d12361b56de17c889700bbe60289e2..1174b9cac0a5e6b0934981ad37d42c45fb0467e8 100644 (file)
@@ -1,25 +1,25 @@
-<!-- Taken from Gentoo Linux's OpenRC settingsd -->
+<?xml version="1.0" encoding="UTF-8"?>
 <node name="/org/freedesktop/hostname1">
-       <interface name="org.freedesktop.hostname1">
-               <method name="SetHostname">
-                       <arg direction="in" type="s" name="name"/>
-                       <arg direction="in" type="b" name="user_interaction"/>
-               </method>
-               <method name="SetStaticHostname">
-                       <arg direction="in" type="s" name="name"/>
-                       <arg direction="in" type="b" name="user_interaction"/>
-               </method>
-               <method name="SetPrettyHostname">
-                       <arg direction="in" type="s" name="name"/>
-                       <arg direction="in" type="b" name="user_interaction"/>
-               </method>
-               <method name="SetIconName">
-                       <arg direction="in" type="s" name="name"/>
-                       <arg direction="in" type="b" name="user_interaction"/>
-               </method>
-               <property name="Hostname" type="s" access="read"/>
-               <property name="StaticHostname" type="s" access="read"/>
-               <property name="PrettyHostname" type="s" access="read"/>
-               <property name="IconName" type="s" access="read"/>
-       </interface>
+    <interface name="org.freedesktop.hostname1">
+        <method name="SetHostname">
+            <arg direction="in" type="s" name="name" />
+            <arg direction="in" type="b" name="user_interaction" />
+        </method>
+        <method name="SetStaticHostname">
+            <arg direction="in" type="s" name="name" />
+            <arg direction="in" type="b" name="user_interaction" />
+        </method>
+        <method name="SetPrettyHostname">
+            <arg direction="in" type="s" name="name" />
+            <arg direction="in" type="b" name="user_interaction" />
+        </method>
+        <method name="SetIconName">
+            <arg direction="in" type="s" name="name" />
+            <arg direction="in" type="b" name="user_interaction" />
+        </method>
+        <property name="Hostname" type="s" access="read" />
+        <property name="StaticHostname" type="s" access="read" />
+        <property name="PrettyHostname" type="s" access="read" />
+        <property name="IconName" type="s" access="read" />
+    </interface>
 </node>
diff --git a/conf/localed-dbus.conf b/conf/localed-dbus.conf
new file mode 100644 (file)
index 0000000..79d0ecd
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0"?> <!--*-nxml-*-->
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+        "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+
+<!--
+  This file is part of systemd.
+
+  systemd is free software; you can redistribute it and/or modify it
+  under the terms of the GNU Lesser General Public License as published by
+  the Free Software Foundation; either version 2.1 of the License, or
+  (at your option) any later version.
+-->
+
+<busconfig>
+
+        <policy user="root">
+                <allow own="org.freedesktop.locale1"/>
+                <allow send_destination="org.freedesktop.locale1"/>
+                <allow receive_sender="org.freedesktop.locale1"/>
+        </policy>
+
+        <policy context="default">
+                <allow send_destination="org.freedesktop.locale1"/>
+                <allow receive_sender="org.freedesktop.locale1"/>
+        </policy>
+
+</busconfig>
diff --git a/conf/localed-ispect.xml b/conf/localed-ispect.xml
new file mode 100644 (file)
index 0000000..46a7a36
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/org/freedesktop/locale1">
+    <interface name="org.freedesktop.locale1">
+        <method name="SetLocale">
+            <arg direction="in" type="as" name="locale" />
+            <arg direction="in" type="b" name="user_interaction" />
+        </method>
+        <method name="SetVConsoleKeyboard">
+            <arg direction="in" type="s" name="keymap" />
+            <arg direction="in" type="s" name="keymap_toggle" />
+            <arg direction="in" type="b" name="convert" />
+            <arg direction="in" type="b" name="user_interaction" />
+        </method>
+        <method name="SetX11Keyboard">
+            <arg direction="in" type="s" name="layout" />
+            <arg direction="in" type="s" name="model" />
+            <arg direction="in" type="s" name="variant" />
+            <arg direction="in" type="s" name="options" />
+            <arg direction="in" type="b" name="convert" />
+            <arg direction="in" type="b" name="user_interaction" />
+        </method>
+        <property name="Locale" type="as" access="read" />
+        <property name="VConsoleKeymap" type="s" access="read" />
+        <property name="VConsoleKeymapToggle" type="s" access="read" />
+        <property name="X11Layout" type="s" access="read" />
+        <property name="X11Model" type="s" access="read" />
+        <property name="X11Variant" type="s" access="read" />
+        <property name="X11Options" type="s" access="read" />
+    </interface>
+</node>
diff --git a/conf/logind-dbus.conf b/conf/logind-dbus.conf
new file mode 100644 (file)
index 0000000..1318328
--- /dev/null
@@ -0,0 +1,186 @@
+<?xml version="1.0"?> <!--*-nxml-*-->
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+        "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+
+<!--
+  This file is part of systemd.
+
+  systemd is free software; you can redistribute it and/or modify it
+  under the terms of the GNU Lesser General Public License as published by
+  the Free Software Foundation; either version 2.1 of the License, or
+  (at your option) any later version.
+-->
+
+<busconfig>
+
+        <policy user="root">
+                <allow own="org.freedesktop.login1"/>
+                <allow send_destination="org.freedesktop.login1"/>
+                <allow receive_sender="org.freedesktop.login1"/>
+        </policy>
+
+        <policy context="default">
+                <deny send_destination="org.freedesktop.login1"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.DBus.Introspectable"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.DBus.Peer"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.DBus.Properties"
+                       send_member="Get"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.DBus.Properties"
+                       send_member="GetAll"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="GetSession"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="GetSessionByPID"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="GetUser"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="GetUserByPID"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="GetSeat"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="ListSessions"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="ListUsers"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="ListSeats"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="ListInhibitors"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="Inhibit"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="SetUserLinger"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="ActivateSession"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="ActivateSessionOnSeat"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="PowerOff"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="Reboot"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="Suspend"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="Hibernate"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="HybridSleep"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="CanPowerOff"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="CanReboot"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="CanSuspend"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="CanHibernate"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="CanHybridSleep"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="AttachDevice"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Manager"
+                       send_member="FlushDevices"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Seat"
+                       send_member="ActivateSession"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Seat"
+                       send_member="SwitchTo"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Seat"
+                       send_member="SwitchToPrevious"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Seat"
+                       send_member="SwitchToNext"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Session"
+                       send_member="Activate"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Session"
+                       send_member="SetIdleHint"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Session"
+                       send_member="TakeControl"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Session"
+                       send_member="ReleaseControl"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Session"
+                       send_member="TakeDevice"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Session"
+                       send_member="ReleaseDevice"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.Session"
+                       send_member="PauseDeviceComplete"/>
+
+                <allow receive_sender="org.freedesktop.login1"/>
+        </policy>
+
+</busconfig>
diff --git a/conf/logind-ispect.xml b/conf/logind-ispect.xml
new file mode 100644 (file)
index 0000000..25ff8ca
--- /dev/null
@@ -0,0 +1,235 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+    <interface name="org.freedesktop.login1.Manager">
+        <property name="NAutoVTs" type="u" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="KillOnlyUsers" type="as" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="KillExcludeUsers" type="as" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="KillUserProcesses" type="b" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="IdleHint" type="b" access="read" />
+        <property name="IdleSinceHint" type="t" access="read" />
+        <property name="IdleSinceHintMonotonic" type="t" access="read" />
+        <property name="BlockInhibited" type="s" access="read" />
+        <property name="DelayInhibited" type="s" access="read" />
+        <property name="InhibitDelayMaxUSec" type="t" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="HandlePowerKey" type="s" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="HandleSuspendKey" type="s" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="HandleHibernateKey" type="s" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="HandleLidSwitch" type="s" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="IdleAction" type="s" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="IdleActionUSec" type="t" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="PreparingForShutdown" type="b" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false" />
+        </property>
+        <property name="PreparingForSleep" type="b" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false" />
+        </property>
+        <method name="GetSession">
+            <arg type="s" direction="in" />
+            <arg type="o" direction="out" />
+        </method>
+        <method name="GetSessionByPID">
+            <arg type="u" direction="in" />
+            <arg type="o" direction="out" />
+        </method>
+        <method name="GetUser">
+            <arg type="u" direction="in" />
+            <arg type="o" direction="out" />
+        </method>
+        <method name="GetUserByPID">
+            <arg type="u" direction="in" />
+            <arg type="o" direction="out" />
+        </method>
+        <method name="GetSeat">
+            <arg type="s" direction="in" />
+            <arg type="o" direction="out" />
+        </method>
+        <method name="ListSessions">
+            <arg type="a(susso)" direction="out" />
+        </method>
+        <method name="ListUsers">
+            <arg type="a(uso)" direction="out" />
+        </method>
+        <method name="ListSeats">
+            <arg type="a(so)" direction="out" />
+        </method>
+        <method name="ListInhibitors">
+            <arg type="a(ssssuu)" direction="out" />
+        </method>
+        <method name="CreateSession">
+            <arg type="u" direction="in" />
+            <arg type="u" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="u" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="b" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="a(sv)" direction="in" />
+            <arg type="s" direction="out" />
+            <arg type="o" direction="out" />
+            <arg type="s" direction="out" />
+            <arg type="h" direction="out" />
+            <arg type="u" direction="out" />
+            <arg type="s" direction="out" />
+            <arg type="u" direction="out" />
+            <arg type="b" direction="out" />
+            <annotation name="org.freedesktop.systemd1.Privileged" value="true" />
+        </method>
+        <method name="ReleaseSession">
+            <arg type="s" direction="in" />
+            <annotation name="org.freedesktop.systemd1.Privileged" value="true" />
+        </method>
+        <method name="ActivateSession">
+            <arg type="s" direction="in" />
+        </method>
+        <method name="ActivateSessionOnSeat">
+            <arg type="s" direction="in" />
+            <arg type="s" direction="in" />
+        </method>
+        <method name="LockSession">
+            <arg type="s" direction="in" />
+            <annotation name="org.freedesktop.systemd1.Privileged" value="true" />
+        </method>
+        <method name="UnlockSession">
+            <arg type="s" direction="in" />
+            <annotation name="org.freedesktop.systemd1.Privileged" value="true" />
+        </method>
+        <method name="LockSessions">
+            <annotation name="org.freedesktop.systemd1.Privileged" value="true" />
+        </method>
+        <method name="UnlockSessions">
+            <annotation name="org.freedesktop.systemd1.Privileged" value="true" />
+        </method>
+        <method name="KillSession">
+            <arg type="s" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="i" direction="in" />
+            <annotation name="org.freedesktop.systemd1.Privileged" value="true" />
+        </method>
+        <method name="KillUser">
+            <arg type="u" direction="in" />
+            <arg type="i" direction="in" />
+            <annotation name="org.freedesktop.systemd1.Privileged" value="true" />
+        </method>
+        <method name="TerminateSession">
+            <arg type="s" direction="in" />
+            <annotation name="org.freedesktop.systemd1.Privileged" value="true" />
+        </method>
+        <method name="TerminateUser">
+            <arg type="u" direction="in" />
+            <annotation name="org.freedesktop.systemd1.Privileged" value="true" />
+        </method>
+        <method name="TerminateSeat">
+            <arg type="s" direction="in" />
+            <annotation name="org.freedesktop.systemd1.Privileged" value="true" />
+        </method>
+        <method name="SetUserLinger">
+            <arg type="u" direction="in" />
+            <arg type="b" direction="in" />
+            <arg type="b" direction="in" />
+        </method>
+        <method name="AttachDevice">
+            <arg type="s" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="b" direction="in" />
+        </method>
+        <method name="FlushDevices">
+            <arg type="b" direction="in" />
+        </method>
+        <method name="PowerOff">
+            <arg type="b" direction="in" />
+        </method>
+        <method name="Reboot">
+            <arg type="b" direction="in" />
+        </method>
+        <method name="Suspend">
+            <arg type="b" direction="in" />
+        </method>
+        <method name="Hibernate">
+            <arg type="b" direction="in" />
+        </method>
+        <method name="HybridSleep">
+            <arg type="b" direction="in" />
+        </method>
+        <method name="CanPowerOff">
+            <arg type="s" direction="out" />
+        </method>
+        <method name="CanReboot">
+            <arg type="s" direction="out" />
+        </method>
+        <method name="CanSuspend">
+            <arg type="s" direction="out" />
+        </method>
+        <method name="CanHibernate">
+            <arg type="s" direction="out" />
+        </method>
+        <method name="CanHybridSleep">
+            <arg type="s" direction="out" />
+        </method>
+        <method name="Inhibit">
+            <arg type="s" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="s" direction="in" />
+            <arg type="h" direction="out" />
+        </method>
+        <signal name="SessionNew">
+            <arg type="s" direction="in" />
+            <arg type="o" direction="in" />
+        </signal>
+        <signal name="SessionRemoved">
+            <arg type="s" direction="in" />
+            <arg type="o" direction="in" />
+        </signal>
+        <signal name="UserNew">
+            <arg type="u" direction="in" />
+            <arg type="o" direction="in" />
+        </signal>
+        <signal name="UserRemoved">
+            <arg type="u" direction="in" />
+            <arg type="o" direction="in" />
+        </signal>
+        <signal name="SeatNew">
+            <arg type="s" direction="in" />
+            <arg type="o" direction="in" />
+        </signal>
+        <signal name="SeatRemoved">
+            <arg type="s" direction="in" />
+            <arg type="o" direction="in" />
+        </signal>
+        <signal name="PrepareForShutdown">
+            <arg type="b" direction="in" />
+        </signal>
+        <signal name="PrepareForSleep">
+            <arg type="b" direction="in" />
+        </signal>
+    </interface>
+</node>
diff --git a/conf/timedated-dbus.conf b/conf/timedated-dbus.conf
new file mode 100644 (file)
index 0000000..36557d5
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0"?> <!--*-nxml-*-->
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+        "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+
+<!--
+  This file is part of systemd.
+
+  systemd is free software; you can redistribute it and/or modify it
+  under the terms of the GNU Lesser General Public License as published by
+  the Free Software Foundation; either version 2.1 of the License, or
+  (at your option) any later version.
+-->
+
+<busconfig>
+
+        <policy user="root">
+                <allow own="org.freedesktop.timedate1"/>
+                <allow send_destination="org.freedesktop.timedate1"/>
+                <allow receive_sender="org.freedesktop.timedate1"/>
+        </policy>
+
+        <policy context="default">
+                <allow send_destination="org.freedesktop.timedate1"/>
+                <allow receive_sender="org.freedesktop.timedate1"/>
+        </policy>
+
+</busconfig>
diff --git a/conf/timedated-ispect.xml b/conf/timedated-ispect.xml
new file mode 100644 (file)
index 0000000..48f2201
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/org/freedesktop/timedate1">
+    <interface name="org.freedesktop.timedate1">
+        <method name="SetTime">
+            <arg direction="in" type="x" name="usec_utc" />
+            <arg direction="in" type="b" name="relative" />
+            <arg direction="in" type="b" name="user_interaction" />
+        </method>
+        <method name="SetTimezone">
+            <arg direction="in" type="s" name="timezone" />
+            <arg direction="in" type="b" name="user_interaction" />
+        </method>
+        <method name="SetLocalRTC">
+            <arg direction="in" type="b" name="local_rtc" />
+            <arg direction="in" type="b" name="fix_system" />
+            <arg direction="in" type="b" name="user_interaction" />
+        </method>
+        <method name="SetNTP">
+            <arg direction="in" type="b" name="use_ntp" />
+            <arg direction="in" type="b" name="user_interaction" />
+        </method>
+        <property name="Timezone" type="s" access="read" />
+        <property name="LocalRTC" type="b" access="read" />
+        <property name="NTP" type="b" access="read" />
+    </interface>
+</node>