1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-18 10:04:04 +03:00
Lennart Poettering 94634b4b03 pid1: add D-Bus API for removing delegated subcgroups
When running unprivileged containers, we run into a scenario where an
unpriv owned cgroup has a subcgroup delegated to another user (i.e. the
container's own UIDs). When the owner of that cgroup dies without
cleaning it up then the unpriv service manager might encounter a cgroup
it cannot delete anymore.

Let's address that: let's expose a method call on the service manager
(primarly in PID1) that can be used to delete a subcgroup of a unit one
owns. This would then allow the unpriv service manager to ask the priv
service manager to get rid of such a cgroup.

This commit only adds the method call, the next commit then adds the
code that makes use of this.
2025-01-08 15:27:25 +01:00
..
2024-12-25 17:00:31 +01:00
2023-12-25 09:15:53 +01:00
2024-11-24 01:11:42 +09:00
2024-11-26 17:28:14 +01:00
2024-12-25 17:00:31 +01:00
2024-12-25 17:00:31 +01:00
2024-12-25 17:00:31 +01:00
2024-12-25 17:00:31 +01:00
2024-12-25 17:00:31 +01:00
2024-12-25 17:00:31 +01:00
2024-12-25 17:00:31 +01:00
2024-12-25 17:00:31 +01:00
2024-11-06 19:06:47 +09:00
2024-12-25 17:00:31 +01:00
2023-12-26 08:59:53 +01:00
2023-12-26 08:59:53 +01:00
2024-12-25 17:00:31 +01:00
2024-11-24 01:11:42 +09:00
2023-12-26 13:10:36 +01:00
2024-11-24 01:11:42 +09:00
2024-11-24 01:11:42 +09:00
2024-11-24 01:11:42 +09:00
2024-12-25 17:00:31 +01:00
2024-11-24 01:11:42 +09:00
2023-12-24 09:32:26 +01:00
2024-12-25 17:00:31 +01:00
2024-11-06 19:06:40 +09:00
2024-12-25 17:00:31 +01:00
2024-12-25 17:00:31 +01:00
2024-11-18 15:18:26 +09:00