diff options
author | Daniel Mack <daniel@zonque.org> | 2022-02-24 15:47:35 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-04-09 03:23:14 +0200 |
commit | 57b82eaacaf52b8333ae811cdd1b5445453ebb05 (patch) | |
tree | c0c6b471a9a3c3deeef94c050732cbba577e9304 /src/timesync/org.freedesktop.timesync1.conf | |
parent | timesync: export manager_is_connected() (diff) | |
download | systemd-57b82eaacaf52b8333ae811cdd1b5445453ebb05.tar.xz systemd-57b82eaacaf52b8333ae811cdd1b5445453ebb05.zip |
timesyncd: add RUNTIME servers
This new server type can only be set at runtime through a D-Bus method
and is exposed for reading through a D-Bus property.
`CAP_NET_ADMIN` and a PolKit acknowledge is required for setting
runtime servers.
Entries submitted that way are used before system and link servers
are being looked at.
Diffstat (limited to 'src/timesync/org.freedesktop.timesync1.conf')
-rw-r--r-- | src/timesync/org.freedesktop.timesync1.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/timesync/org.freedesktop.timesync1.conf b/src/timesync/org.freedesktop.timesync1.conf index eccdbec718..8c74b36d6e 100644 --- a/src/timesync/org.freedesktop.timesync1.conf +++ b/src/timesync/org.freedesktop.timesync1.conf @@ -36,6 +36,10 @@ send_interface="org.freedesktop.DBus.Properties" send_member="GetAll"/> + <allow send_destination="org.freedesktop.timesync1" + send_interface="org.freedesktop.timesync1.Manager" + send_member="SetRuntimeNTPServers"/> + <allow receive_sender="org.freedesktop.timesync1"/> </policy> |