A computer’s clock drifts. The example machine in chrony’s own documentation runs slow by a little over a quarter of a second a day, and once clocks disagree, so do logs, certificate checks, backups and anything else that compares timestamps across machines. chrony is one of the programs that holds a Linux clock in place. Its configuration fits in four lines. Reading its status output takes a little more.
What chrony is, and what it replaced
Two implementations of one protocol
The Network Time Protocol has more than one implementation. The chrony project’s own FAQ sets its software beside the older reference daemon in plain terms: chrony and ntpd are two different implementations of the Network Time Protocol, and chrony is the newer one, built to work across a wider range of conditions. The FAQ says it can usually synchronize the system clock faster and with better accuracy.
The conditions it lists are the ones a home lab or laptop lives in: a machine that is online only a few minutes at a time, a congested connection, a computer that is suspended or powered off often, a clock that is not very stable because the temperature swings or because the machine is virtual. For those cases, the project’s answer is that chrony “will probably work better.”
Two programs
The package installs a daemon and a control tool. chronyd runs in the background and disciplines the clock. chronyc is the command-line client used to ask the daemon what it is doing.

chrony or systemd-timesyncd
The simple client and its limit
Many systems ship with a third option already running. systemd-timesyncd is, in the chrony FAQ’s description, a very simple NTP client included in the systemd suite. Asked whether chrony is preferable even on a machine that will never serve time to anyone, the FAQ’s answer starts with two words: “Generally, yes.”
The reason it gives is specific. timesyncd cannot poll multiple servers at the same time, so it cannot detect a server that is handing out the wrong time. NTP has a name for such servers, falsetickers, and spotting one requires a second and third opinion.
Why that matters with the public pool
Most machines get their time from pool.ntp.org, a large set of servers run by volunteers. The FAQ calls the pool very robust as a whole and then adds the caveat: individual servers cannot be relied on, and now and then one drifts away or steps to the distant past or future because of misconfiguration or bugs. The pool’s monitoring removes such servers from DNS quickly. A client like timesyncd, the FAQ says, cannot recover from that by itself, because it follows its one server for as long as that server claims to be synchronized.
The source here is the chrony project describing a competitor, which is worth keeping in mind. The limitation it describes, one server at a time, is a design fact and not a matter of opinion. For a desktop that reboots daily the simple client is usually fine. For a server, a NAS or anything that stays up for months, the case for a client that cross-checks its sources is stronger.
The minimal configuration
Four lines
The FAQ gives a minimal chrony.conf for a client using the public pool:
pool pool.ntp.org iburst
driftfile /var/lib/chrony/drift
makestep 1 3
rtcsync
Each line answers a different problem.
pool and iburst
pool names a hostname that resolves to many servers, where server would name one. The FAQ’s guidance is that for reliable operation a client should have at least three. iburst sends a quick burst of requests at startup so the first synchronization does not wait through several normal polling intervals.
driftfile
Every clock crystal runs slightly fast or slow by a fairly steady amount. chrony measures that rate and, with this line, saves it to a file. On the next start it begins from the known rate and does not have to learn it again.
makestep 1 3
By default, the FAQ explains, chronyd adjusts the clock gradually by slowing it down or speeding it up, which is called slewing. Applications never see time jump. The cost is that a large error takes a very long time to remove.
makestep 1 3 permits a jump, a step, under two conditions: the offset is larger than one second, and it is one of the first three clock updates after start. After that the daemon goes back to slewing only. For a machine with no battery-backed clock, or a virtual machine that can be suspended and resumed with the wrong time, the FAQ suggests makestep 1 -1, which allows a step on any update.
rtcsync
The real-time clock is the battery-backed chip that keeps time while the machine is off and seeds the system clock at boot. rtcsync turns on a kernel mode that copies the system time to that chip every 11 minutes, so the next boot starts close to correct.

