oxidecomputer / oxidecomputer/dendrite
Drop privileges for service runners
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 20
- Forks
- 3
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 4
Description
Currently dpd, tfportd and uplinkd run as root without dropping any privileges. This is likely not necessary and these daemons should only carry the exact set of privileges they need to function.
Contributor guide
No contributing guide indexed for this repository
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 Rust entry points for the dpd, tfportd, and uplinkd service runners and inspect how each daemon starts and retains privileges. First determine the privileges each service actually requires; done means none runs with unnecessary root privileges while all three still function correctly. No test files are named in the issue, so identify the relevant service tests or validation path during investigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100