Date and Time - timedatectl

poma pomidorabelisima at gmail.com
Mon May 27 07:02:18 UTC 2013


On Fedora 17/18/19/20

System-Config-Date:
comm. "system-config-date"


[1] "Date and Time"

- "Synchronize date and time over the network"
eq. comms. [off]/on:
systemctl [stop]/start chronyd
systemctl [disable]/enable chronyd

yum info chrony

event.
systemctl mask ntpd[ate].service

- "Advanced Options"

-- "Speed up initial synchronization"
conf. files [off]/on:
/etc/chrony.conf
server <NTPSERVER> []/iburst
…
/etc/sysconfig/network
[]/NTPSERVERARGS=iburst

-- "Use Local Time Source"
conf. file [off]/on:
/etc/chrony.conf
[#]local stratum 10


[2] "Time Zone"

- Selected city: Helsinki, Europe
eq. comm.:
ln -fs /usr/share/zoneinfo/Europe/Helsinki /etc/localtime

- "System clock uses UTC"
conf. file [off]/on:
/etc/adjtime
[LOCAL]/UTC


On Fedora 18 & up

Besides the above mentioned plus "timedatectl" as a CLI counterpart to a
"system-config-date".
Although, it lacks the 'iburst' directive and "timedatectl set-ntp" is
broken in Fedora 18 - systemd 201.
$ timedatectl set-ntp false/true
Failed to issue method call: No such file or directory

Though, it working well in Fedora 19/20 - systemd 204.
Anyhow, man 1 timedatectl & Co. ;)

Before filing a bug contra "timedatectl, has anyone encountered this
bug, also?


poma



More information about the users mailing list