1
00:00:06,799 --> 00:00:12,289
So in Ubuntu we don't use chrony.
Ubuntu uses systemd time syncd to synchronize time.

2
00:00:13,330 --> 00:00:19,480
And this command is controlled by the timedatectl
command. It's fully integrated. And that makes the

3
00:00:19,480 --> 00:00:25,629
communication between the timedatectl front end command
and the time sync service itself pretty neat.

4
00:00:26,300 --> 00:00:31,600
There's also a configuration that is written into
etc SYSTEMD timesyncd conf and that's where you

5
00:00:31,600 --> 00:00:36,899
need to go if there's anything that you
need to change. Let's do a quick check.

6
00:00:38,219 --> 00:00:43,129
So here we are on
the Ubuntu machine and let's

7
00:00:43,129 --> 00:00:48,039
start by using systemctl
status on systemd time syncd.

8
00:00:51,299 --> 00:00:55,280
And there. Oh, we see
that it has a warning. The

9
00:00:55,280 --> 00:00:59,260
source configuration fail or drop
ins changed on disk run system.

10
00:00:59,770 --> 00:01:04,790
What is that? Use the right arrow to
read it completely. Systemctl Daemon reload if you

11
00:01:04,790 --> 00:01:09,810
see a warning like that, there's only
one choice and that is to do it.

12
00:01:10,790 --> 00:01:15,570
But not before we
have checked out that successfully

13
00:01:15,570 --> 00:01:20,350
synchronizing with ntp.ubuntu.com but
hey, sudo systemctl daemon reload.

14
00:01:20,349 --> 00:01:25,129
That's a warning
that cannot be ignored.

15
00:01:25,840 --> 00:01:31,742
Next I'm going to use a
sudo vim on etc SYSTEMD timesyncd conf

16
00:01:31,742 --> 00:01:37,645
and here we can see the
timesync configuration that has a couple of

17
00:01:37,645 --> 00:01:43,547
options with the fallback. NTP is
ntpubuntu.com well, that seems to be doing

18
00:01:43,547 --> 00:01:49,450
all right. If there's anything that
you want to change here, change it.

19
00:01:49,829 --> 00:01:53,555
And then you reload
your systemd time syncd service

20
00:01:53,555 --> 00:01:57,280
to have it pick
up your time configuration.

21
00:01:58,260 --> 00:02:03,359
TimeDatectl Status should show
the current synchronization status.

22
00:02:03,939 --> 00:02:09,689
So the clock is synchronized and the NTP service
is active. And that's how you manage it on Ubuntu.
