From 997b57dccf82beb566366b81ac4242c88ef116ef Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 30 Mar 2022 15:49:04 +0200 Subject: [PATCH] systemd: enable all cgroups when running as a service enable cgroup delegation when running as a systemd service so all the available controllers are correctly detected. Closes: https://github.com/containers/podman/issues/13710 Signed-off-by: Giuseppe Scrivano --- contrib/systemd/system/podman.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/systemd/system/podman.service.in b/contrib/systemd/system/podman.service.in index 9a7e04fd4a..c1a5952b5c 100644 --- a/contrib/systemd/system/podman.service.in +++ b/contrib/systemd/system/podman.service.in @@ -6,6 +6,7 @@ Documentation=man:podman-system-service(1) StartLimitIntervalSec=0 [Service] +Delegate=true Type=exec KillMode=process Environment=LOGGING="--log-level=info"