chiark / gitweb /
TODO: update RTC, DST stuff
authorKay Sievers <kay@vrfy.org>
Sun, 4 Nov 2012 14:47:08 +0000 (15:47 +0100)
committerKay Sievers <kay@vrfy.org>
Sun, 4 Nov 2012 14:47:08 +0000 (15:47 +0100)
TODO

diff --git a/TODO b/TODO
index 3dd7290afcc1e9eb0c394b14022aec4f390c290d..3b0d8722967c2f0ee97ae52925cb94dccc48daef 100644 (file)
--- a/TODO
+++ b/TODO
@@ -22,14 +22,21 @@ F18:
 
 Features:
 
-* introduce ntp.service (or suchlike) as symlink that is used to arbitrate between various NTP implementations
-
-* timer units should get the ability to trigger:
-    a) when CLOCK_REALTIME makes jumps (TFD_TIMER_CANCEL_ON_SET)
-    b) when DST jumps takes place (glibc's zoneinfo "mess")
-  We want to be able to schedule an event when the system time changes by user
-  request, or DST change takes effect, to update the rtc-in-localtime and sys_tz
-  of the kernel when needed.
+* introduce ntp.service (or suchlike) as symlink that is used to arbitrate between various
+  NTP implementations
+
+* timer units should get the ability to trigger when:
+    - CLOCK_REALTIME makes jumps (TFD_TIMER_CANCEL_ON_SET)
+    - DST changes
+
+* update the kernel's TZ (sys_tz) when DST changes
+
+* sync down the system time to the RTC when:
+    - CLOCK_REALTIME makes jumps (the user explicitely requested a time set)
+    - DST changes && ntp is active && RTC-in-localtime (never do it without ntp)
+  This takes care of syncing ntpdate updates to the RTC, and DST updates for localtime
+  mode, it will never touch the RTC if the no reliale time source is active or the
+  user did not request anything like it.
 
 * When we begin with system shutdown all kind of suspend/hibernation should be prohibited until shutdown/reboot