]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
update TODO 31127/head
authorLennart Poettering <lennart@poettering.net>
Tue, 6 Feb 2024 17:33:33 +0000 (18:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 Feb 2024 09:17:57 +0000 (10:17 +0100)
TODO

diff --git a/TODO b/TODO
index a64a6a0c1c29adc03dcaa9ea4d3c44736532cb52..204e8774fe21e176291ae173c6007b2866b6485b 100644 (file)
--- a/TODO
+++ b/TODO
@@ -148,6 +148,11 @@ Features:
 
 * varlink: extend varlink IDL macros to include documentation strings
 
+* Introduce a CGroupRef structure, inspired by PidRef. Should contain cgroup
+  path, cgroup id, and cgroup fd. Use it to continously pin all v2 cgroups via
+  a cgroup_ref field in the CGroupRuntime structure. Eventually switch things
+  over to do all cgroupfs access only via that structure's fd.
+
 * Get rid of the symlinks in /run/systemd/units/* and exclusively use cgroupfs
   xattrs to convey info about invocation ids, logging settings and so on.
   support for cgroupfs xattrs in the "trusted." namespace was added in linux
@@ -334,12 +339,6 @@ Features:
   /var/lib/sysexts/ which can be used to place only DDIs that shall be used as
   sysext
 
-* in pid1: move out all cgroup state settings from Unit into a new object
-  CGroupState or so which is allocated when we realize the unit into a cgroup,
-  and then remains referenced by it. The new object should also carry an fd to
-  the realized cgroup, to pin it (and later execute all cgroup operations over,
-  once we drop cgroupv1 compat).
-
 * Varlinkification of the following command line tools, to open them up to
   other programs via IPC:
   - bootctl