[cgroups2] Don't enable controllers in the leaf cgroup.

We cannot enable all the controllers in the leaf cgroup because
we also put the container process in the leaf cgroup, which violates
the no internal process constraint.

For instance, if we enable the memory controller in the leaf cgroup
and then try and move a process into the leaf cgroup the operation
will fail with EBUSY.

If a container wants to manage their own cgroups, they will need to
move their process into a new cgroup _before_ they enable controllers.
1 file changed
tree: 3af75c07bc8d5091358f5e1f02384ee5d40050e2
  1. 3rdparty/
  2. bin/
  3. cmake/
  4. docs/
  5. include/
  6. m4/
  7. site/
  8. src/
  9. support/
  10. .asf.yaml
  11. .gitattributes
  12. bootstrap
  13. CHANGELOG
  14. CMakeLists.txt
  15. configure.ac
  16. Doxyfile
  17. LICENSE
  18. Makefile.am
  19. mesos.pc.in
  20. NOTICE
  21. README.md
README.md

Apache Mesos

Apache Mesos is a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks. It can run Hadoop, Jenkins, Spark, Aurora, and other frameworks on a dynamically shared pool of nodes.

Visit us at mesos.apache.org.

Mailing Lists

Documentation

Documentation is available in the docs/ directory. Additionally, a rendered HTML version can be found on the Mesos website's Documentation page.

Installation

Instructions are included on the Getting Started page.

License

Apache Mesos is licensed under the Apache License, Version 2.0.

For additional information, see the LICENSE and NOTICE files.