chiark / gitweb /
shutdown: don't try to shut down DM devices in a container
[elogind.git] / TODO
diff --git a/TODO b/TODO
index 74a36a1df3233956907d85693d2134ed1802962d..e38c1105a4c81b0be57ad01f912158d8f50d513e 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,14 +1,14 @@
 Bugfixes:
+* remove MS_SHARED from src/core/execute.c and src/test/test-ns.c. They are always combined
+  with MS_REMOUNT, which currently does nothing in the kernel, but might which fail in the
+  future; https://bugzilla.redhat.com/show_bug.cgi?id=813563
 
-* swap units that are activated by one name but shown in the kernel under another are semi-broken
+* check systemd-tmpfiles for selinux context hookup for mknod(), symlink() and similar
 
-* NM should pull in network.target (PENDING)
-  https://bugzilla.redhat.com/show_bug.cgi?id=692008
+* swap units that are activated by one name but shown in the kernel under another are semi-broken
 
 * make anaconda write timeout=0 for encrypted devices
 
-* service: pid file reading after reload doesn't work, since we don't reset the pid variable
-
 * make sure timeouts are applied to Type=oneshot services.
 
 * Dangling symlinks of .automount unit files in .wants/ directories, set up
@@ -21,18 +21,113 @@ Bugfixes:
 
 Features:
 
+* fix utmp for console logins in containers
+
+* Add pretty name for seats in logind
+
+* nspawn wants dev_setup() for /dev/fd/ and friends?
+
+* selinux: merge systemd selinux access controls (dwalsh)
+
+* ConditionSecurity= should learn about IMA
+
+* Auke: merge Auke's bootchart
+
+* Auke: disable kernel readahead when collecting readahead data
+
+* journald: allow forwarding of log data to specific TTY instea dof console
+
+* suspend/hibernate/hybrid support, auto-suspend logic with idle hint
+
+* add RequiredBy to [Install]
+
+* cg_shorten_controllers() misuses alloca()
+
+* udev systemd unify:
+  - strpcpy(), strpcpyl(), strscpy(), strscpyl()
+  - utf8 validator code
+  - now() vs. now_usec()
+
+* 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
+
+* udev: libudev.so.1
+  - use symbol versioning
+  - always return object with *_unref()
+  - remove deprecated symbols
+    - udev_monitor_from_socket()
+    - udev_queue_get_failed_list_entry()
+    - udev_get_{dev,sys,run}_path()
+
+* allow configuration of console width/height in vconsole.conf
+
+* PrivateTmp should apply to both /tmp and /var/tmp
+
+* fstab should take priority over units in /usr
+
+* cleanup syslog 'priority' vs. 'level' wording
+
+* journal: if mmap() fails for mapping window try to unmap a a few older maps
+
+* dbus upstream still refers to dbus.target and shouldn't
+
+* when a service has the same env var set twice we actually store it twice and return that in systemctl show -p... We should only show the last setting
+
+* add man page documenting all kernel cmdline options, including stuff like fsck.mode=
+
+* support container_ttys=
+
+* journald: make configurable "store-on-var", "store-on-run", "dont-store", "auto"
+  (store-persistent, store-volatile?)
+
+* introduce mix of BindTo and Requisite
+
+* journalctl: show multiline log messages sanely, expand tabs, and show all valid utf8 messages
+
+* introduce NeedsMounts= or so to create .mount dependencies automatically for a specific path
+
+* add DeleteSocketsOnStop=yes|no option to socket units
+
+* journal: store euid in journal if it differs from uid
+
+* support chrony in addition to ntpd in timedated
+
+* document crypttab(5)
+
+* There's currently no way to cancel fsck (used to be possible via C-c or c on the console)
+
+* keep an eye on https://bugzilla.gnome.org/show_bug.cgi?id=670100
+
+* journal: sanely deal with entries which are larger than the individual file size, but where the componets would fit
+
+* add command to systemctl to plot dependency graph as tree (see rhbz 795365)
+
+* make logind reserve tty9 or so for text logins, so that gdm never picks it up
+
+* add option to sockets to avoid activation. Instead just drop packets/connections, see http://cyberelk.net/tim/2012/02/15/portreserve-systemd-solution/
+
+* default unix qlen is too small (10). bump sysctl? add sockopt?
+
+* support units generated by a generator and placed in /run/systemd/system/; the directory is
+  currently ignored because it is empty before the generatores are executed
+
+* 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
+
+* add interface to allow immediate rotation of the journal, and even flushing.
+
 * dbus: in fedora, make the machine a symlink to /etc/machine-id
 
 * journald: reuse XZ context
 
 * logind: add equivalent to sd_pid_get_owner_uid() to the D-Bus API
 
