X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=fixme;h=2df43c34b6f8387de3e0afc5f6bf9cf3e8ace884;hb=d8fa9401d3aacbc8caad9c353a03a36a399aecd3;hp=55df3be713cb193949389acf854f20fc277ce28d;hpb=874aa2cc72d1d23d449b26ebc111cf0a01192893;p=elogind.git diff --git a/fixme b/fixme index 55df3be71..2df43c34b 100644 --- a/fixme +++ b/fixme @@ -1,66 +1,119 @@ +* dot output for --test showing the 'initial transaction' -- trigger mounting; mounts might take time, need to be executed asynchronously in a forked process? +* check 'disable' + "Warning: Unit file changed in disk, 'systemctl --system daemon-reload' recommended + when does it do that? + if you disable the service -- need gc for active jobs that nothing cares for +* fixup var-run/var-lock tmpfs mounts. we need: + touch /var/run/utmp + chown root:utmp /var/run/utmp + mkdir -p /var/lock/subsys -- need gc for units that are not referenced anymore +* have a simple syslog bridge providing /dev/log and forward messages + to /dev/kmsg. at the moment the real syslog can be started, the bridge + is stopped and the open /dev/log fd to the real syslog. that way we + don't lose any early log message, and simple systems have full syslog + support in the kernel ringbuffer, without any syslog service or disk + access -- refreshing of units (i.e. reload config files) +* calendar time support in timer, iCalendar semantics for the timer stuff (RFC2445) -- further dbusification (i.e. export dependency information, per-unit-type data) +* implicitly import "defaults" settings file into all types -- cgroupsification +* add #ifdefs for non-sysv builds -- snapshot system +* reinvestigate hwclock -- add a job mode which shuts everything down but what is requested +* "disabled" load state? -- implement timer +* ability to kill services? i.e. in contrast to stopping them, go directly + into killing mode? -- implement automount +* port over to LISTEN_FDS/LISTEN_PID: -- create session/pgroup for child processes? handle input on console properly? interactive fsck? interactive luks password? + - uuidd 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 -- fs namespaces +* write utmp record a la upstart for processes -- templating/instances +* follow property change dbus spec -- verify fragment data after loading: refuse cycles on yourself, service units contradicting, more than one Start executable, ... +* selinux policy loading -- .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. +* fingerprint.target, wireless.target, gps.target -- 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. +* set_put(), hashmap_put() return values checken. i.e. == 0 macht kein free()! -- ability to kill services? i.e. in contrast to stopping them, go directly - into killing mode? +* fix merging in .swap units -- restart-on-success, restart-on-failure, restart-on-abort, restart-on-name-gnone +* chkconfig/systemd-install glue -- port over to LISTEN_FDS/LISTEN_PID: +* io priority during initialization - - 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 +* if a service fails too often, make the service enter maintainence mode, and the socket, too. + +* Ray: plymouth after/before getty? https://bugzilla.redhat.com/show_bug.cgi?id=623430 + +* be more forgiving when parsing unit files, when encountering incorrect lines with assignments + +* agetty darf nicht mit emergency.service kollidieren + +External: + +* sysv functions should color when stdout is tty, not stdin + +* agetty should not modify baudrate https://bugzilla.redhat.com/show_bug.cgi?id=623685 + +* ck logging, ssh readahead + +* pam: fix double sudo session cleanup: + http://www.gratisoft.us/bugzilla/show_bug.cgi?id=421 + +* 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 -- plymouth +https://bugzilla.redhat.com/show_bug.cgi?id=612789 -- umount /cgroup on halt +https://bugzilla.redhat.com/show_bug.cgi?id=612728 -- /etc/rc.d/init.d/functions +https://bugzilla.redhat.com/show_bug.cgi?id=612712 -- pam_systemd +https://bugs.freedesktop.org/show_bug.cgi?id=29193 -- accountsservice +https://bugs.freedesktop.org/show_bug.cgi?id=29194 -- ConsoleKit +https://bugs.freedesktop.org/show_bug.cgi?id=29205 -- udisks +http://article.gmane.org/gmane.linux.bluez.kernel/6479 -- bluez +http://www.spinics.net/lists/linux-nfs/msg14371.html -- rpcbind +https://bugzilla.redhat.com/show_bug.cgi?id=617328 -- ntp +https://bugzilla.redhat.com/show_bug.cgi?id=617320 -- at +https://bugzilla.redhat.com/show_bug.cgi?id=617326 -- fprintd +https://bugzilla.redhat.com/show_bug.cgi?id=617333 -- yum +https://bugzilla.redhat.com/show_bug.cgi?id=617317 -- acpid +https://bugzilla.redhat.com/show_bug.cgi?id=617327 -- gpm +https://bugzilla.redhat.com/show_bug.cgi?id=617330 -- pcsc-lite +https://bugzilla.redhat.com/show_bug.cgi?id=617321 -- audit + +Regularly: + +* look for close() vs. close_nointr() vs. close_nointr_nofail() + +* check for strerror(r) instead of strerror(-r) + +* Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel -- teach dbus to talk to systemd when autospawning services +* %m in printf() instead of strerror(); -- unix sockets chown()/chgrp() +* pahole -- watch dbus names for figuring out when a service has finished startup/goes down +* CFLAGS="-Wl,--gc-sections -Wl,--print-gc-sections -ffunction-sections -fdata-sections"