Skip to content

compat API build: fix invalid argument on untar lchown #21893

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

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

Conversation

pdericson
Copy link

This is needed when using compat API to build where your UID is larger than your subuid count.

e.g.

potentially insufficient UIDs or GIDs available in user namespace (requested <UID>:<GID> for /var/tmp/libpod_builderXXX): Check /etc/subuid and /
etc/subgid if configured locally and run \"podman system migrate\": lchown /var/tmp/libpod_builderXXX: invalid argument

This can be verified with:

podman unshare chown `id -u`:`id -g` <file>  # Will fail with error above if your uid is larger than your subuid range
chmod `id -u`:`id -g` <file>  # Will always succeed.

Does this PR introduce a user-facing change?

None

Copy link
Contributor

openshift-ci bot commented Feb 29, 2024

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added the do-not-merge/release-note-label-needed Enforce release-note requirement, even if just None label Feb 29, 2024
Copy link
Contributor

openshift-ci bot commented Feb 29, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: pdericson
Once this PR has been reviewed and has the lgtm label, please assign mheon for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

@github-actions github-actions bot added the kind/api-change Change to remote API; merits scrutiny label Feb 29, 2024
Copy link

Cockpit tests failed for commit 40e24c3. @martinpitt, @jelly, @mvollmer please check.

@baude
Copy link
Member

baude commented Mar 2, 2024

please provide a test

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 23, 2024
@openshift-merge-robot
Copy link
Collaborator

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link

A friendly reminder that this PR had no activity for 30 days.

@majoer
Copy link

majoer commented Aug 5, 2024

Is this issue the cause for the same error I reported in Testcontainers?

testcontainers/testcontainers-java#9059

@rhatdan
Copy link
Member

rhatdan commented Aug 5, 2024

This needs a rebase.

@giuseppe PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/release-note-label-needed Enforce release-note requirement, even if just None kind/api-change Change to remote API; merits scrutiny needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. stale-pr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants