Time & NTP
A clock that runs wrong is the least conspicuous fault in operation: the system keeps running and reports nothing. The consequences show up elsewhere and look like something else entirely.
What LCM records
Section titled “What LCM records”On every scan - and on demand via Check time - LCM reads, read-only and without special privileges:
| Value | Source |
|---|---|
| Time zone | timedatectl, else /etc/timezone or the /etc/localtime symlink; failing all that, the abbreviation from date +%Z |
| Time service | chrony, systemd-timesyncd, ntpd or busybox-ntpd - whichever runs |
| Synchronized? | what the service itself reports (chronyc tracking, timedatectl, ntpq) |
| Time servers | the servers configured on the host |
| Offset | comparison of the server clock against LCM’s own |
The offset includes the SSH round trip and is accurate to a second or two. For the question that matters - is the clock right at all? - that is plenty, so it is reported only from 30 seconds upward.
Setting it
Section titled “Setting it”Server detail → Settings (gear) → section Time & sync:
- Set time zone - LCM writes it and reads it back. If the system then reports something else, it does not count as set; a written file alone is no proof.
- Configure time servers - enters the servers, starts the time service and
proves synchronization. If the proof does not arrive within the window,
LCM says so honestly (HTTP 502); the configuration stays in place, because it
is not wrong - it just has not taken effect yet. Existing entries in
chrony.conf/ntp.confare replaced line by line, the rest of the file is left alone, and a.lcm-bakbackup is created.
Defaults
Section titled “Defaults”Under Settings → Time & NTP you can store:
- Default time servers (one
Label = hostper line) - they appear as a choice when configuring. Empty = built-in list (NTP pool, Cloudflare, Google). - Default time zone - pre-fills the form.
Both are purely pre-fills: time is always set deliberately per server, never silently in the background.
In the traffic light
Section titled “In the traffic light”- Offset ≥ 30 seconds → warning (in containers with the pointer to the host).
- No time service on a non-container → note. The clock is right just now, but nothing holds it - nothing is broken yet.
- Service running but reporting not synchronized → note.