更新时间:2023-12-04 10:31:16
这似乎是fedora的问题,有一个名为"chrony"的服务,该服务可防止ntpd服务在启动后启动.使用 yum
删除chrony后,启动后将启动ntpd服务.有关更多详细信息,您可以检查此.
This appears to be an issue with fedora, there is a service named "chrony" which prevents ntpd service to start after boot. After removing chrony with yum
, ntpd service is started after boot. For more details you can check this.
更新:您还可以禁用在端口123上运行的 chronyd
,然后ntpd将启动:
UPDATE: You can also disable the chronyd
that runs on port 123 and then ntpd will start:
sudo systemctl disable chronyd
sudo systemctl start ntpd