Skip to content
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 driver shouldn't define /sys/fs/cgroup vol #2358

Merged
merged 1 commit into from
Oct 12, 2019

Conversation

maxamillion
Copy link
Contributor

Since podman version 0.8.5 it has auto detected when the mounting of
/sys/fs/cgroup is necessary and only mounts a subset of that dir as
needed by the container runtime. In newer versions, explicitly
defining this actually fails with an OCI runtime permission denied
error. Therefore, not only is this not necessary but can cause
failures for users.

Signed-off-by: Adam Miller admiller@redhat.com

Please include details of what it is, how to use it, how it's been tested
Please include an entry in the CHANGELOG.md if the change will impact users.

PR Type

  • Docs Pull Request

Since podman version 0.8.5 it has auto detected when the mounting of
/sys/fs/cgroup is necessary and only mounts a subset of that dir as
needed by the container runtime. In newer versions, explicitly
defining this actually fails with an OCI runtime permission denied
error. Therefore, not only is this not necessary but can cause
failures for users.

Signed-off-by: Adam Miller <admiller@redhat.com>
@maxamillion
Copy link
Contributor Author

Travis CI failures look unrelated since the failure is in docker functional tests and this is a docs change on something not docker.

@decentral1se
Copy link
Contributor

Thanks! RE: CI, we need to merge #2354 first.

@ssbarnea ssbarnea merged commit d6cdff0 into ansible:master Oct 12, 2019
@perlun
Copy link
Contributor

perlun commented Oct 15, 2019

@maxamillion Thank you for this! 👍

@decentral1se This is exactly the problem I mentioned on IRC the other day. Would there be a chance to get this removed from the (published) 2.22 docs at https://molecule.readthedocs.io/en/stable/configuration.html#podman as well? Right now, the docs tend to lure the reader into a configuration that is very likely to fail (on newer podman versions), so it would be great to get this sorted out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants