Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gofer: open volumes from the initial userns #11118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

avagin
Copy link
Collaborator

@avagin avagin commented Nov 5, 2024

when gofer can't open them from its user namespace. The gofer namespace can have custom user/group mappings that can prevent it to access volumes.

This change repeats the behaviour of runc. If we can't open a volume from the gofer userns, we are trying to open it from the initial userns. For that, we create a small rpc server that the gofer communicates with.

copybara-service bot pushed a commit that referenced this pull request Nov 5, 2024
when gofer can't open them from its user namespace. The gofer namespace can have custom user/group mappings that can prevent it to access volumes.

This change repeats the behaviour of runc. If we can't open a volume from the gofer userns, we are trying to open it from the initial userns. For that, we create a small rpc server that the gofer communicates with.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#11118 from avagin:gofer-vs-userns d2de7c9
PiperOrigin-RevId: 693124536
when gofer can't open them from its user namespace. The gofer namespace
can have custom user/group mappings that can prevent it to access
volumes.

This change repeats the behaviour of runc. If we can't open a volume from
the gofer userns, we are trying to open it from the initial userns. For
that, we create a small rpc server that the gofer communicates with.

Signed-off-by: Andrei Vagin <[email protected]>
copybara-service bot pushed a commit that referenced this pull request Nov 5, 2024
when gofer can't open them from its user namespace. The gofer namespace can have custom user/group mappings that can prevent it to access volumes.

This change repeats the behaviour of runc. If we can't open a volume from the gofer userns, we are trying to open it from the initial userns. For that, we create a small rpc server that the gofer communicates with.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#11118 from avagin:gofer-vs-userns 50fd999
PiperOrigin-RevId: 693124536
copybara-service bot pushed a commit that referenced this pull request Nov 5, 2024
when gofer can't open them from its user namespace. The gofer namespace can have custom user/group mappings that can prevent it to access volumes.

This change repeats the behaviour of runc. If we can't open a volume from the gofer userns, we are trying to open it from the initial userns. For that, we create a small rpc server that the gofer communicates with.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#11118 from avagin:gofer-vs-userns 50fd999
PiperOrigin-RevId: 693124536
copybara-service bot pushed a commit that referenced this pull request Nov 5, 2024
when gofer can't open them from its user namespace. The gofer namespace can have custom user/group mappings that can prevent it to access volumes.

This change repeats the behaviour of runc. If we can't open a volume from the gofer userns, we are trying to open it from the initial userns. For that, we create a small rpc server that the gofer communicates with.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#11118 from avagin:gofer-vs-userns 50fd999
PiperOrigin-RevId: 693124536
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant