X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=TODO;h=8ebb951c21257c0dcfaf1251f3ee8b4b335f8e31;hp=4a49f493695477ab9c8f3808514f755f4e019112;hb=1a0fce458d3b45624c5817006735d59a5689ef83;hpb=9b4a54740884c60e40a2643b535f197b01038850 diff --git a/TODO b/TODO index 4a49f4936..8ebb951c2 100644 --- a/TODO +++ b/TODO @@ -19,15 +19,33 @@ F18: Features: -* use C11 static_assert() where we currently use assert_cc() +* drop the TARGET_xxx stuff as far as possible + +* 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 * 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". +* Add a verbose mode to "systemctl start" and friends that explains what is being done or not done * journal is not closed properly at shutdown when run in a container? @@ -35,16 +53,10 @@ Features: include _SYSTEMD_UNIT= fields so that "systemctl status" can show them along with the unit -* define a message ID for "overmounting non-empty directory" and write message catalog entry for it - -* 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 +* 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 @@ -132,8 +144,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 @@ -174,14 +184,12 @@ 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 * 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 @@ -191,8 +199,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 +209,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 @@ -234,8 +238,6 @@ Features: * 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 +297,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. @@ -365,12 +369,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 @@ -385,7 +383,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 @@ -490,8 +488,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) @@ -527,6 +523,7 @@ Features: - the journal HTTP iface - non-cgroup resource management - refreshed, longer missions statement + - using detect-virt * allow port=0 in .socket units @@ -554,9 +551,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: