diff --git a/internal/pkg/runtime/launch/launcher_linux.go b/internal/pkg/runtime/launch/launcher_linux.go index 2fd2e8c7b..9b6e7ceda 100644 --- a/internal/pkg/runtime/launch/launcher_linux.go +++ b/internal/pkg/runtime/launch/launcher_linux.go @@ -1065,7 +1065,6 @@ func (l *Launcher) setCgroups(instanceName string) error { } hidePid := hidepidProc() - // If we are an instance, always use a cgroup if possible, to enable stats. useCG := l.uid == 0 && !l.cfg.Namespaces.User // non-root needs cgroups v2 unified mode + systemd as cgroups manager.