-
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
sudo
fails during rootless build when using btrfs
graph driver
#21395
Comments
any reason for preferring btrfs over overlay? Our core team doesn't use or maintain the btrfs backend. It's mainly driven by community efforts. I'd suggest to follow the warning given by |
No particular reason except thinking that native |
Usually this happens because of some additional security tool that has been installed or the directory where the setuid/setfcap files are installed is mounted with NOSUID. Another cause could be if the user account is running with nonewprivs set or does not have CAP_SETUID and CAP_SETGID in the bounding set. |
Here is the uid: ... I haven't knowingly installed any other security tool. |
I close this one as it sounds more like environment issue. You need to make sure setuid is allowed for the fs/user |
Issue Description
When a containerfile is setup to run
sudo
as part of container build, thesudo
invocation fails when usingbtrfs
as storage backend.The same containerfile works when
overlay
is used.Steps to reproduce the issue
Steps to reproduce the issue
podman buildx build -f containerfile
Describe the results you received
Describe the results you expected
Successful build.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: