ntpclient: stucks after a couple calls in a row, causes hotplug script to stuck, other hotplug scripts are not called anymore
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
@thess
Environment:
VMware
OpenWrt 19.07.3, r11063-85e04e9f46
ntpclient - 2015_365-2 - NTP client for setting system time from NTP servers.
Description:
Multiple calls in a row of /usr/sbin/ntpclient -c 1 -p 123 -i 2 -h 0.openwrt.pool.ntp.org cause the ntpclient to stuck.
This further causes that other hotplug scripts get not executed anymore, might cause security issues since it prevents the execution of firewall hotplug scripts.
I am wondering if the ntpclient package is still required, since an ntpclient comes with the current version of OpenWRT, perhaps the package should get removed.
Please look for more information there in the forum.
https://forum.openwrt.org/t/hotplug-iface-script-gets-not-executed-on-boot-up/67312/48
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 by reproducing repeated calls to /usr/sbin/ntpclient -c 1 -p 123 -i 2 -h 0.openwrt.pool.ntp.org in the reported OpenWrt 19.07.3 VMware environment. Read the ntpclient package and hotplug behavior, then use the linked forum report for context. Done means identifying why calls hang and documenting a concrete fix or a justified package-removal decision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- cli, networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100