X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=fixme;h=a3c99500c7d05680bd9ff64405f2690c294308d3;hp=3618d544979a8208b4927c9748e0158b83658653;hb=bb4f237c651623ca2b523fb3ac14268fac9bb487;hpb=5021be21bfc2a3a23a09d60d98e2dcdd1cf504fe diff --git a/fixme b/fixme index 3618d5449..a3c99500c 100644 --- a/fixme +++ b/fixme @@ -1,68 +1,87 @@ +* calendar time support in timer, iCalendar semantics for the timer stuff (RFC2445) -- trigger mounting; mounts might take time, need to be executed asynchronously in a forked process? +* implicitly import "defaults" settings file into all types -- need gc for active jobs that nothing cares for +* add #ifdefs for non-sysv builds -- need gc for units that are not referenced anymore +* reinvestigate random seed, hwclock -- refreshing of units (i.e. reload config files) +* "disabled" load state? -- further dbusification (i.e. export dependency information, per-unit-type data) +* ability to kill services? i.e. in contrast to stopping them, go directly + into killing mode? -- cgroupsification +* port over to LISTEN_FDS/LISTEN_PID: -- snapshot system + - uuidd DONE + - nscd DONE + - dbus DONE + - rsyslog DONE + - rpcbind (/var/run/rpcbind.sock!) DONE + - cups DONE + - avahi-daemon (/var/run/avahi-daemon/socket) DONE + - ssh CLASSIC + - postfix, saslauthd + - apache/samba + - libvirtd (/var/run/libvirt/libvirt-sock-ro) + - bluetoothd (/var/run/sdp! @/org/bluez/audio!) + - distccd -- add a job mode which shuts everything down but what is requested +* write utmp record a la upstart for processes -- implement timer +* follow property change dbus spec -- implement automount +* selinux -- create session/pgroup for child processes? handle input on console properly? interactive fsck? interactive luks password? +* systemctl status $PID, systemctl stop $PID! -- fs namespaces +* systemctl list-units doesn't show units with actvie jobs? -- templating/instances +* timeout waiting for mount devices? -- verify fragment data after loading: refuse cycles on yourself, service units contradicting, more than one Start executable, ... +* default logic for serial getty, ck logging, ssh readahead -- .socket needs to be notified not only by .service state changes, but also unsuccessful start jobs +* place /etc/inittab with explaining blurb. -- we probably cannot use glibc's syslog() for logging, since it - presumably uses the logging socket in blocking mode which might - trigger a deadlock if syslog does not process the socket anymore - (maybe because it is restarted) and the socket buffer is full. +* OnFailure=foo.unit -- in udev/mount if properties change we need to delete the old - settings and install the new settings. Deleting the old settings is - currently missing. +* default.target must be %ghosted... -- ability to kill services? i.e. in contrast to stopping them, go directly - into killing mode? +* In command lines, support both "$FOO" and $FOO -- restart-on-success, restart-on-failure, restart-on-abort, restart-on-name-gnone +* systemd-install disable should recursively kill all symlinks -- port over to LISTEN_FDS/LISTEN_PID: +* in %post create all symlinks manually and use inittab data - - uuidd DONE - - nscd DONE - - rpcbind (/var/run/rpcbind.sock!) - - dbus - - rsyslog - - cups - - ssh CLASSIC - - postfix, saslauthd - - apache/samba - - libvirtd (/var/run/libvirt/libvirt-sock-ro) - - bluetoothd (/var/run/sdp! @/org/bluez/audio!) - - avahi-daemon (/var/run/avahi-daemon/socket) - - distccd +* check mtimes of dirs and unit files in systemctl + +* /etc must always take precedence even if we follow symlinks! + +* /lib/init/rw + +* vielleicht implizit immer auf syslog dependen? + +* für selinux muss der socket wissen was für service geexeced wird. + +* debian deadlock when partition auf noauto is. + +External: + +* patch /etc/init.d/functions with: + + if [ $PPID -ne 1 && mountpoint /cgroup/systemd ] ; then echo "You suck!" ; fi + +https://bugzilla.redhat.com/show_bug.cgi?id=614245 +https://bugzilla.redhat.com/show_bug.cgi?id=612789 +https://bugzilla.redhat.com/show_bug.cgi?id=612728 +https://bugzilla.redhat.com/show_bug.cgi?id=612712 + +Regularly: -- teach dbus to talk to systemd when autospawning services +* look for close() vs. close_nointr() vs. close_nointr_nofail() -- unix sockets chown()/chgrp() +* check for strerror(r) instead of strerror(-r) -- watch dbus names for figuring out when a service has finished startup/goes down +* Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel -- initialize console tty on startup +* %m in printf() instead of strerror();