-
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
"Permission denied !" on a binary that has permission ! #5103
Comments
Could you check if this is an SELinux issue? setenforce 0? |
Does minikube have file capabilities? That could conflict with no new privileges |
interestingly it only has this issue in /var/lib folder but if I move it to /usr/local/bin I can execute it ! |
Is /var/lib directory mounted with the noexec option? |
Can you run |
I think this is probably a volume mount of |
@mheon you are right ! for anyone having same issue
I am just curious why same image and same container doesnt act same way on docker and podman |
Our volume mounts are, by default, mounted |
@mheon thank you very much for clarifying it ! it makes sense now ! I consider this issue closed for me, but I also recommend adding this to your website documentation for others |
while doing this PR to add podman as a driver to minikube (which will run a systemd inside a container using podman)
kubernetes/minikube#6515
I noticed the binary files that minikube copies into the podman container, are not executable.
because I had other issues with
podman cp
commandI decided to go into the container myself and use
wget
to download them and thenchmod +x
manually but I still get permission denied !!!this seems to be the only blocker to add run minikube in podman and I would appreciate any help on this
it worth noting that minikube creates the container with
--cgroup-manager cgroupfs
and
--privileged
and withsudo
(unlike docker it doesn't let me create my container without sudo)
versions :
$ podman version
Version: 1.7.0
RemoteAPI Version: 1
Go Version: go1.12.10
OS/Arch: linux/amd64
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.10
Release: 19.10
The text was updated successfully, but these errors were encountered: