containers / crun

A fast and lightweight fully featured OCI runtime and C library for running containers
GNU General Public License v2.0
2.87k stars 294 forks source link

cgroup: use MemoryMax instead of MemoryLimit #1490

Closed giuseppe closed 1 week ago

giuseppe commented 1 week ago

fix the following warning when setting the memorylimit on the systemd unit:

systemd[4299]: crun-foo.scope: cgroup-compat: Applying MemoryLimit=10000000 as MemoryMax=

Closes: https://github.com/containers/crun/issues/1489

rhatdan commented 1 week ago

LGTM

packit-as-a-service[bot] commented 1 week ago

podman system tests failed. @containers/packit-build please check.