diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-01-10 11:23:42 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-01-10 11:23:45 +0100 |
commit | 751c403d8b74d3e9211c59ee01872e1e2f45b258 (patch) | |
tree | 70ec2bd4187a1a36d21355caf16e0e67e3adfc5d /pkg/api/server | |
parent | f3fc10feb42930def6922fc050096ea38bafed7a (diff) | |
download | podman-751c403d8b74d3e9211c59ee01872e1e2f45b258.tar.gz podman-751c403d8b74d3e9211c59ee01872e1e2f45b258.tar.bz2 podman-751c403d8b74d3e9211c59ee01872e1e2f45b258.zip |
cp: drop check for rootless
rootless containers can use pause on cgroups v2.
Whether it is possible or not to use pause depends from multiple
conditions, such as:
- be on a cgroup v2 unified hierarchy,
- using systemd cgroup manager,
- the kernel has the freezer controller,
The last one may fail for root as well.
Instead of trying to catch all the possible conditions in Podman, let
the OCI runtime complain if pause cannot be performed.
Closes: https://github.com/containers/libpod/issues/4813
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/api/server')
0 files changed, 0 insertions, 0 deletions