]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
update TODO 26355/head
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Feb 2023 12:40:10 +0000 (13:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 2 Mar 2023 09:18:24 +0000 (10:18 +0100)
TODO

diff --git a/TODO b/TODO
index 263c4b4e6b51325d23830f72d91d21e607005077..bf4c55cb5b915590b51f9fce7b84ad64665dc8f7 100644 (file)
--- a/TODO
+++ b/TODO
@@ -164,6 +164,16 @@ Features:
 * SIGRTMIN+18 and memory pressure handling should still be added to: hostnamed,
   localed, oomd, timedated.
 
+* journald: also collect CLOCK_BOOTTIME timestamps per log entry. Then, derive
+  "corrected" CLOCK_REALTIME information on display from that and the timestamp
+  info of the newest entry of the specificy boot (as identified by the boot
+  ID). This way, if a system comes up without a valid clock but acquires a
+  better clock later, we can "fix" older entry timestamps on display, by
+  calculating backwards. We cannot use CLOCK_MONOTONIC for this, since it does
+  not account for suspend phases. This would then also enable us to correct the
+  kmsg timestamping we consume (where we erroneously assume the clock was in
+  CLOCK_MONOTONIC, but it actually is CLOCK_BOOTTIME as per kernel).
+
 * sd-journal puts a limit on parallel journal files to view at once. journald
   should probably honour that same limit (JOURNAL_FILES_MAX) when vacuuming to
   ensure we never generate more files than we can actually view.