X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=TODO;h=b4e44612919c865096292d60c892ad448d655383;hp=f8062f20044373e5ea04e8b659960feceb0b9471;hb=236bc7573a400b77e515c441a34419b133d11b18;hpb=e9fd44b728ff1fc0d1f24fccb87a767f6865df27 diff --git a/TODO b/TODO index f8062f200..b4e446129 100644 --- a/TODO +++ b/TODO @@ -19,31 +19,56 @@ F18: Features: -* check if we can make journalctl by default use --follow mode inside of less if called without args? +* "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. -* Addd a verbose mode to "systemctl start" and friends that explains what is being done or not done +* man: link up systemd.directives better, so that people actually know about it -* "systemctl is-failed" to join "systemctl is-active" and "systemctl is-enabled". +* 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 -* journal is not closed properly at shutdown when run in a container? +* add "loginctl unlock-sessions" as counterpart for "loginctl lock-sessions" -* 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 +* extend cgroup attr dbus calls to optionally make changes persistent, and retrieve current kernel values -* define a message ID for "overmounting non-empty directory". +* support high-level cgroup setting syntax in systemctl. Example: "systemctl set-cgroup-attr MemoryLimit 5K" -* use polkit "imply" for binding hostname actions together +* add a man page "systemdall" that lists all of systemd's man pages, inspired by zsh's "zshall" page -* journal: when waiting for journal additions always sleep at least 1s or so, in order to minimize wakeups +* print a nicer explanation if people use variable/specifier expansion in ExecStart= for the first word -* man page for catalog APIs +* kernel cmdline switch to turn off predictable network interface names -* add catalog api for querying the raw template rather then replaced text +* mount: turn dependency information from /proc/self/mountinfo into dependency information between systemd units. -* When shutdown.target is queued begin with an asynchronous sync()? +* 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 + +* exec: when deinitializating a tty device fix the perms and group, too, not only when initializing. Set access mode/gid to 0620/tty. + +* 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 + +* 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 ConditionBatteryPower= or ConditionACPower=? (but definitely not both) +* 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 + +* journal is not closed properly at shutdown when run in a container? + +* 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 API to close/reopen/get fd for journal client fd in libsystemd-journal. @@ -53,8 +78,8 @@ Features: * declare the local journal protocol stable in the wiki interface chart -* sd-journal: don't return fields > a threshold by default * journal: reuse XZ context + * sd-journal: speed up sd_journal_get_data() with transparent hash table in bg * introduce ntp.service (or suchlike) as symlink that is used to arbitrate between various NTP implementations @@ -99,8 +124,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? - * journactl: support negative filtering, i.e. FOOBAR!="waldo", and !FOOBAR for events without FOOBAR. @@ -132,8 +155,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 +195,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 +210,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 +220,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 +228,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 +242,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 +307,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 +352,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 @@ -347,7 +361,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 @@ -365,12 +378,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,14 +392,11 @@ Features: * Add pretty name for seats in logind -* ConditionSecurity= should learn about IMA - -* Auke: merge Auke's bootchart +* ConditionSecurity= should learn about IMA and SMACK * udev: move to LGPL * udev systemd unify: - - strpcpy(), strpcpyl(), strscpy(), strscpyl() - utf8 validator code * udev: scsi_id -> sg3_utils -> kill scsi_id @@ -490,8 +494,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) @@ -503,8 +505,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 @@ -554,9 +554,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: @@ -594,7 +591,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 @@ -620,10 +617,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)