sockd: sched_getscheduler(2): failed to retrieve current cpuscheduling policy: Function not implemented
Open
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Feb 15 11:35:03 (1739619303.966285) sockd[5336]: error: serverinit(): sched_getscheduler(2): failed to retrieve current cpuscheduling policy: Function not implemented
Feb 15 11:35:03 (1739619303.966462) sockd[5336]: alert: mother[1/1]: shutting down
According to https://github.com/void-linux/void-packages/pull/28184 :
musl implements the sched_{set,get}scheduler functions as stubs.
Unfortunately, dante fails if the functions are available but return an
error, which is always the case for musl. Force it to think setscheduler
isn't available (var appropriated from Alpine).
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
Locate the OpenWrt package recipe for sockd/Dante and inspect how its build configuration handles scheduler support. Compare the workaround referenced from Alpine and Void Linux, then verify that sockd starts without the sched_getscheduler error on musl.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100