Apparmor status incorrectly detected on Arch/Manjaro #7545
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind bug
Description
When running
--security-opt apparmor=unconfined
I get this error:Error: Apparmor profile "unconfined" specified, but Apparmor is not enabled on this system
However, Apparmor is enabled on my system
So I'm guessing perhaps I am missing some flag that allows podman or the container to detect this?
This is the command I'm executing.. Actually it's
kind
0.8.1 that is executing itI'm running Manjaro/Arch linux : Linux ricktop 5.4.60-2-MANJARO #1 SMP PREEMPT Sat Aug 22 14:35:41 UTC 2020 x86_64 GNU/Linux
Steps to reproduce the issue:
Enable Apparmor
Run
podman run --security-opt apparmor=unconfined fedora-minimal cat /proc/self/uid_map
Describe the results you received:
Error: Apparmor profile "unconfined" specified, but Apparmor is not enabled on this system
Describe the results you expected:
Something else.
Additional information you deem important (e.g. issue happens only occasionally):
This happens whether I run with or without
--privileged
and with or withoutsudo
So it seems like it's a sanity check that occurs fairly early on.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
No
Here is the complete command being executed by kind v 0.8.1
The text was updated successfully, but these errors were encountered: