From 24ef21ebdf67b64b2a19de7cd65358771f0be732 Mon Sep 17 00:00:00 2001 From: "Jason T. Greene" Date: Fri, 20 May 2022 21:19:38 -0500 Subject: Support running podman under a root v2 cgroup Signed-off-by: Jason T. Greene --- libpod/container_internal_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpod') 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 } -- cgit v1.2.3-54-g00ecf