chiark / gitweb /
update TODO
[elogind.git] / TODO
diff --git a/TODO b/TODO
index 1c33ead227e904191569bb1c8e8ecb3d32b0511b..2488ee3b762bd7b0ca53cbca3d59a2527d9e6c9f 100644 (file)
--- a/TODO
+++ b/TODO
@@ -17,23 +17,107 @@ F18:
 
 * Retest multi-seat
 
+* add rpm macros for %rulesdir, %hwdbdir, update rules/hwdb call
+
 Features:
 
-* drop --follow from systemctl
+* add API to close/reopen/get fd for journal client fd in libsystemd-journal.
 
-* don't show cgroup in "systemctl status" if empty/non-existant, especially for foreign .mount units
+* maybe add API to send pairs of iovecs via sd_journal_send
 
-* timedated: export boolean that clarifies whether NTP is even available
+* fallback to /dev/log based logging in libsystemd-journal, if we can't log natively?
 
-* timedated: refuse time changes when NTP is on
+* declare the local journal protocol stable in the wiki interface chart
 
-* journald: don't make SystemMinFileSize= configurable
+* introduce ntp.service (or suchlike) as symlink that is used to arbitrate between various
+  NTP implementations
 
-* clean up date formatting and parsing so that all absolute/relative timestamps we format can also be parsed
+* sd-journal: don't return fields > a threshold by default
+* journal: reuse XZ context
+* sd-journal: speed up sd_journal_get_data() with transparent hash table in bg
+
+* 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/timezone 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 reliable 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
+
+* When we update the kernel all kind of hibernation should be prohibited until shutdown/reboot
+
+* hwdb:
+  - implement conditional properties (dmi matches)
+  - hwdb --filter=ID_DRIVE_*
+  - find out what to do for blockdevs and skipping scsi modaliases
+  - move writing code to src/libudev/libudev-hwdb-private.c
+
+* if booted in "quiet" mode, and an error happens, turn on status output again, so that the emergency mode isn't totally surprising
+
+* localectl: add listing support for X11 keymaps, by parsing /usr/share/X11/xkb/rules/xorg.lst
+
+* libunwind support for coredump pattern hook, and includes this in
+  the message for coredumps. After all, libunwind is now capable to
+  unwind coredumps since a few weeks ago. This probably requires that
+  we have nice support for multi-line messages on display in logs-show.c.
+
+* figure out relation of --all and --full in the various tools
+
+* journal: when writing journal auto-rotate if time jumps backwards
+
+* introduce new "journal" group in place of adm? introduce groups for the various mini daemons?
+
+* journal: add a setgid "adm" utility to invoke from libsystemd-journal, which passes fds via STDOUT and does PK access
+
+* link up selected blog stories from man pages?
+
+* journactl: support negative filtering, i.e. FOOBAR!="waldo",
+  and !FOOBAR for events without FOOBAR.
+
+* print nice message from systemctl --failed if there are no entries shown, and hook that into ExecStartPre of rescue.service/emergency.service
+
+* add libsystemd-password or so to query passwords during boot using the password agent logic
+
+* journal: when rotating, copy over old acls/access mode
+
+* journal: document why we do not give ownership to journal files to the user that created them but use FS ACLs for that
+
+* journal: send out marker messages every now and then, and immediately sync with fdatasync() afterwards, in order to have hourly guaranteed syncs.
 
-* introduce hybrid-sleep.target
+* journal: when we haven't written anything in a while, sync to disk and mark file as offline, in order to be more often than not in a clean state
 
-* _SOURCE_MONOTONIC_TIMESTAMP entries from the kernel seem to be off by 1000000
+* journal-send.c, log.c: when the log socket is clogged, and we drop, count this and write a message about this when it gets unclogged again.
+
+* If we show an error about a unit (such as not showing up) and it has no Description string, then show a description string generated form the reverse of unit_name_mangle().
+
+* fedup: add --unit to systemctl switch-root somehow
+* fedup: don't delete initrd on switch-root
+* fedup: generator
+
+* journal: find a way to allow dropping history early, based on priority, other rules
+
+* journal: When used on NFS, check payload hashes
+
+* journal: When used on NFS make sure wake up sd_journal_wait() every 2s, to handle missing inotify
+
+* document that people can use file system ACLs to manage access to journal files, with example
+
+* don't show cgroup in "systemctl status" if empty/non-existent, especially for foreign .mount units
+
+* timedated: export boolean that clarifies whether NTP is even available
+
+* timedated: refuse time changes when NTP is on
+
+* clean up date formatting and parsing so that all absolute/relative timestamps we format can also be parsed
 
 * document unit_name_mangle()
 
@@ -88,18 +172,11 @@ Features:
 
 * need to update LGPL2.1 text to newest version (with updated FSF address)
 
-* allow users from "wheel" to start/stop services
-
 * systemctl: when powering down/suspending check for inhibitors, and warn.
 
 * instantiated [Install] for target units
   https://bugs.freedesktop.org/show_bug.cgi?id=54377
 
-* support *static* (/run) hibernate inhibitors. All rpm -i actions should completely prevent any
-  sort of hibernate action until the next reboot. If the kernel or any other base tool is replaced
-  by rpm, the resume path might fail, the for resume needed kernel might even be uninstalled, and
-  the whole situation leads directly to data loss.
-
 * move debug shell to tty6 and make sure this doesn't break the gettys on tty6
 
 * move cryptsetup key caching into kernel keyctl?
@@ -132,26 +209,18 @@ Features:
 
 * journald: check whether it is OK if the client can still modify delivered journal entries
 
-* json: properly serialize multiple fields with the same name per entry
-
 * journal live copy, based on libneon (client) and libmicrohttpd
 
-* document in wiki json serialization
-
 * system-wide seccomp filter
 
 * ability to pass fds into systemd
 
 * system.conf should have controls for cgroups
 
-* bind mount read-only the cgroup tree higher than than nspawn
-
-* currently system services appear not to generate core dumps...
+* bind mount read-only the cgroup tree higher than nspawn
 
 * allow writing multiple conditions in unit files on one line
 
-* cleanup ellipsation for log output in journalctl and systemctl status: have a sane way to disable ellipsation, and disable it by default when invoked in less/more
-
 * explore multiple service instances per listening socket idea
 
 * testing tool for socket activation: some binary that listens on a socket and passes it on using the usual socket activation protocol to some server.
@@ -168,7 +237,7 @@ Features:
   currently is properly synchronous, Reexec() is weird, because we
   can't delay the response properly until we are back, so instead of
   being properly synchronous we just keep open the fd and close it
-  when done. That means clients don't get a succesful method reply,
+  when done. That means clients don't get a successful method reply,
   but much rather a disconnect on success.
 
 * document that service reload may be implemented as service reexec
@@ -225,9 +294,9 @@ Features:
 
 * efi: implement /forcefsck as uefi variables thus not requiring file system altering to trigger a file system check
 
-* efi: honour language efi variables for default language selection
+* efi: honor language efi variables for default language selection
 
-* efi: honour timezone efi variables for default timezone selection
+* efi: honor timezone efi variables for default timezone selection
 
 * efi: automatically mount EFI partition to /boot if no such entry exists in /etc/fstab and /boot is empty
   gummiboot exports the EFI system partion (ESP) device:
@@ -304,13 +373,6 @@ Features:
 * udev systemd unify:
   - strpcpy(), strpcpyl(), strscpy(), strscpyl()
   - utf8 validator code
-  - now() vs. now_usec()
-
-* udev: remove network interface renaming, sleep and retry logic, we do
-        no support renaming of interfaces in the conflicting kernel
-        namespace
-
-* udev: find a way to tell udev to not cancel firmware requests when running in initramfs
 
 * udev: scsi_id -> sg3_utils -> kill scsi_id
 
@@ -336,7 +398,7 @@ Features:
 
 * There's currently no way to cancel fsck (used to be possible via C-c or c on the console)
 
-* journal: sanely deal with entries which are larger than the individual file size, but where the componets would fit
+* journal: sanely deal with entries which are larger than the individual file size, but where the components would fit
 
 * add command to systemctl to plot dependency graph as tree (see rhbz 795365)
 
@@ -350,12 +412,8 @@ Features:
 
 * dbus: move dbus to early boot
 
-* journald: reuse XZ context
-
 * logind: add equivalent to sd_pid_get_owner_uid() to the D-Bus API
 
-* journal: API for looking for retrieving "all values of this field"
-
 * journal: deal nicely with byte-by-byte copied files, especially regards header
 
 * journal: local deserializer of export mode, http server
@@ -437,15 +495,18 @@ Features:
 * GC unreferenced jobs (such as .device jobs)
 
 * write blog stories about:
+  - hwdb: what belongs into it, lsusb
   - enabling dbus services
   - status update
   - how to make changes to sysctl and sysfs attributes
   - remote access
   - how to pass throw-away units to systemd, or dynamically change properties of existing units
   - how to integrate cgconfig and suchlike with systemd
-  - resource control in systemd
   - testing with Harald's awesome test kit
   - auto-restart
+  - how to develop against journal browsing APIs
+  - the journal HTTP iface
+  - non-cgroup resource management
 
 * allow port=0 in .socket units
 
@@ -544,3 +605,5 @@ Scheduled for removal or fixing:
 * xxxOverridable dependencies (probably: fix)
 
 * support for early-boot SysV services (definitely: remove)
+
+* insserv support (definitely: remove)