Seems like rocky by default using Chrony for time synchronization, but is it still possible to install ntp?
Thanks,
Seems like rocky by default using Chrony for time synchronization, but is it still possible to install ntp?
Thanks,
Rocky 8 and 9 have package ntpstat
in appstream repo, but no āgood oldā NTP.
Quite obviously Red Hat does not like to maintain two packages for same task in RHEL.
The question is probably whether your NTP package can satisfy package dependencies ⦠and how, for example the NetworkManager.service hands time-server data from DHCP to the time service (chronyd/ntpd/ā¦).
Now that I think of it, the Ansible RHEL System Roles for timesync is aware of 4-5 different time services. While it apparently can configure any of them, that might not be feasible in RHEL.
We have ntp installed on a Rocky 9 server. Some software on it required the āntpdateā command. Download the ntp source, and run the usual āconfigure; make; make check; make installā commands. It builds easy, and works fine. It installs into ā/usr/local/binā. (By default our servers have development packages on them, so you may need to install various ādevelā packages since you are building something from source.)
Rocky Linux 9 has ntpsec
package which has ntpd daemon. The ntpstat package doesnāt have ntpd. Chrony can also communicate with NTP on port 123 when configured appropriately.
A repoquery shows that ntpsec also has the ntpdate command in it. Thanks for that, Iāll take a look at it for our server.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.