Reading chronyc sources
The table
chronyc sources lists every server the daemon is talking to. This is the example from the project’s documentation of a healthy client a few minutes after start:
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^* ntp1.example.net 2 6 377 34 +484us[ -157us] +/- 30ms
^- ntp2.example.net 2 6 377 34 +33ms[ +32ms] +/- 47ms
^+ ntp3.example.net 3 6 377 35 -1397us[-2033us] +/- 60ms
The two-character flag
The first character is the source’s mode: ^ for a server, = for a peer, # for a locally connected reference clock such as a GPS receiver. The second is the one to look at. According to the chronyc manual:
| Flag | Meaning |
|---|---|
* |
The best source, currently selected |
+ |
Also selected, combined with the best source |
- |
Usable, but not currently selected |
x |
A falseticker: its time disagrees with the majority |
~ |
Too much variability |
? |
Not selectable: unreachable, unsynchronized, or too few measurements |
One line starting ^* means the clock is synchronized. A column of ^? means it is not.
Stratum and Poll
Stratum counts hops from a reference clock. A machine with a GPS or atomic source attached is stratum 1, a machine synchronized to it is stratum 2, and so on down.
Poll is the base-2 logarithm of the polling interval in seconds. A value of 6 means 2 to the 6th, or one measurement every 64 seconds. A value of 10 would be 1,024 seconds, a little over 17 minutes. chronyd changes the rate by itself as conditions allow.
Reach is in octal
Reach is the column that confuses people, because 377 looks like an arbitrary number. It is an 8-bit register printed in octal. Each poll shifts it left by one bit, and a valid response sets the new bit to 1. Octal 377 is binary 11111111: all of the last eight polls were answered.
Other values decode the same way. A Reach of 17 is binary 00001111, four good polls after a start. A Reach of 0 means nothing has come back at all, and the FAQ’s first suggestion in that case is a firewall: NTP uses UDP port 123, and either the outgoing requests or the replies may be blocked.
Last sample
The last column is the measured offset between the local clock and that source, with the margin of error after the +/-. A positive offset means the local clock is ahead. In the example the selected source shows +484 microseconds, under half a millisecond.
Reading chronyc tracking
One clock, in detail
chronyc tracking reports on the system clock itself. The documentation’s example:
Reference ID : CB00710F (ntp1.example.net)
Stratum : 3
System time : 0.000006523 seconds slow of NTP time
Last offset : -0.000006747 seconds
RMS offset : 0.000035822 seconds
Frequency : 3.225 ppm slow
Skew : 0.129 ppm
Root delay : 0.013639022 seconds
Root dispersion : 0.001100737 seconds
Update interval : 64.2 seconds
Leap status : Normal
Which lines to check
Reference ID names the server the machine is following. The manual notes one value to watch for: 7F7F0101 with no name means the machine is not synchronized to any external source and is running in local mode.
System time is the remaining correction still to be applied. Here it is about 6.5 microseconds. If this number is large and shrinking slowly, the daemon is slewing away an error it was not allowed to step.
Frequency is the drift rate chrony has measured for the hardware, in parts per million. The example machine runs 3.225 ppm slow. A day has 86,400 seconds, so uncorrected that clock would lose about 0.28 seconds a day, or roughly 1 minute 42 seconds a year. That is the error the daemon is quietly removing all the time, and it is the value the drift file preserves across restarts.

When the clock will not sync
The FAQ’s troubleshooting section follows a short sequence that maps onto the two commands above.
- Reach is 0 for every source. No valid responses are arriving. Check for a firewall on UDP port 123, and check that name resolution works.
- Sources are reachable, none is selected. Look at the flags. A
?shortly after start often just means too few measurements so far. - A source is selected, the time is still wrong. Look at System time in the tracking output. A large value means the offset is being slewed. If the config has no
makestepline, the daemon was never permitted to jump. - The time is wrong after every boot. The real-time clock is off or absent.
rtcsynckeeps it updated on machines that have one.
Serving time to the rest of the network
By default chronyd is a client only. In the FAQ’s words it “does not operate as an NTP server” until told to. One directive changes that:
allow 192.168.1.0/24
With an allow line the daemon opens the NTP port and answers requests from that subnet. An allow with no subnet answers everyone, on IPv4 and IPv6, which is rarely what a home network wants.
Pointing the other machines on a LAN at one local chrony server means they agree closely with each other, since they share one source over a short network path, and only one machine talks to the outside.
Sources
- chrony project, “Frequently Asked Questions”: https://chrony-project.org/faq.html
- chrony project, chronyc(1) manual, version 4.8: https://chrony-project.org/doc/4.8/chronyc.html
