NTP enabled is no but sync is yes on RHEL7

Dave Brunkow asked:

How can it be synchronized but not enabled? Redhat 7.4
Date and time are right. ntpq -p shows it’s connected to a remote ntp server. Systemctl status ntp shows its enabled. Nothing in /var/log/messages indicates any errors. Is this some normal state that I just don’t understand?

timedatectl
      Local time: Thu 2020-10-01 14:24:30 UTC
  Universal time: Thu 2020-10-01 14:24:30 UTC
        RTC time: Thu 2020-10-01 14:24:30
       Time zone: UTC (UTC, +0000)
     NTP enabled: no
NTP synchronized: yes
● ntpd.service - Network Time Service
   Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled;

My answer:


The timedatectl command reports that NTP is in use when either chronyd or systemd-timesyncd is enabled and running. Both of these are lightweight NTP clients suitable for most servers and workstations. It does not recognize the ntpd service, which is designed to be both an NTP client and server, and now that we have dedicated NTP client software, is no longer favored for systems that don’t need to serve NTP to other systems or use specialized hardware such as GPS to obtain the time.


View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.