-
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
Privileged run does not allow mounting shm tmpfs #3200
Comments
Must be something different in the way we are setting up /dev versus Docker? |
Hm, no this does not work either:
Although, the warnings should not happen at all, right? Can this be the problem here? They seem to originate from: |
Worked for me on Fedora 30
|
Thanks for trying it out on fedora. I think it could be related to btrfs, but I have to dig deeper into the code now. |
@saschagrunert, can you try it out with the latest podman? I assume your're running on openSUSE and we just recently fixed a bug where podman applied the apparmor profile despite the --privileged flag. |
Ah nice thanks for the hint, the issue seems fixed on the master branch. I still get the warnings (only on btrfs driver usage):
Should I look deeper into that or is it already known? |
Closing for now since I assume the fix is included in one of the following versions. |
It would be great to check what's behind this warning. Thanks 🙏 |
So this is Overlayfs running on a BTRFS disk? |
I opened up a new issue about the warning: opencontainers/runtime-tools#695 |
/kind bug
Description/Steps to reproduce the issue
If I run a container in privileged mode, then I am not able to do something like this:
Describe the results you received:
The image saschagrunert/crio-playground contains a running crio instance in a background tmux session, whereas the session can be attached via
tmux at
. There we see now:Describe the results you expected:
It should work in privileged mode, like with docker:
Output of
podman version
:Output of
podman info --debug
:The text was updated successfully, but these errors were encountered: