X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=TODO;h=a5a8057d672255491021aff49a0b3e044573755e;hp=4d6d55afee7c0d9ab32ac8e40287f7980676e732;hb=0ce8860a15fb08ac358fb9c5347bd20c0bcdebcd;hpb=4ce849853c46b1e857df3c6c9e7752159a58ddf1 diff --git a/TODO b/TODO index 4d6d55afe..a5a8057d6 100644 --- a/TODO +++ b/TODO @@ -1,12 +1,4 @@ Bugfixes: -* always open() tty6 to keep X from using it; move debug shell to tty6 - -* there is nothing to warn about here :) - $ systemctl stop systemd-udevd.service systemd-udevd-kernel.socket systemd-udevd-control.socket - Warning: Stopping systemd-udevd.service, but it can still be activated by: - systemd-udevd-control.socket - systemd-udevd-kernel.socket - * 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 @@ -21,70 +13,117 @@ Bugfixes: * properly handle .mount unit state tracking when two mount points are stacked one on top of another on the exact same mount point. -* we pull src/core/manager.h into src/shared/src/shared/path-lookup.c which is the wrong direction - rename enum "ManagerRunningAs" to "SystemdRunningAs" and move it to shared/ +F18: -* crash happens when running a service as forking and then changing it to simple and reloading. +* Retest multi-seat - Jul 09 18:20:57 mop systemd[1]: usbmuxd.service operation timed out. Terminating. - Jul 09 18:20:57 mop systemd[1]: Unit usbmuxd.service entered failed state. - Jul 09 18:22:24 mop systemd[1]: PID 21814 read from file /var/run/usbmuxd.pid does not exist. - Jul 09 18:22:24 mop systemd[1]: Unit usbmuxd.service entered failed state. - Jul 09 18:22:33 mop systemd[1]: Reloading. - Jul 09 18:22:37 mop systemd[1]: Assertion 's->type == SERVICE_FORKING' failed at src/core/service.c:3007, function service_sigchld_eve...Aborting. - Jul 09 18:22:37 mop systemd[1]: Caught , dumped core as pid 21865. - Jul 09 18:22:37 mop systemd[1]: Freezing execution. - Jul 09 18:22:37 mop [21866]: Process 21865 (systemd) dumped core. +Features: -* support *static* (/run) hibernate inhibitors. All rpm -i actions should completely prevent any - sort of hibernate action until the next reboot. If the kernel or any other base tool is replaced - by rpm, the resume path might fail, the for resume needed kernel might even be uninstalled, and - the whole situation leads directly to data loss. +* timedated: export boolean that clarifies whether NTP is even available -F18: +* timedated: refuse time changes when NTP is on -* journald: warn if we drop messages we forward to the syslog socket +* journald: don't make SystemMinFileSize= configurable -* refuse automount triggers when automount is queued for stop, much like we refuse socket triggers when sockets are queued for stop +* clean up date formatting and parsing so that all absolute/relative timestamps we format can also be parsed -* perfomance messages for selinux are gone from debug log? +* introduce hybrid-sleep.target -* There's something wrong with escaping unit names: http://lists.freedesktop.org/archives/systemd-devel/2012-August/006292.html +* _SOURCE_MONOTONIC_TIMESTAMP entries from the kernel seem to be off by 1000000 -* wiki: document new logind LockSessions() call +* document unit_name_mangle() -* wiki: document new Finished signal params +* add new command to systemctl: "systemctl system-reexec" which reexecs as many daemons as virtually possible -* logind: different policy actions for idle, suspend, shutdown blockers: allow idle blockers by default, don't allow suspend blockers by default +* introduce generic AUGMENT_PID=, AUGMENT_DEVICE= fields -* selinux: merge systemd selinux access controls (dwalsh) +* deal with sendmail/postfix exclusivity -* make logind reserve tty6 or so for text logins, so that gdm never picks it up +* systemctl enable: improve the success messages -Features: +* systemctl enable: fail if target to alias into doesn't exist? maybe show how many units are enabled afterwards? + +* on shutdown: move utmp, wall, audit logic all into PID 1 itsel + +* add "provisioning" instructions to setup an empty /etc + /var + - used to setup a new container from a shared /usr + - superset of tmpfiles model + - instructions shipped by packages and stored in /usr/lib/ + - compose /etc/passwd and /etc/group, copy files + - able to create uid + gid used by packages, for file ownership + +* make repeated alt-ctrl-del presses printing a dump, or even force a reboot without + waiting for the timeout + +* make sure that the journal output from the initrd is always merged into the journalctl output even if -m is not passed. + +* add time seeks to journalctl + +* high level net_prio setting in execution context + +* Introduce journalctl -b to show journal messages of a previous boot + +* systemctl should be able to show log messages from certain privileged 3rd party daemons such as setroubleshoot + +* hostnamed: before returning information from /etc/machine-info.conf check the modification data and reread. Similar for localed, ... + +* currently x-systemd.timeout is lost in the initrd, since crypttab is copied into dracut, but fstab isn't + +* WorkingDirectory: support env var replacements like in ExecStart= so that people can use $HOME + +* refuse boot if /etc/machine-id is not useful + +* 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 + +* cryptsetup-generator: allow specification of passwords in crypttab itself + +* 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) + +* allow users from "wheel" to start/stop services + +* systemctl: when powering down/suspending check for inhibitors, and warn. + +* instantiated [Install] for target units + https://bugs.freedesktop.org/show_bug.cgi?id=54377 + +* support *static* (/run) hibernate inhibitors. All rpm -i actions should completely prevent any + sort of hibernate action until the next reboot. If the kernel or any other base tool is replaced + by rpm, the resume path might fail, the for resume needed kernel might even be uninstalled, and + the whole situation leads directly to data loss. + +* move debug shell to tty6 and make sure this doesn't break the gettys on tty6 + +* 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 * after deserializing sockets in socket.c we should reapply sockopts and things -* does vasprintf advance the struct vaargs? http://pastie.org/pastes/4712773/text - * do shutdown audit/utmp msgs inside of PID 1, get rid of systemd-update-utmp-runlevel * make timer units go away after they elapsed * http://lists.freedesktop.org/archives/systemd-devel/2012-September/006502.html -* don't use writev() in tmpfiles for sake of compat with sysfs? - * come up with a nice way to write queue/read_ahead_kb for a block device without interfering with readahead * journald: add kernel cmdline option to disable ratelimiting for debug purposes -* Add a way to reference the machine/boot ID from ExecStart= and similar command lines - * move PID 1 segfaults to /var/lib/systemd/coredump? * Document word splitting syntax for ExecStart= and friends @@ -109,10 +148,6 @@ Features: * system-wide seccomp filter -* securityfs: don't mount in container - -* slave/shared remount root fs in container might clash with CAP_SYS_MOUNTS - * ability to pass fds into systemd * system.conf should have controls for cgroups @@ -127,8 +162,6 @@ Features: * cleanup ellipsation for log output in journalctl and systemctl status: have a sane way to disable ellipsation, and disable it by default when invoked in less/more -* enforce limits on fds openened by socket units - * explore multiple service instances per listening socket idea * testing tool for socket activation: some binary that listens on a socket and passes it on using the usual socket activation protocol to some server. @@ -170,8 +203,6 @@ Features: * install README to /etc/rc.d/init.d (if support for that is enabled) helping people who use "ls" there to figure out which services exist. -* logind: ignore inactive login screens when checking whether power key should be handled - * rename "userspace" to "core-os" * systemctl: "Journal has been rotated since unit was started." message is misleading @@ -233,10 +264,6 @@ Features: * support rd.luks.allow-discards= kernel cmdline params in cryptsetup generator -* systemctl: when stopping a service which has triggres and warning about it actually check the TriggeredBy= deps fields - -* journal: hook up with EFI firmware log - * nspawn: make use of device cgroup contrller by default * drop accountsservice's StandardOutput=syslog and Type=dbus fields @@ -397,8 +424,6 @@ Features: * move PAM code into its own binary -* warn if the user stops a service but not its associated socket - * logind: spawn user@..service on login * logind: non-local X11 server handling @@ -441,9 +466,8 @@ Features: - 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 - - inhibiting - testing with Harald's awesome test kit - - restart + - auto-restart * allow port=0 in .socket units @@ -469,13 +493,10 @@ Features: * timer events with system resume -* timer events on calendar time: - maybe use this time syntax? http://ohse.de/uwe/uschedule/uschedule.html - * dot output for --test showing the 'initial transaction' -* calendar time support in timer, iCalendar semantics for the timer stuff (RFC2445) - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=99ee5315dac6211e972fa3f23bcc9a0343ff58c4 +* calendar time support in timer: + https://docs.google.com/document/pub?id=1bAMyFAjWLpzR3GTDYdgj5FWRMxoZiWw5zmUHEtvdHKA * implicitly import "defaults" settings file into all types @@ -542,8 +563,10 @@ Regularly: * set_put(), hashmap_put() return values check. i.e. == 0 doesn't free()! -* use __secure_getenv() instead of getenv() where appropriate +* use secure_getenv() instead of getenv() where appropriate + +Scheduled for removal or fixing: -Scheduled for removal (or fixing): +* xxxOverridable dependencies (probably: fix) -* xxxOverridable dependencies +* support for early-boot SysV services (definitely: remove)