chiark / gitweb /
update TODO
[elogind.git] / TODO
diff --git a/TODO b/TODO
index 3b0d8722967c2f0ee97ae52925cb94dccc48daef..8de85606a87bde98e5e8bcd5620fa9858c4f0787 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,7 +1,4 @@
 Bugfixes:
-* mount efivars only if /sys/firmware/efi/ exists
-  (add *condition callback to API mounts array and check for directory)
-
 * check systemd-tmpfiles for selinux context hookup for mknod(), symlink() and similar
 
 * swap units that are activated by one name but shown in the kernel under another are semi-broken
@@ -22,8 +19,61 @@ F18:
 
 Features:
 
-* introduce ntp.service (or suchlike) as symlink that is used to arbitrate between various
-  NTP implementations
+* rewrite #!/usr/bin/python line in python scripts to use @PYTHON@ instead
+
+* exec: when deinitializating a tty device fix the perms and group, too, not only when initializing. Set access mode/gid to 0620/tty.
+
+* udev: only reset mode/gid of /dev/tty1 and friends on ACTION=add, not ACTION=changed
+
+* DeviceAllow/DeviceDeny: disallow everything by default, but whitelist /dev/zero, /dev/null and friends
+
+* service: watchdog logic: for testing purposes allow ping, but do not require pong
+
+* kill insserv code, people should really use a generator for this
+
+* journald: when dropping msgs due to ratelimit make sure to write
+  "dropped %u messages" not only when we are about to print the next
+  message that works, but alraedy after a short tiemout
+
+* add form factor to /etc/machine-info
+
+* use C11 static_assert() where we currently use assert_cc()
+
+* journald: also get thread ID from client, plus thread name
+
+* check if we can make journalctl by default use --follow mode inside of less if called without args?
+
+* Addd a verbose mode to "systemctl start" and friends that explains what is being done or not done
+
+* "systemctl is-failed" to join "systemctl is-active" and "systemctl is-enabled".
+
+* journal is not closed properly at shutdown when run in a container?
+
+* All log messages generated from socket.c, service.c, ... should
+  include _SYSTEMD_UNIT= fields so that "systemctl status" can show
+  them along with the unit
+
+* use polkit "imply" for binding hostname actions together
+
+* journal: when waiting for journal additions always sleep at least 1s or so, in order to minimize wakeups
+
+* When shutdown.target is queued begin with an asynchronous sync()?
+
+* Add ConditionBatteryPower= or ConditionACPower=? (but definitely not both)
+
+* add API to close/reopen/get fd for journal client fd in libsystemd-journal.
+
+* maybe add API to send pairs of iovecs via sd_journal_send
+
+* fallback to /dev/log based logging in libsystemd-journal, if we can't log natively?
+
+* declare the local journal protocol stable in the wiki interface chart
+
+* 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)
@@ -33,9 +83,9 @@ Features:
 
 * 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)
+    - 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 reliale time source is active or the
+  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
@@ -48,8 +98,6 @@ Features:
   - 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
@@ -67,7 +115,7 @@ Features:
 
 * 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?
+* link up selected blog stories from man pages and unit files Documentation= fields?
 
 * journactl: support negative filtering, i.e. FOOBAR!="waldo",
   and !FOOBAR for events without FOOBAR.
@@ -100,7 +148,7 @@ Features:
 
 * 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
+* 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
 
@@ -148,8 +196,6 @@ Features:
 
 * nspawn: implement personality changes a la linux32(8)
 
-* nspawn: reset all aux groups
-
 * cryptsetup-generator: warn if the password files are world-readable
 
 * cryptsetup-generator: add RequiresMountsFor= to cryptseup service files referencing a file, similar for devices
@@ -159,8 +205,6 @@ Features:
 * document that deps in [Unit] sections ignore Alias= fileds in
   [Install] units of other units, unless those units are disabled
 
-* need to update LGPL2.1 text to newest version (with updated FSF address)
-
 * systemctl: when powering down/suspending check for inhibitors, and warn.
 
 * instantiated [Install] for target units
@@ -206,7 +250,7 @@ Features:
 
 * system.conf should have controls for cgroups
 
-* bind mount read-only the cgroup tree higher than than nspawn
+* bind mount read-only the cgroup tree higher than nspawn
 
 * allow writing multiple conditions in unit files on one line
 
@@ -226,7 +270,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
@@ -263,6 +307,8 @@ Features:
 
 * systemd-analyze post-boot is broken for initrd
 
+* systemd-analyze: data collection tools should be lightweight (few dependencies); data analysis tools can be heavyweight
+
 * man: clarify that time-sync.target is not only sysv compat but also useful otherwise. Same for similar targets
 
 * .device aliases need to be implemented with the "following" logic, probably.
@@ -283,9 +329,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:
@@ -353,7 +399,7 @@ Features:
 
 * Add pretty name for seats in logind
 
-* ConditionSecurity= should learn about IMA
+* ConditionSecurity= should learn about IMA and SMACK
 
 * Auke: merge Auke's bootchart
 
@@ -362,7 +408,6 @@ Features:
 * udev systemd unify:
   - strpcpy(), strpcpyl(), strscpy(), strscpyl()
   - utf8 validator code
-  - now() vs. now_usec()
 
 * udev: scsi_id -> sg3_utils -> kill scsi_id
 
@@ -388,7 +433,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)
 
@@ -402,16 +447,12 @@ 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: deal nicely with byte-by-byte copied files, especially regards header
 
 * journal: local deserializer of export mode, http server
 
-* journal: message catalog
-
 * document the exit codes when services fail before they are exec()ed
 
 * save coredump in Windows/Mozilla minidump format
@@ -463,8 +504,6 @@ Features:
 
 * readahead: use BTRFS_IOC_DEFRAG_RANGE instead of BTRFS_IOC_DEFRAG ioctl, with START_IO
 
-* readahead: check whether a btrfs volume includes ssd by checking mount flag "ssd"
-
 * support sd_notify() style notification when reload begins (RELOADING=1), reload is finished (READY=1), and add ReloadSignal= then to use in combination
 
 * support sd_notify() style notification when shutting down, to make auto-exit bus services work (STOPPING=1)
@@ -499,6 +538,8 @@ Features:
   - how to develop against journal browsing APIs
   - the journal HTTP iface
   - non-cgroup resource management
+  - refreshed, longer missions statement
+  - using detect-virt
 
 * allow port=0 in .socket units
 
@@ -526,9 +567,6 @@ Features:
 
 * dot output for --test showing the 'initial transaction'
 
-* calendar time support in timer:
-    https://docs.google.com/document/pub?id=1bAMyFAjWLpzR3GTDYdgj5FWRMxoZiWw5zmUHEtvdHKA
-
 * writable cgroups dbus properties for live changes
 
 * port over to LISTEN_FDS/LISTEN_PID: