diff options
author | Ralf Haferkamp <rhafer@suse.com> | 2020-06-26 11:14:35 +0200 |
---|---|---|
committer | Ralf Haferkamp <rhafer@suse.com> | 2020-06-26 11:17:32 +0200 |
commit | 43c19966f67fed9ec6551efcd0a96231fbf40e56 (patch) | |
tree | a58e14991d6811e5b1b4ef5b2216e531f067c30b /libpod/container_top_linux.go | |
parent | bb11b428798094f33b3ec6102d2e52a3baf46324 (diff) | |
download | podman-43c19966f67fed9ec6551efcd0a96231fbf40e56.tar.gz podman-43c19966f67fed9ec6551efcd0a96231fbf40e56.tar.bz2 podman-43c19966f67fed9ec6551efcd0a96231fbf40e56.zip |
specgen: fix order for setting rlimits
Also make sure that the limits we set for rootless are not higher than
what we'd set for root containers.
Rootless containers failed to start when the calling user already
had ulimit (e.g. on NOFILE) set.
This is basically a cherry-pick of 76f8efc0d0d into specgen
Signed-off-by: Ralf Haferkamp <rhafer@suse.com>
Diffstat (limited to 'libpod/container_top_linux.go')
0 files changed, 0 insertions, 0 deletions