Re: How automatic date/time setting is done on Fedora 24 KDE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reindl Harald wrote:
> Am 24.11.2016 um 16:38 schrieb Syam Krishnan:
>> I have KDE on Fedora 24. I have enabled 'Set data and time
>> automatically' in the time settings. And my clock seems to be always in
>> sync.
>>
>> But I've noticed that I don't have NTP installed. DNF says that the
>> packages ntp and ntpdate are not installed. I don't have /etc/ntp.conf
>> either.
>>
>> So how is KDE managing 'automatic date/time setting'?
> 
> you are really late to the party
> https://fedoraproject.org/wiki/Features/ChronyDefaultNTP

That's one half of the answer. The other half of the answer is:
https://www.freedesktop.org/wiki/Software/systemd/timedated/
https://github.com/mlichvar/timedatex
https://pagure.io/fesco/issue/1394
https://git.reviewboard.kde.org/r/122400/

Plasma now uses systemd-timedated interfaces to handle time setting. Thus, 
in short:
* If you do not have any NTP implementation (neither chrony nor the old
  ntpd) installed, systemd-timedated with its builtin SNTP implementation is
  used.
* If you have chrony or ntp (the old ntpd) installed, those packages have a
  Recommends: timedatex. The timedatex daemon is a drop-in replacement for
  systemd-timedated that takes over the interfaces and implements them using
  chrony or ntpd.

If the timedated interfaces are not usable at all (i.e., if neither systemd-
timedated nor timedatex is available), Plasma falls back to the old code 
using a one-time ntpdate call (which only syncs the time once and does not 
keep it in sync), but that should never happen in Fedora.

        Kevin Kofler
_______________________________________________
kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux