summaryrefslogtreecommitdiffstats
path: root/catalog
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-03-18 16:52:06 +0100
committerLennart Poettering <lennart@poettering.net>2022-03-18 23:54:05 +0100
commitb016e77efd5ecf65027942420abd9478c2cd65a3 (patch)
tree3ead62fc59ba7da82e791c43baa614e2298b1fe9 /catalog
parenttimesyncd: add debug logging in case we can't touch /run/systemd/timesync/syn... (diff)
downloadsystemd-b016e77efd5ecf65027942420abd9478c2cd65a3.tar.xz
systemd-b016e77efd5ecf65027942420abd9478c2cd65a3.zip
timesyncd: generate a structure log message the first time we set the clock correctly
Usecase: later on we can use this to retroactively adjust log output in journalctl or similar on systems lacking an RTC: we just have to search for this sructured log message that indicates the first sync point and can then retroactively adjust the incorrect timestamps collected before that.
Diffstat (limited to 'catalog')
-rw-r--r--catalog/systemd.catalog.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/catalog/systemd.catalog.in b/catalog/systemd.catalog.in
index a5d7dc6f78..a3f05c0698 100644
--- a/catalog/systemd.catalog.in
+++ b/catalog/systemd.catalog.in
@@ -526,3 +526,11 @@ be updated to operate in a hotplug fashion without depending on
systemd-udev-settle.service:
@OFFENDING_UNITS@
+
+-- 7c8a41f37b764941a0e1780b1be2f037
+Subject: Initial clock synchronization
+Defined-By: systemd
+Support: %SUPPORT_URL%
+
+For the first time during the current boot an NTP synchronization has been
+acquired and the local system clock adjustment has been initiated.