-
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
podman 1.4.0 requires apparmor module active in kernel #3331
Comments
@vrothberg Mind taking a look here? |
@bvdeenen most of us are much more experienced with SELinux then Apparmor. Any chance you could look at the code and Open a PR? |
I just had a look and believe to have a fix. I'll wrap up a PR, so you can test if that solves the issue. |
Do not try to load the default profile when AppArmor is disabled on the host. Fixes: containers#3331 Signed-off-by: Valentin Rothberg <[email protected]>
#3334 should do the trick. I am currently restricted with bandwidth and cannot set up a new VM for testing. |
I'll have a look in a few hours. I'm travelling and on a very limited bandwidth, so I'm not sure I can build runc. Depends on how much stuff I have to pull in. |
Using podman on Void Linux, I found that apparmor needs to be installed, and activated in the kernel in order to
podman run
any image. When not enabled in the kernel, itpodman run
will abort with anbroken pipe
error.Enabling apparmor in the kernel (adding
apparmor=1 security=apparmor
to the kernel command line) was enough to make the issue go away.Full details on the void linux reddit page:
The text was updated successfully, but these errors were encountered: