1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-19 14:04:03 +03:00
Lennart Poettering dd0b3a9215 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.
2024-12-20 22:17:06 +01:00
..
2024-09-08 18:55:13 +09:00
2024-11-10 14:09:46 +01:00