opencontainers / opencontainers/runc

Mountpoints not being cleaned if the mount namespace is shared

Open
#2,095 4 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.