-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Build errors when copying files with extended attributes between stages #22902
Comments
This looks like something in the underlying file system is blocking setting of user xattr on the files. Please check if there is an SELinux issue? Try with setenforce 0 |
@rhatdan Thank you for following up!
|
A friendly reminder that this issue had no activity for 30 days. |
I just had the exact same issue trying to build the dockerfile from https://github.com/Mellanox/network-operator/ - I previously had to replace ~/.config/containers and one other place with symlinks to a local drive to fix xattr issues so it shouldn't be that. |
Issue Description
When trying to perform rootless build this Containerfile, build fails with error
copier: put: error setting extended attributes on "$file": setting value of extended attribute "user.containers.override_stat" on "$file": operation not permitted
after updatingpodman
to5.0.3
(along other system packages - I can't say for sure it wasn't introduced by something else changing on the host).The same Cointainerfile was building fine on the same system previously.
Steps to reproduce the issue
git clone -b 5.x --single-branch --depth 1 https://github.com/verdaccio/verdaccio && cd verdaccio
podman build --no-cache --pull --env NODE_OPTIONS='--no-network-family-autoselection --trace-warnings' -t verdaccio:v5.31.0
Describe the results you received
When trying to copy artifact between build stages, it exits with error:
Describe the results you expected
Build succeeds
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
Additional information
Similar and related issues
The text was updated successfully, but these errors were encountered: