opencontainers / opencontainers/runc
Mountpoints not being cleaned if the mount namespace is shared
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 13.5k
- Forks
- 2.3k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 30
Description
When deleting a container configured to share the mount namespace with the host. The created mountpoints are not unmounted. But the OCI runtime specification mandates that all resources created in the create phase be deleted.
I believe this is a similar issue to #1315
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
Compare the shared mount-namespace deletion scenario with issue #1315 and the OCI runtime requirement that create-phase resources are deleted. Reproduce the case with a container sharing the host mount namespace, then verify that the mountpoints are unmounted after deletion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100