chiark / gitweb /
units: for all unit settings that take lists, allow the empty string for resetting...
[elogind.git] / TODO
diff --git a/TODO b/TODO
index 8526d69e8e020434cd6812b7b205b9b02a71b699..296d4c07560f726f160f3da7ce5ad581ba69e56e 100644 (file)
--- a/TODO
+++ b/TODO
@@ -13,58 +13,67 @@ Bugfixes:
 
 * properly handle .mount unit state tracking when two mount points are stacked one on top of another on the exact same mount point.
 
-F18:
-
+Fedora 19:
 * Retest multi-seat
 
+* create /var/log/journal/
+
 Features:
+* re-enable "make check" for gtk-doc (broken for unknown reason)
+
+* logind: make PrepareForSuspend(false) an official api for notification of resumes
+
+* ExecStartPre= with an empty string should reset the list of commands to invoke
+
+* refuse instantiation of proc.mount and mount units for all other API fs
+
+* "systemctl disable" on a static unit prints no message and does
+  nothing. "systemctl enable" does nothing, and gives a bad message
+  about it. Should fix both to print nice actionable messages.
+
+* fstab: add new mount option x-systemd-after=/foobar/waldo to allow manual dependencies to other mount points
+  https://bugzilla.redhat.com/show_bug.cgi?id=812826
+
+* add "loginctl unlock-sessions" as counterpart for "loginctl lock-sessions"
+
+* extend cgroup attr dbus calls to optionally make changes persistent, and retrieve current kernel values
+
+* support high-level cgroup setting syntax in systemctl. Example: "systemctl set-cgroup-attr MemoryLimit 5K"
+
+* print a nicer explanation if people use variable/specifier expansion in ExecStart= for the first word
+
+* kernel cmdline switch to turn off predictable network interface names
+
+* mount: turn dependency information from /proc/self/mountinfo into dependency information between systemd units.
+
+* udev: remove all (misguided from day 1) userspace firmware_class handling
 
 * logind: optionally, ignore idle-hint logic for autosuspend, block suspend as long as a session is around
 
 * service: when killing a service with SIGKILL always kill all processes, even if for SIGTERM we only killed the main process
 
-* 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?
 
 * Add 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 in the client 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
@@ -119,8 +128,6 @@ 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 and unit files Documentation= fields?
-
 * journactl: support negative filtering, i.e. FOOBAR!="waldo",
   and !FOOBAR for events without FOOBAR.
 
@@ -225,6 +232,7 @@ Features:
 * make timer units go away after they elapsed
 
 * http://lists.freedesktop.org/archives/systemd-devel/2012-September/006502.html
+  (network and remote-fs on shutdown)
 
 * come up with a nice way to write queue/read_ahead_kb for a block device without interfering with readahead
 
@@ -238,16 +246,12 @@ Features:
 
 * Query Paul Moore about relabelling socket fds while they are open
 
-* move keymaps to /usr/lib/... rather than /usr/lib/udev/...
-
 * journald: check whether it is OK if the client can still modify delivered journal entries
 
 * journal live copy, based on libneon (client) and libmicrohttpd
 
 * 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 nspawn
@@ -352,7 +356,7 @@ Features:
 
 * support rd.luks.allow-discards= kernel cmdline params in cryptsetup generator
 
-* nspawn: make use of device cgroup contrller by default
+* nspawn: make use of device cgroup controller by default
 
 * drop accountsservice's StandardOutput=syslog and Type=dbus fields
 
@@ -361,7 +365,6 @@ Features:
 * readahead: when bumping /sys readahead variable save mtime and compare later to detect changes
 
 * (attempt to) make Debianites happy:
-        - implement .d/ auto includes for unit files
         - add syntax to reset ExecStart= lists (and similar)
 
 * move passno parsing to fstab generator
@@ -377,7 +380,16 @@ Features:
 
 * readahead: make use of EXT4_IOC_MOVE_EXT, as used by http://e4rat.sourceforge.net/
 
-* automount: implement expire
+* automount: implement expire:
+   - set superblock timeout AUTOFS_DEV_IOCTL_TIMEOUT_CMD
+   - periodically run AUTOFS_DEV_IOCTL_EXPIRE_CMD
+     - every timeout/4 (original autofs logic)
+     - blocking, needs a thread
+     - run until -EAGAIN
+   - receive expire packet on pipe if kernel tells the timeout is over
+     - call umount
+     - answer expire packet on pipe with AUTOFS_DEV_IOCTL_{READY,FAIL}_CMD
+   - AUTOFS_DEV_IOCTL_EXPIRE_CMD returns
 
 * services which create their own subcgroups break cgroup-empty notification (needs to be fixed in the kernel)
 
@@ -395,12 +407,9 @@ Features:
 
 * ConditionSecurity= should learn about IMA and SMACK
 
-* Auke: merge Auke's bootchart
-
 * udev: move to LGPL
 
 * udev systemd unify:
-  - strpcpy(), strpcpyl(), strscpy(), strscpyl()
   - utf8 validator code
 
 * udev: scsi_id -> sg3_utils -> kill scsi_id
@@ -509,8 +518,6 @@ Features:
 * Make it possible to set the keymap independently from the font on
   the kernel cmdline. Right now setting one resets also the other.
 
-* move nss-myhostname into systemd
-
 * and a dbus call to generate target from current state
 
 * drop /.readahead on bigger upgrades with yum
@@ -532,8 +539,9 @@ Features:
   - how to develop against journal browsing APIs
   - the journal HTTP iface
   - non-cgroup resource management
+  - dynamic resource management with cgroups
   - refreshed, longer missions statement
-  - using detect-virt
+  - celendar time events
 
 * allow port=0 in .socket units
 
@@ -598,7 +606,7 @@ External:
 
 * make cryptsetup lower --iter-time
 
-* patch kernel for xattr support in /dev, /proc/, /sys and /sys/fs/cgroup?
+* patch kernel for xattr support in /dev, /proc/, /sys?
 
 * NTP: the kernel's 11-minutes-mode syncs the system time to the RTC, but only
   in an ~30 minutes window. It does not adjust larger differences. Find a way
@@ -624,10 +632,8 @@ Regularly:
 
 * use secure_getenv() instead of getenv() where appropriate
 
+* link up selected blog stories from man pages and unit files Documentation= fields
+
 Scheduled for removal or fixing:
 
 * xxxOverridable dependencies (probably: fix)
-
-* support for early-boot SysV services (definitely: remove)
-
-* insserv support (definitely: remove)