service: support id_mapping for nydusd VFS mounts - #1978
Open
Zephyrcf wants to merge 1 commit into
Open
Conversation
Signed-off-by: zephyrcf <zinsist777@gmail.com>
Zephyrcf
force-pushed
the
feature/idmap-remap-ids
branch
from
July 3, 2026 14:58
7686f96 to
676cba8
Compare
BraveY
reviewed
Jul 21, 2026
BraveY
left a comment
Contributor
There was a problem hiding this comment.
LGTM. Let's wait for fuse-backend-rs to release an official version, then use the official version to replace the current temporary fork
BraveY
approved these changes
Jul 21, 2026
BraveY
left a comment
Contributor
There was a problem hiding this comment.
LGTM. Thanks a lot for the helpful PR.
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.
Overview
This PR wires per-mount UID/GID id_mapping support from the fuse-backend-rs VFS layer into nydusd. It allows each RAFS filesystem mount to independently remap UID/GID, enabling user namespace scenarios (e.g., container root uid 0 in the image → host uid 100000 at the VFS boundary).
Related Issues
Depends on cloud-hypervisor/fuse-backend-rs#227
Close #1932
Change Details
Please describe your changes in detail:
Test Results
If you have any relevant screenshots or videos that can help illustrate your changes, please add them here.
Change Type
Please select the type of change your pull request relates to:
Self-Checklist
Before submitting a pull request, please ensure you have completed the following: