chiark / gitweb /
libsystemd-logind: fix detection of session/user/machine of a PID
[elogind.git] / TODO
diff --git a/TODO b/TODO
index fb5f0c381349c844e69289cc9b73d51684253f27..96ed2c06d82b1bf2d50f64d79a2cb4fb05a4dcee 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,7 +1,4 @@
 Bugfixes:
-* systemctl status *.path shows all logs, not only the ones since the unit is
-  active
-
 * 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
@@ -27,8 +24,89 @@ Fedora 19:
 * localed:
   - localectl: support new converted x11→console keymaps
 
+* when installing fedora with yum --installroot /var/run is a directory, not a symlink
+
 Features:
 
+* fix killing spree logic in systemd-user-sessions
+
+* logind: implement session kill exceptions
+
+* fix machine regstration to forward property array
+
+* fix loginctl cgroup enumeration
+
+* move "systemctl dump" to systemd-analyze
+
+* introduce "mainpid" for scopes
+
+* add a fixed dbus path for "my own unit", "my own session", ... to PID1, logind, ...
+
+* add implicit slice for instantiated services
+
+* service_coldplug() appears to reinstall the wrong stop timeout watch?
+
+* transient units: allow creating auxiliary units with the same call
+
+* make BlockIODeviceWeight=, BlockIODeviceBandwidth= runtime settable
+
+* split up BlockIOWeight= and BlockIODeviceWeight=
+
+* introduce high-level settings for RT budget, swapiness
+
+* how to reset dynamically changed attributes sanely?
+
+* when reloading configuration, apply new cgroup configuration
+
+* implement system-wide DefaultCPUAccounting=1 switch (and similar for blockio, memory?)
+
+* implement per-slice CPUFairScheduling=1 switch
+
+* handle jointly mounted controllers correctly
+
+* split out CreateMachine into systemd-machined
+
+* make logind's session and machine
+  registration use Slices to set up cgroups
+
+* journald: make sure ratelimit is actually really per-service with the new cgroup changes
+
+* move systemctl dump to systemd-analyze
+
+* libsystemd-logind: sd_session_is_active() and friends: verify
+  validity of session name before appending it to a path
+
+* logind: when a PAM client calls ReleaseSession() start a timeout and
+  kill the session entirely after that is reached.
+
+* gparted needs to disable auto-activation of mount units somehow, or
+  maybe we should stop doing auto-activiation of this after boot
+  entirely. https://bugzilla.gnome.org/show_bug.cgi?id=701676
+
+* when a service changes state make reflect that in the
+  RUNNING/LISTENING states of its socket
+
+* when recursively showing the cgroup hierarchy, optionally also show
+  the hierarchies of child processes
+
+* document logic of auto/noauto and fail/nofail in fstab in systemd.mount or systemd-fstab-generator man page
+
+* we should properly escape ssh hostnames we add into dbus server strings
+
+* something pulls in pcre as so dep into our daemons such as hostnamed.
+
+* cgroup-agent: downgrade error messages
+
+* document systemd-journal-flush.service properly
+
+* chane systemd-journal-flush into a service that stays around during
+  boot, and causes the journal to be moved back to /run on shutdown,
+  so that we don't keep /var busy. This needs to happen synchronously,
+  hence doing this via signals is not going to work.
+
+* allow implementation of InaccessibleDirectories=/ plus
+  ReadOnlyDirectories=... for whitelisting files for a service.
+
 * libsystemd-journal:
   - return ECHILD as soon as somebody tries to reuse a journal object across a fork()
 
@@ -36,21 +114,24 @@ Features:
   - default policy (allow uid == 0 and our own uid)
   - enforce alignment of pointers passed in
   - when kdbus doesn't take our message without memfds, try again with memfds
-  - kdbus: generate correct bloom filter for matches
   - implement translator service
   - port systemd to new library
   - implement busname unit type in systemd
   - move to gvariant
   - merge busctl into systemctl or so?
   - synthesize sd_bus_message objects from kernel messages
+  - properly implement name registry ioctls for kdbus
+  - get rid of object hash table, use decision tree everyhwere instead?
+  - implement monitor logic
+  - object vtable logic
+  - longer term:
+    * priority queues
+    * priority inheritance
 
 * in the final killing spree, detect processes from the root directory, and
   complain loudly if they have argv[0][0] == '@' set.
   https://bugzilla.redhat.com/show_bug.cgi?id=961044
 
-* read the kernel's console "debug" keyword like we read "quiet" and adjust:
-    systemd.log_level=debug and maybe systemd.log_target=kmsg
-
 * add an option to nspawn that uses seccomp to make socket(AF_NETLINK,
   SOCK_RAW, NETLINK_AUDIT) fail the the appropriate error code that
   makes the audit userspace to think auditing is not available in the
@@ -63,9 +144,6 @@ Features:
 
 * investigate endianess issues of UUID vs. GUID
 
-* see if we can fix https://bugs.freedesktop.org/show_bug.cgi?id=63672
-  without dropping the location cache entirely.
-
 * dbus: when a unit failed to load (i.e. is in UNIT_ERROR state), we
   should be able to safely try another attempt when the bus call LoadUnit() is invoked.
 
@@ -86,8 +164,6 @@ Features:
 
 * we need dynamic units
 
-* add s.th. like "systemctl set-log-level debug"
-
 * cgtop: make cgtop useful in a container
 
 * test/: