opencontainers / opencontainers/cgroups
proposal: use os.Root / root.Open
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
Since Go 1.24 we have https://pkg.go.dev/os@master#Root meaning we can use openat implicitly.
For cgroup v2, it makes sense to keep cgroup root lazy opened and use it.
Alas, it has to wait until we switch to go 1.24 as a minimally supported version.
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
No file or test is named. Start by reading the Go os.Root documentation and the repository's cgroup v2 implementation, then confirm the minimum Go version change needed; done means cgroup v2 keeps its root lazily opened and uses Root.Open after Go 1.24 support is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100