diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-05-25 08:53:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-25 08:53:15 -0400 |
commit | 1dcd1c970d3438bd6044cce0aba9b7258cb6849d (patch) | |
tree | caba8a5ca67cb093c456f4f532d03bdff4591d7f /libpod | |
parent | da26439e2976cf1d6da0f9078e9c7eddebbab45c (diff) | |
parent | 94e82121bf73c163d86d99fa37b0d64adf996fba (diff) | |
download | podman-1dcd1c970d3438bd6044cce0aba9b7258cb6849d.tar.gz podman-1dcd1c970d3438bd6044cce0aba9b7258cb6849d.tar.bz2 podman-1dcd1c970d3438bd6044cce0aba9b7258cb6849d.zip |
Merge pull request #14308 from n1hility/root-cgroup
Support running podman under a root v2 cgroup
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/container_internal_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go index 82e5fa992..298eb1947 100644 --- a/libpod/container_internal_linux.go +++ b/libpod/container_internal_linux.go @@ -3109,7 +3109,7 @@ func (c *Container) getOCICgroupPath() (string, error) { case c.config.NoCgroups: return "", nil case c.config.CgroupsMode == cgroupSplit: - selfCgroup, err := utils.GetOwnCgroup() + selfCgroup, err := utils.GetOwnCgroupDisallowRoot() if err != nil { return "", err } |