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

buildah: flags: 0x1000: permission denied #5612

Open
1 task done
distorhead opened this issue May 5, 2023 · 0 comments
Open
1 task done

buildah: flags: 0x1000: permission denied #5612

distorhead opened this issue May 5, 2023 · 0 comments

Comments

@distorhead
Copy link
Member

distorhead commented May 5, 2023

Before proceeding

  • I didn't find a similar issue

Version

1.2.230

Info

The complete error message may look as follows:

time="2021-12-06T11:23:23Z" level=debug msg="unable to create kernel-style whiteout: operation not permitted"
time="2021-12-06T11:23:23Z" level=debug msg="[graphdriver] trying provided driver \"overlay\""
time="2021-12-06T11:23:23Z" level=debug msg="overlay: mount_program=/usr/bin/fuse-overlayfs"
Running time 0.01 seconds
Error: unable to get buildah client: unable to create new Buildah instance with mode "native-rootless": unable to get storage: mount /home/build/.local/share/containers/storage/overlay:/home/build/.local/share/containers/storage/overlay, flags: 0x1000: permission denied
time="2021-12-06T11:23:23Z" level=error msg="exit status 1"

How to fix

Disable AppArmor and seccomp profiles with --security-opt seccomp=unconfined and --security-opt apparmor=unconfined or add special annotations to a Pod. Details:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant