ntpd enabling does not survive a reboot
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
I running OpenWRT 19.07.2 on an APU2 PC Engines board.
Installed image is openwrt-19.07.2-x86-64-combined-ext4.img.gz.
I wanted to replace busybox-ntp with ntpd and executed the following steps
opkg install ntpd ntp-utils ntpdate
/etc/init.d/sysntpd disable
killall ntpclient
/etc/init.d/ntpd enable
/etc/init.d/ntpd start
Everything works fine, ntpd syncs with the NTP servers given in /etc/config/system after some minutes which can be verified with ntpq.
However, after a reboot ntpd does not run and instead busybox-ntp is active again.
I am not sure, if it is an issue related to the base system or to the package of ntpd.
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 /etc/init.d/sysntyd and /etc/init.d/ntpd, then inspect /etc/config/system and the listed enable, start, and reboot steps. Reproduce the reboot and compare which service is enabled and running afterward; done means ntpd remains active instead of busybox-ntp.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100