diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-02-05 13:58:58 -0500 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-02-06 10:20:54 -0500 |
commit | eed2ad9ef257fab11f76589c68f98bd595dd4396 (patch) | |
tree | 092ba66ddaaa2e201e7c7c215c43c0bc40c23068 /contrib/systemd | |
parent | fc0673f5612368e0d90173bb061f4b257d08b885 (diff) | |
download | podman-eed2ad9ef257fab11f76589c68f98bd595dd4396.tar.gz podman-eed2ad9ef257fab11f76589c68f98bd595dd4396.tar.bz2 podman-eed2ad9ef257fab11f76589c68f98bd595dd4396.zip |
Only modify conmon cgroup if we have running containers
If there are no running containers - for example, if the pod was
just created - the cgroup in question may not exist (under
certain circumstances that we're not 100% sure about). However,
regardless, we don't need to set a PID limit, as nothing will be
making cleanup processes (no running conmon processes), so not
changing the cgroup is safe regardless.
Fixes #5072
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'contrib/systemd')
0 files changed, 0 insertions, 0 deletions