RHEL7 `timedatectl` returns `NTP synchronized: yes` despite that ntpd on the system is not synched.
Issue
- From the output of
timedatectl
, we have NTP synchronized: yes:
$ timedatectl
Local time: Wed 2023-06-28 09:51:02 EDT
Universal time: Wed 2023-06-28 13:51:02 UTC
RTC time: Wed 2023-06-28 13:51:02
Time zone: America/New_York (EDT, -0400)
NTP enabled: no
>> NTP synchronized: yes <<<<<
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2023-03-12 01:59:59 EST
Sun 2023-03-12 03:00:00 EDT
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2023-11-05 01:59:59 EDT
Sun 2023-11-05 01:00:00 EST
-
chronyd is disabled and not runing
-
ntpd is running but not synched:
$ cat ntpq_-c_as
ind assid status conf reach auth condition last_event cnt
===========================================================
1 2163 9024 yes yes none reject reachable 2
2 2164 9024 yes yes none reject reachable 2
Environment
- Red Hat Enterprise Linux 7
- ntp
- timedatectl
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.