-* Fedora: disable journald's /proc/kmsg reading on Fedora for now
-
 * write RPM spec macros for presets
 
-* write man pages for systemd-cgtop, systemd-cat
-
 * journal: write man pages for API
 
 * journal: OR matches are borked
@@ -65,30 +160,20 @@ Features:
 
 * support crash reporting operation modes (https://live.gnome.org/GnomeOS/Design/Whiteboards/ProblemReporting)
 
-* allow per-entry control on /var vs. /run (think incognito browser mode)
+* journal: allow per-entry control on /var vs. /run (think incognito browser mode)
 
 * clean up session cgroups that remain after logout (think sshd), but eventually run empty
 
 * support "systemctl stop foobar@.service" to stop all units matching a certain template
 
-* move to LGPL2+
-
-* logind: selinux is borked...
-
 * logind: allow showing logout dialog from system
 
 * document that %% can be used to write % in a string that is specifier extended
 
-* check utf8 everywhere
-
 * when an instanced service exits, remove its parent cgroup too if possible.
 
-* Make libselinux, libattr, libcap, libdl dependencies only of the tools which actually need them.
-
 * as Tom Gundersen pointed out there's a always a dep loop if people use crypto file systems with random keys
 
-* unset container= in PID1?
-
 * automatically escape unit names passed on the service (i.e. think "systemctl start serial-getty.service@serial/by-path/jshdfjsdfhkjh" being automatically escaped as necessary.
 
 * if we can not get user quota for tmpfs, mount a separate tmpfs instance
@@ -98,10 +183,6 @@ Features:
 
 * add an option to make mounts private/shareable and so on, enable this for root by default
 
-* internal restart counter for units (focus on auto-respawn)
-
-* finer-grained auto-respawn settings (rate-limit)
-
 * be able to specify a forced restart of service A where service B depends on, in case B
   needs to be auto-respawned?
 
@@ -111,15 +192,13 @@ Features:
 
 * something like ConditionExec= or ExecStartPre= without failure state
 
-* service restart retry configuration
-
 * tmpfiles: apply "x" on "D" too (see patch from William Douglas)
 
 * don't set $HOME in services unless requested
 
 * hide PAM/TCPWrap options in fragment parser when compile time disabled
 
-* when we automatically restart a service, ensure we retsart its rdeps, too.
+* when we automatically restart a service, ensure we restart its rdeps, too.
 
 * allow Type=simple with PIDFile=
   https://bugzilla.redhat.com/show_bug.cgi?id=723942
@@ -164,8 +243,6 @@ Features:
 
 * GC unreferenced jobs (such as .device jobs)
 
-* cgroup_notify_empty(): recursively check groups up the tree, too
-
 * when failing to start a service due to ratelimiting, try again later, if restart=always is set
 
 * write blog stories about:
@@ -175,6 +252,7 @@ Features:
   - 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
 
 * allow port=0 in .socket units
 
@@ -228,35 +306,28 @@ Features:
 
 * io priority during initialization
 
-* if a service fails too often, make the service enter failed mode, and the socket, too.
-
 * systemctl list-jobs - show dependencies
 
 * add systemctl switch to dump transaction without executing it
 
-* suspend, resume support?
-
 * drop cap bounding set in readahead and other services
 
 External:
 
 * dbus:
-   - get process transport into dbus for systemctl -P/-H (PENDING)
    - dbus --user
    - natively watch for dbus-*.service symlinks (PENDING)
    - allow specification of socket mode/umask when allocating DBusServer
    - allow disabling of fd passing when connecting a AF_UNIX connection
    - allow disabling of UID passing for AUTH EXTERNAL
+   - always pass cred data along each message
 
 * systemd --user
     PR_SET_CHILD_REAPER patch: https://lkml.org/lkml/2011/7/28/426
+    (patch in linux-next, on the way to the next kernel)
 
 * fix alsa mixer restore to not print error when no config is stored
 
-* udisks should not use udisks-part-id, instead use blkid. also not probe /dev/loopxxx
-
-* snd-seq should go, https://bugzilla.redhat.com/show_bug.cgi?id=676095
-
 * gnome-shell python script/glxinfo/is-accelerated must die
 
 * make cryptsetup lower --iter-time
@@ -272,9 +343,6 @@ External:
 * patch kernel for cpu feature modalias for autoloading aes/kvm/...
     (patches in linux-next, on the way to the next kernel)
 
-* kernel: add /proc/sys file exposing CAP_LAST_CAP? sysconf?
-    merged: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=73efc0394e148d0e15583e13712637831f926720
-
 * kernel: add device_type = "fb", "fbcon" to class "graphics"
 
 Regularly: