From: Zbigniew Jędrzejewski-Szmek Date: Tue, 14 Apr 2020 10:32:53 +0000 (+0200) Subject: man: timedate1(5) — add missing descriptions X-Git-Tag: v246-rc1~515^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a9159244b52b3b0810032b31388ac993a624739;p=thirdparty%2Fsystemd.git man: timedate1(5) — add missing descriptions --- diff --git a/man/org.freedesktop.timedate1.xml b/man/org.freedesktop.timedate1.xml index 000c0ca03e6..73bd9dfedd1 100644 --- a/man/org.freedesktop.timedate1.xml +++ b/man/org.freedesktop.timedate1.xml @@ -72,22 +72,6 @@ node /org/freedesktop/timedate1 { }; - - - - - - - - - - - - - - - - @@ -148,16 +132,39 @@ node /org/freedesktop/timedate1 { network using systemd-timesyncd. This will enable and start or disable and stop the chosen time synchronization service. - Whenever the timezone and local_rtc settings are changed via the daemon, - PropertyChanged signals are sent out to which clients can subscribe. Changing the - time settings using this interface is authenticated via PolicyKit. + ListTimezones() returns a list of time zones known on the local system as an + array of names (["Africa/Abidjan", "Africa/Accra", ..., "UTC"]). + + + + Properties + + Timezone shows the currently configured time zone. + LocalRTC shows whether the RTC is configured to use UTC (false), or the local time + zone (true). CanNTP shows whether a service to perform time synchronization over the + network is available, and NTP shows whether such a service is enabled. + + NTPSynchronized shows whether the kernel reports the time as synchronized + (c.f. + adjtimex3). + TimeUSec and RTCTimeUSec show the current time on the system and + in the RTC. The purpose of those three properties is to allow remote clients to access this information + over D-Bus. Local clients can access the information directly. + + Whenever the Timezone and LocalRTC settings are changed via + the daemon, PropertyChanged signals are sent out to which clients can subscribe. + Note that this service will not inform you about system time changes. Use timerfd3 with CLOCK_REALTIME and TFD_TIMER_CANCEL_ON_SET for that. + + + + Security - The user_interaction boolean parameters can be used to control whether + The interactive boolean parameters can be used to control whether PolicyKit should interactively ask the user for authentication credentials if required. The PolicyKit action for SetTimezone() is @@ -166,7 +173,9 @@ node /org/freedesktop/timedate1 { org.freedesktop.timedate1.set-local-rtc, for SetTime() it is org.freedesktop.timedate1.set-time and for SetNTP() it is - org.freedesktop.timedate1.set-ntp. + org.freedesktop.timedate1.set-ntp. + ListTimezones() does not require any privileges. +