Open legobeat opened 1 month ago
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 Try in rootfull mode. Most likely this is something about your homedir settings.
@giuseppe @nalind Thoughts?
@rhatdan Thank you for following up! Does the below provide the info? Commands are executed from the same cwd where build is attempted, a subdirectory of user home (which is a bind-mount on the host itself, in case that could makes a difference)
$ sudo getenforce
Disabled
$ rm -f foo; echo test > foo
$ setfattr -n user.containers.override_stat -v bar foo
$ getfattr -n user.containers.override_stat foo
# file: foo
user.containers.override_stat="bar"
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