mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
a35cad3b22
1. Add a check to unifiedResToSystemdProps that systemd is recent enough to support AllowedCPUs/AllowedMemoryNodes unit properties, and skip setting the property if it is not supported. Note that this is not an error as the setting is still applied to the underlying cgroupfs -- it's just systemd unit property that is being skipped. 2. In all the places we skip an unsupported property, warn about it. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>