chiark / gitweb /
docs: gtk-doc warnings are annoying
[elogind.git] / TODO
diff --git a/TODO b/TODO
index a5a8057d672255491021aff49a0b3e044573755e..ef081c9e63b7c46aa57170e7fb57f85046fa4c18 100644 (file)
--- a/TODO
+++ b/TODO
@@ -19,17 +19,84 @@ F18:
 
 Features:
 
-* timedated: export boolean that clarifies whether NTP is even available
+* introduce ntp.service (or suchlike) as symlink that is used to arbitrate between various NTP implementations
 
-* timedated: refuse time changes when NTP is on
+* 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.
 
-* journald: don't make SystemMinFileSize= configurable
+* When we begin with system shutdown all kind of suspend/hibernation should be prohibited until shutdown/reboot
 
-* clean up date formatting and parsing so that all absolute/relative timestamps we format can also be parsed
+* 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
+
+* sd_journal_enumerate_data() implies XZ-decoding compressed field, this sucks hard
+
+* 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
 
-* introduce hybrid-sleep.target
+* add libsystemd-password or so to query passwords during boot using the password agent logic
 
-* _SOURCE_MONOTONIC_TIMESTAMP entries from the kernel seem to be off by 1000000
+* 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.
+
+* 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
+
+* 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-existant, 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()
 
@@ -39,11 +106,11 @@ Features:
 
 * deal with sendmail/postfix exclusivity
 
-* systemctl enable: improve the success messages
+* systemctl enable: improve the success messages (i.e. more human readable, less shell-like)
 
 * systemctl enable: fail if target to alias into doesn't exist? maybe show how many units are enabled afterwards?
 
-* on shutdown: move utmp, wall, audit logic all into PID 1 itsel
+* on shutdown: move utmp, wall, audit logic all into PID 1 itself, get rid of systemd-update-utmp-runlevel
 
 * add "provisioning" instructions to setup an empty /etc + /var
     - used to setup a new container from a shared /usr
@@ -55,16 +122,10 @@ Features:
 * make repeated alt-ctrl-del presses printing a dump, or even force a reboot without
   waiting for the timeout
 
-* make sure that the journal output from the initrd is always merged into the journalctl output even if -m is not passed.
-
-* add time seeks to journalctl
-
 * high level net_prio setting in execution context
 
 * Introduce journalctl -b <nr> to show journal messages of a previous boot
 
-* systemctl should be able to show log messages from certain privileged 3rd party daemons such as setroubleshoot
-
 * hostnamed: before returning information from /etc/machine-info.conf check the modification data and reread. Similar for localed, ...
 
 * currently x-systemd.timeout is lost in the initrd, since crypttab is copied into dracut, but fstab isn't
@@ -90,18 +151,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?
@@ -114,8 +168,6 @@ Features:
 
 * after deserializing sockets in socket.c we should reapply sockopts and things
 
-* do shutdown audit/utmp msgs inside of PID 1, get rid of systemd-update-utmp-runlevel
-
 * make timer units go away after they elapsed
 
 * http://lists.freedesktop.org/archives/systemd-devel/2012-September/006502.html
@@ -128,8 +180,6 @@ Features:
 
 * Document word splitting syntax for ExecStart= and friends
 
-* when writing journal entries order field items by their address to improve speed on rotating media
-
 * create /sbin/init symlinks from the build system
 
 * Query Paul Moore about relabelling socket fds while they are open
@@ -138,14 +188,8 @@ Features:
 
 * journald: check whether it is OK if the client can still modify delivered journal entries
 
-* json: use jensson
-
-* 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
@@ -154,20 +198,12 @@ Features:
 
 * bind mount read-only the cgroup tree higher than than nspawn
 
-* currently system services appear not to generate core dumps...
-
-* wall messages for shutdown should move to logind
-
 * 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.
 
-* maybe make systemd-detect-virt suid? or use fscaps?
-
 * shutdown: don't read-only mount anything when running in container
 
 * nspawn: --read-only is not applied recursively to submounts
@@ -201,8 +237,6 @@ Features:
 
 * initialize the hostname from the fs label of /, if /etc/hostname does not exist?
 
-* install README to /etc/rc.d/init.d (if support for that is enabled) helping people who use "ls" there to figure out which services exist.
-
 * rename "userspace" to "core-os"
 
 * systemctl: "Journal has been rotated since unit was started." message is misleading
@@ -235,8 +269,6 @@ Features:
 
 * introduce Type=pid-file
 
-* systemctl list-unit-files appears to be broken for symlinked units in /usr/lib
-
 * maybe allow services with ExecStop= set, but no ExecStart=?
 
 * efi: implement /forcefsck as uefi variables thus not requiring file system altering to trigger a file system check
@@ -322,12 +354,6 @@ Features:
   - 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
 
 * udev: add trigger --subsystem-match=usb/usb_device device
@@ -360,8 +386,6 @@ Features:
 
 * default unix qlen is too small (10). bump sysctl? add sockopt?
 
-* Possibly, detect whether SysV init scripts can do reloading by looking for "echo Usage:" lines
-
 * figure out whether we should leave dbus around during shutdown
 
 * dbus: in fedora, make the machine a symlink to /etc/machine-id
@@ -372,8 +396,6 @@ Features:
 
 * 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
@@ -382,10 +404,6 @@ Features:
 
 * document the exit codes when services fail before they are exec()ed
 
-* systemctl journal command
-
-* journalctl: --cursor support
-
 * save coredump in Windows/Mozilla minidump format
 
 * support crash reporting operation modes (https://live.gnome.org/GnomeOS/Design/Whiteboards/ProblemReporting)
@@ -459,19 +477,22 @@ 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
 
-* move readahead files into /var, look for them with .path units
+* move readahead files into /var (look for them with .path units?)
 
 * teach dbus to activate all services it finds in /etc/systemd/services/org-*.service
 
@@ -498,12 +519,8 @@ Features:
 * calendar time support in timer:
     https://docs.google.com/document/pub?id=1bAMyFAjWLpzR3GTDYdgj5FWRMxoZiWw5zmUHEtvdHKA
 
-* implicitly import "defaults" settings file into all types
-
 * writable cgroups dbus properties for live changes
 
-* read config fragments for all units from /lib/systemd/system/foobar.service.d/ to override/extend specific settings
-
 * port over to LISTEN_FDS/LISTEN_PID:
    - rpcbind (/var/run/rpcbind.sock!) HAVEPATCH
    - cups     HAVEPATCH
@@ -570,3 +587,5 @@ Scheduled for removal or fixing:
 * xxxOverridable dependencies (probably: fix)
 
 * support for early-boot SysV services (definitely: remove)
+
+* insserv support (definitely: remove)