It looks like you're on a Cgroups v1 system, which would explain why Cgroups are not available to a non-root user (they are only usable as rootless with Cgroups v2 systems). We should not be warning the user about this, though.

I do note that your Podman version is very old; it's quite possible we've fixed this in the ~18 months since 2.2.x was released. Can you try a more recent version?

Thanks,
Matt Heon

On Fri, Feb 18, 2022 at 5:13 AM None via Podman <podman@lists.podman.io> wrote:
There is somthing warning, when I add "--pid=host".
How can I get this warning gone?

OS: 8.3.2011
Podman: 2.2.1

[rsync@rsyncdk2 ~]$ podman run --rm --pid=host fb7ad16314ee sleep 3
WARN[0000] cannot toggle freezer: cgroups not configured for container
WARN[0000] lstat : no such file or directory
_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io