[release/2.2] Fix ctr image mount failing with "no such device"#12831
Merged
mxpv merged 2 commits intocontainerd:release/2.2from Jan 30, 2026
Merged
Conversation
Add tests for the WithTemporary mount activation used by `ctr images mount`. Covers bind mount and overlay scenarios to catch regressions like containerd#12549. Signed-off-by: Jérôme Poulin <[email protected]>
The bind mount created for temporary activations was missing the Options field, causing mount to fail with "no such device" because the MS_BIND flag wasn't being set. Fixes containerd#12549 Signed-off-by: Jérôme Poulin <[email protected]>
AkihiroSuda
approved these changes
Jan 28, 2026
|
@AkihiroSuda , is this not the PR that has already been approved? |
Member
No, that was for the main branch while this one is for release/2.2 |
mxpv
approved these changes
Jan 30, 2026
JamesC1305
added a commit
to JamesC1305/firecracker
that referenced
this pull request
Feb 24, 2026
The docker-popular-containers pipeline started failing from a regression introduced by containerd v2.2.0. An issue has been lodged on their repo, and the fix has seemingly been merged into the v2.2 branch, we are just waiting on a new release version to pick the fix up. In the meantime, we can disable the faulty plugin mount-manager (which was only introduced in v2.2, so we aren't missing out on anything). Relevant links: - Issue: containerd/containerd#12549 - Fix (main branch): containerd/containerd#12581 - Fix (v2.2 branch): containerd/containerd#12831 Signed-off-by: James Curtis <[email protected]>
JamesC1305
added a commit
to JamesC1305/firecracker
that referenced
this pull request
Feb 27, 2026
The docker-popular-containers pipeline started failing from a regression introduced by containerd v2.2.0. An issue has been lodged on their repo, and the fix has seemingly been merged into the v2.2 branch, we are just waiting on a new release version to pick the fix up. In the meantime, we can disable the faulty plugin mount-manager (which was only introduced in v2.2, so we aren't missing out on anything). Relevant links: - Issue: containerd/containerd#12549 - Fix (main branch): containerd/containerd#12581 - Fix (v2.2 branch): containerd/containerd#12831 Signed-off-by: James Curtis <[email protected]>
ctr image mount failing with "no such device"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automated cherry-pick of #12581
/assign AkihiroSuda