podman/libpod/define
Matthew Heon 4d800a5f45 Store cgroup manager on a per-container basis
When we create a container, we assign a cgroup parent based on
the current cgroup manager in use. This parent is only usable
with the cgroup manager the container is created with, so if the
default cgroup manager is later changed or overridden, the
container will not be able to start.

To solve this, store the cgroup manager that created the
container in container configuration, so we can guarantee a
container with a systemd cgroup parent will always be started
with systemd cgroups.

Unfortunately, this is very difficult to test in CI, due to the
fact that we hard-code cgroup manager on all invocations of
Podman in CI.

Fixes #7830

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-10-08 15:25:06 -04:00
..
annotations.go add {generate,play} kube 2020-05-06 17:08:22 +02:00
config.go Add --umask flag for create, run 2020-07-21 14:22:30 -04:00
container_inspect.go Store cgroup manager on a per-container basis 2020-10-08 15:25:06 -04:00
containerstate.go v2 podman stats 2020-05-05 08:46:51 -05:00
errors.go Fix handling of remove of bogus volumes, networks and Pods 2020-09-29 15:52:43 -04:00
exec_codes.go Revert "Exec: use ErrorConmonRead" 2020-03-09 09:50:40 -04:00
healthchecks.go Fix remote integration for healthchecks 2020-05-20 14:43:01 -05:00
info.go Include cgroup manager in podman info output 2020-09-22 13:15:01 -04:00
pod_inspect.go Add support for slirp network for pods 2020-09-25 21:34:23 -04:00
podstate.go APIv2 review corrections #3 2020-01-25 15:09:09 -06:00
runtime.go Add support for containers.conf 2020-03-27 14:36:03 -04:00
version.go Refactor version handling in cmd tree 2020-09-18 15:13:58 -07:00