Include `systemd-timesyncd` into the list of NTP services
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 1.2k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 31
Description
Change Request
This repository is ONLY used to solve problems related to DOCS-CN.
For other issues (TiDB, TiKV, etc), please move to other repositories.
Please answer the following questions before submitting your issue. Thanks!
- Describe what you find is inappropriate or missing in the existing docs.
In https://docs.pingcap.com/zh/tidb/dev/check-before-deployment#%E6%A3%80%E6%B5%8B%E5%8F%8A%E5%AE%89%E8%A3%85-ntp-%E6%9C%8D%E5%8A%A1, the doc only suggested checking against ntpd and chronyd.
However, newer distros such as Ubuntu 20.04 have switched to systemd's built-in systemd-timesyncd already, so a user blindly following this instruction will mistakenly install an unnecessary piece of service.
- Describe your suggestion or addition.
- Separate
ntpd,chronydandsystemd-timesyncdinstructions into 3 tabs - In the
systemd-timesyncdtab,- check existence using
sudo systemctl status systemd-timesyncd - check synchronization status using
timedatectl, output should contain
- check existence using
System clock synchronized: yes
NTP service: active
- Provide some reference materials (documents, websites, etc) if you could.
https://www.digitalocean.com/community/tutorials/how-to-set-up-time-synchronization-on-ubuntu-20-04
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked TiDB deployment documentation section on checking and installing NTP services. Separate the existing ntpd and chronyd guidance into tabs and add a systemd-timesyncd tab using the requested systemctl and timedatectl checks. Done means the page covers all three services without directing Ubuntu 20.04 users to install an unnecessary service.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, ubuntu
- Domain
- documentation, operating-systems
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100