Add --property=Delegate=yes to systemd-run command #3033
Labels
area/provider/podman
Issues or PRs related to podman
kind/documentation
Categorizes issue or PR as related to documentation.
#2981 adds documentation to run kind using systemd-run. However, it is missing
--property=Delegate=yes
which should be added.I think you should be setting
Delegate=yes
if a (sub-)process is managing a subhierarchy of cgroups. Even if it might work without it, setting the property is more correct and the documentation should say to do it. I have not looked into when/why it is working fine withoutDelegate=yes
, I suppose it might be expected to work because the user has access to their cgroup hierarchy anyway. But, it seems to me that adding it is more correct.I think we are in the
i-like-islands
case as mentioned in https://systemd.io/CGROUP_DELEGATION/#three-scenariosThe text was updated successfully, but these errors were encountered: