X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=TODO;h=73d7b7f1c41c0605f160f7b6fa3e1f0490de73d5;hb=8666abb452db73d9a11ead61251eec42bc531cce;hp=a27942ea3c3e99dd5dde2ddb6dd2187c1628b611;hpb=a624aa9e3d150e7c38f6a3fdf6343a1c3587ed2f;p=elogind.git diff --git a/TODO b/TODO index a27942ea3..73d7b7f1c 100644 --- a/TODO +++ b/TODO @@ -19,34 +19,36 @@ F18: Features: -* add form factor to /etc/machine-info +* mount: turn dependency information from /proc/self/mountinfo into dependency information between systemd units. -* use C11 static_assert() where we currently use assert_cc() +* udev: remove all (misguided from day 1) userspace firmware_class handling -* journald: also get thread ID from client, plus thread name +* logind: optionally, ignore idle-hint logic for autosuspend, block suspend as long as a session is around -* check if we can make journalctl by default use --follow mode inside of less if called without args? +* service: when killing a service with SIGKILL always kill all processes, even if for SIGTERM we only killed the main process -* Addd a verbose mode to "systemctl start" and friends that explains what is being done or not done +* exec: when deinitializating a tty device fix the perms and group, too, not only when initializing. Set access mode/gid to 0620/tty. -* "systemctl is-failed" to join "systemctl is-active" and "systemctl is-enabled". +* DeviceAllow/DeviceDeny: disallow everything by default, but whitelist /dev/zero, /dev/null and friends -* journal is not closed properly at shutdown when run in a container? +* service: watchdog logic: for testing purposes allow ping, but do not require pong + +* 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 + +* journald: also get thread ID from client, plus thread name -* 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 +* check if we can make journalctl by default use --follow mode inside of less if called without args? -* define a message ID for "overmounting non-empty directory" and write message catalog entry for it +* Add a verbose mode to "systemctl start" and friends that explains what is being done or not done -* use polkit "imply" for binding hostname actions together +* journal is not closed properly at shutdown when run in a container? -* journal: when waiting for journal additions always sleep at least 1s or so, in order to minimize wakeups +* 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 @@ -101,8 +103,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. @@ -134,8 +134,6 @@ 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-existent, especially for foreign .mount units - * timedated: export boolean that clarifies whether NTP is even available * timedated: refuse time changes when NTP is on @@ -176,7 +174,7 @@ Features: * WorkingDirectory: support env var replacements like in ExecStart= so that people can use $HOME -* refuse boot if /etc/machine-id is not useful +* refuse boot if /etc/machine-id is not useful (or set taint?) * nspawn: consider changing users for -u with su, so that NSS resolving works correctly @@ -191,8 +189,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 @@ -203,8 +199,6 @@ Features: * move cryptsetup key caching into kernel keyctl? https://bugs.freedesktop.org/show_bug.cgi?id=54982 -* make nspawn work without terminal - * hw watchdog: optionally try to use the preset watchdog timeout instead of always overriding it https://bugs.freedesktop.org/show_bug.cgi?id=54712 @@ -213,6 +207,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 @@ -226,16 +221,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 @@ -295,6 +286,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. @@ -338,7 +331,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 @@ -365,12 +358,6 @@ Features: * automount: implement expire -* logind: auto-suspend, auto-shutdown: - IdleAction=(none|suspend|opportunistic|hibernate|poweroff) - IdleActionDelay=... - SessionIdleMode=(explicit|ignore|login) - ForceShutdown=(yes|no) - * services which create their own subcgroups break cgroup-empty notification (needs to be fixed in the kernel) * don't delete /tmp/systemd-namespace-* before a process is gone down @@ -501,8 +488,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 @@ -525,6 +510,7 @@ Features: - the journal HTTP iface - non-cgroup resource management - refreshed, longer missions statement + - using detect-virt * allow port=0 in .socket units @@ -552,9 +538,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: @@ -618,6 +601,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)