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

store: drop remap-[ug]ids #1976

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

giuseppe
Copy link
Member

@giuseppe giuseppe commented Jun 19, 2024

drop the possibility to configure a remapping for all the layers in the storage.

The feature dates back to the initial fork from Docker, that supported a single user namespace where all the images were pulled. It was never used by the container tools since we have a finer control of the user namespaces.

@cgwalters
Copy link
Contributor

Right, there's no good use case for setting this globally now AFAIK.

While this obviously isn't exhaustive, at least a Github code search doesn't turn up any obvious uses of this in the wild.

(There are a lot of copies of the default...including some from people who are obviously committing the defaults that we write into their home directory into git...which wouldn't exist if we didn't write the defaults into a file at all)

@cgwalters
Copy link
Contributor

/approve

Copy link
Contributor

openshift-ci bot commented Jun 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, giuseppe

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rhatdan
Copy link
Member

rhatdan commented Jun 20, 2024

Would be good to fire off a podman test suite against this change.

giuseppe added a commit to giuseppe/libpod that referenced this pull request Jun 22, 2024
Signed-off-by: Giuseppe Scrivano <[email protected]>
giuseppe added a commit to giuseppe/buildah that referenced this pull request Jun 22, 2024
Signed-off-by: Giuseppe Scrivano <[email protected]>
giuseppe added a commit to giuseppe/buildah that referenced this pull request Jun 22, 2024
Signed-off-by: Giuseppe Scrivano <[email protected]>
drop the possibility to configure a remapping for all the layers in
the storage.

The feature dates back to the initial fork from Docker, that supported
a single user namespace where all the images were pulled. It was never
used by the container tools since we have a finer control of the user
namespaces.

Signed-off-by: Giuseppe Scrivano <[email protected]>
@giuseppe giuseppe changed the title [TEST] [DO NOT MERGE] store: drop remap-[ug]ids drop remap-[ug]ids Jun 24, 2024
@giuseppe giuseppe changed the title drop remap-[ug]ids store: drop remap-[ug]ids Jun 24, 2024
@giuseppe giuseppe marked this pull request as ready for review June 24, 2024 11:16
@giuseppe
Copy link
Member Author

tests passed. Ready for review

@rhatdan
Copy link
Member

rhatdan commented Jun 24, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jun 24, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 5b9c6d3 into containers:main Jun 24, 2024
18 checks passed
drivers/vfs/driver.go Show resolved Hide resolved
types/options.go Show resolved Hide resolved
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.

4 participants