]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
update TODO
authorLennart Poettering <lennart@poettering.net>
Tue, 12 Jul 2022 21:52:47 +0000 (23:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 14 Jul 2022 08:24:08 +0000 (10:24 +0200)
TODO

diff --git a/TODO b/TODO
index e5dcea24d5975b40c6ee71baf7c1047e18ed5202..6877a650d499f682dc10b207fcb0a1ec3e5fd0eb 100644 (file)
--- a/TODO
+++ b/TODO
@@ -79,6 +79,18 @@ Janitorial Clean-ups:
 
 Features:
 
+* define a JSON format for units, separating out unit definitions from unit
+  runtime state. Then, expose it:
+
+  1. Add Describe() method to Unit D-Bus object that returns a JSON object
+     about the unit.
+  2. Expose this natively via Varlink, in similar style
+  3. Use it when invoking binaries (i.e. make PID 1 fork off systemd-executor
+     binary which reads the JSON definition and runs it), to address the cow
+     trap issue and the fact that NSS is actually forbidden in
+     forked-but-not-exec'ed children
+  4. Add varlink API to run transient units based on provided JSON definitions
+
 * show SUPPORT_END= data in "hostnamectl" output (and thus also expose a prop
   for this on dbus)