Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --property=Delegate=yes to systemd-run command #3033

Open
benzea opened this issue Dec 19, 2022 · 0 comments
Open

Add --property=Delegate=yes to systemd-run command #3033

benzea opened this issue Dec 19, 2022 · 0 comments
Labels
area/provider/podman Issues or PRs related to podman kind/documentation Categorizes issue or PR as related to documentation.

Comments

@benzea
Copy link

benzea commented Dec 19, 2022

#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 without Delegate=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-scenarios

@benzea benzea added the kind/documentation Categorizes issue or PR as related to documentation. label Dec 19, 2022
@BenTheElder BenTheElder added the area/provider/podman Issues or PRs related to podman label Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/provider/podman Issues or PRs related to podman kind/documentation Categorizes issue or PR as related to documentation.
Projects
None yet
Development

No branches or pull requests

2 participants