-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 Error: mount proc to /proc: Operation not permitted: OCI permission denied (Chromeos/Crostini/Debian 10) #9813
Comments
can you show the output of Also, does the command
|
unfortunately: unshare -pfr --mount-proc=/proc echo hi
am I doomed? |
short answer: probably yes, depending if you can skip the lxcfs mounts. longer answer: you need a I am going to close the issue because there is nothing we can do from Podman, but feel free to keep the discussion going |
hm I can umount those but..
no luck |
reopened. can do do when running as rootless, podman creates a separate user+mount namespace. |
wish I could.
|
another possibility is to do |
Great! That probably worked.
|
For the purpose of documentation.Found a bug report for chrome os for this: https://bugs.chromium.org/p/chromium/issues/detail?id=1087937 so maybe this gets addressed in the future by google as default but in the meantime just hit alt+ctrl+t to open crosh then open termina to get into the vm using
and here enter
and restart the lxc container
the mount points below /proc will still be there but podman won't get a permission denied anymore. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Podman does not seem to be able to start a container.
tl;dr:
Steps to reproduce the issue:
Long Version:
According to https://podman.io/getting-started/installation
this is only needed on real debian kernels while crostini uses its own so I skipped that.
uname -a is
going on with
Since I wanted to go rootless I went on installing this
results in..
installed.
this is on btrfs so I changed /etc/containers/storage.conf accordingly. Also the default which is "overlay" is not supported by the kernel.
so far so good. Next: https://github.com/containers/podman/blob/master/docs/tutorials/rootless_tutorial.md
Now pull is working
But unfortunately I get a permission denied when trying to start the container
Debug Output:
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?
Yes
The text was updated successfully, but these errors were encountered: