diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-12-02 22:07:55 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-12-03 10:03:39 +0100 |
commit | 9a33e064a16c2d281d1946c8efa89599624e7a70 (patch) | |
tree | 97d46809546945eac7a7421e7904bdc2aeed87e4 /libpod/oci_conmon_exec_linux.go | |
parent | 9c5fe954cca8b4bcb8f552645e1f52a5d9824134 (diff) | |
download | podman-9a33e064a16c2d281d1946c8efa89599624e7a70.tar.gz podman-9a33e064a16c2d281d1946c8efa89599624e7a70.tar.bz2 podman-9a33e064a16c2d281d1946c8efa89599624e7a70.zip |
podman, exec: move conmon to the correct cgroup
move the conmon process to the conmon cgroup also on exec.
The previous implementation would fail to move the conmon process as
the systemd unit already exists so its creation would fail.
When the unit cannot be created, attempt to directly join the cgroup
instead.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod/oci_conmon_exec_linux.go')
0 files changed, 0 insertions, 0 deletions