diff options
author | Jason T. Greene <jason.greene@redhat.com> | 2022-05-20 21:19:38 -0500 |
---|---|---|
committer | Jason T. Greene <jason.greene@redhat.com> | 2022-05-21 09:28:52 -0500 |
commit | 94e82121bf73c163d86d99fa37b0d64adf996fba (patch) | |
tree | 1b223ffd6d68b3fb701efe5eed5799aa344cac24 /libpod | |
parent | 5c51e1d26ea7cb942008cf0e740bc16cb44bb2cf (diff) | |
download | podman-94e82121bf73c163d86d99fa37b0d64adf996fba.tar.gz podman-94e82121bf73c163d86d99fa37b0d64adf996fba.tar.bz2 podman-94e82121bf73c163d86d99fa37b0d64adf996fba.zip |
Support running podman under a root v2 cgroup
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
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 d7683cce9..ae1039157 100644 --- a/libpod/container_internal_linux.go +++ b/libpod/container_internal_linux.go @@ -3108,7 +3108,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 } |