]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
update TODO
authorLennart Poettering <lennart@poettering.net>
Mon, 16 Jan 2023 13:05:54 +0000 (14:05 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 16 Jan 2023 13:29:16 +0000 (14:29 +0100)
TODO

diff --git a/TODO b/TODO
index 899b6a1de1f068c037250d740b75923033a6a227..d95cbfaeb78c0a0cefdd3fc279a8280e8b5652fc 100644 (file)
--- a/TODO
+++ b/TODO
@@ -126,6 +126,17 @@ Deprecations and removals:
 
 Features:
 
+* split out execute.c into new "systemd-executor" binary. Then make PID 1 fork
+  that off via vfork(), and then let that executor do the hard work. Ultimately
+  the executor then gets replaced by the real binary sooner or later. Reason:
+  currently the intermediary "stub" process is a CoW trap that doubles memory
+  usage of PID 1 on each service start. Also, strictly speaking we are not
+  allowd to do NSS from the stub process yet we do anyway. Next steps would
+  then be maybe use CLONE_INTO_CGROUP for the executor, given that we don't
+  need glibc anymore in the stub process then. Then, switch nspawn to just be a
+  frontend for this too, so that we have to ways into the executor: via unit
+  files/dbus/varlin through PID1 and via cmdline/OCI through nspawn.
+
 * sd-stub: detect if we are running with uefi console output on serial, and if so
   automatically add console= to kernel cmdline matching the same port.