chiark / gitweb /
automount: fix segfault when shutting down
[elogind.git] / TODO
1 Bugs:
2
3 * sometimes processes seem to remain when we kill a service
4   http://lists.fedoraproject.org/pipermail/devel/2011-January/147559.html
5
6 * dep loop when using encrypted swap
7   https://bugzilla.redhat.com/show_bug.cgi?id=657234
8
9 * somehow some /etc/fstab supplied mount params are never applied to api fs
10   https://bugzilla.redhat.com/show_bug.cgi?id=663108
11
12 * bind mounts with 'fsck' fail and block for a minute:
13     /foo /bar none bind 1 1
14   (requesting fsck is wrong, but why do we block for a minute
15    instead of just handling the error)
16
17 * isolate multi-user.target doesn't start a getty@tty1 if we run it from graphical.target
18
19 * sendmail.service doesn't get rid PID file, fails to kill everything on stop
20
21 Features:
22
23 * maybe introduce ExecRestartPre=
24
25 * reload PID file after reload, allow dynamically changing main PIDs
26
27 * figure out what happened to bluez patch
28
29 * introduce StandardOutput=syslog+console and StandardOutput=kmsg+console to support fsck output at boot
30
31 * Patch systemd-fsck to use -C and pass console fd to it
32
33 * support remote/ssh systemctl/systemadm, and local privileged access
34
35 * finish syslog socket stuff
36
37 * configurable jitter for timer events
38
39 * support caching password questions in plymouth and on the console
40   https://bugzilla.redhat.com/show_bug.cgi?id=655538
41
42 * exclude java hsp files by default
43   https://bugzilla.redhat.com/show_bug.cgi?id=527425
44
45 * load EnvironmentFile= when starting services, not when reloading configuration
46   https://bugzilla.redhat.com/show_bug.cgi?id=661282
47
48 * support globs in systemd-tmpfiles
49
50 * drop IN_ATTRIB from inotify watches for .path units where possible to avoid
51   lots of wakeups due to /dev changing when we watch a subdir of /dev.
52
53 * Support ProcessNeededForShutdown=true to allow stuff like mdmon
54   to be killed very late after the rootfs is read only
55
56 * Integrate "mdadm --wait-clean". Maybe just let SIGTERM to mdmon trigger the
57   needed action
58
59 * oneshot services which do not remain: 'exited' instead of 'dead'?
60   it should be visible in 'systemctl' that they have been run?
61
62 * dot output for --test showing the 'initial transaction'
63
64 * calendar time support in timer, iCalendar semantics for the timer stuff (RFC2445)
65   - check timerfd() patch: http://lkml.org/lkml/2010/11/23/290
66
67 * systemd --user
68   - get PR_SET_ANCHOR merged: http://lkml.org/lkml/2010/2/2/165
69
70 * add VT tracking:
71     - provide CK functionality
72     - start getty only when actual vt switch happens (same model as
73       socket on-demand activation). allocate the next free tty and
74       start a getty there. this way, pressing alt-f[1-12] will switch
75       through running X and getty sessions, and any unallocated
76       activated tty will start a new getty. the hardcoding of
77       getty[1-6] will entirely go away.
78     - http://git.kernel.org/?p=linux/kernel/git/gregkh/tty-2.6.git;a=commitdiff;h=fbc92a3455577ab17615cbcb91826399061bd789
79
80 * implicitly import "defaults" settings file into all types
81
82 * port over to LISTEN_FDS/LISTEN_PID:
83    - uuidd    DONE
84    - dbus     DONE
85    - rsyslog  DONE
86    - rpcbind (/var/run/rpcbind.sock!) DONE
87    - cups     DONE
88    - avahi-daemon (/var/run/avahi-daemon/socket) DONE
89    - ssh      CLASSIC
90    - postfix, saslauthd
91    - apache/samba
92    - libvirtd (/var/run/libvirt/libvirt-sock-ro)
93    - bluetoothd (/var/run/sdp! @/org/bluez/audio!)
94    - distccd
95
96 * fingerprint.target, wireless.target, gps.target
97
98 * set_put(), hashmap_put() return values check. i.e. == 0 doesn't free()!
99
100 * io priority during initialization
101
102 * if a service fails too often, make the service enter failed mode, and the socket, too.
103
104 * systemctl list-jobs - show dependencies
105
106 * accountsservice is borked
107
108 * auditd service files
109
110 * add systemctl switch to dump transaction without executing it
111
112 * suspend, resume
113
114 * readahead: btrfs/LVM SSD detection
115
116 * when processes remain in a service even though the start command failed enter active
117
118 * add seperate man page for [Install] settings
119
120 * only add quotacheck deps to .mount units which mention grpquota/usrquota in the mount flags
121
122 * systemctl condrestart should return 0 if service isn't running
123
124 * tmpfiles: allow specification of .conf files on cmdline
125
126 * allow runtime changing of log level and target
127
128 * automatically determine TERM= based on tty name even for /dev/console
129     http://git.kernel.org/?p=linux/kernel/git/gregkh/tty-2.6.git;a=commitdiff;h=fbc92a3455577ab17615cbcb91826399061bd789
130     http://git.kernel.org/?p=linux/kernel/git/gregkh/tty-2.6.git;a=commitdiff;h=b7b8de087384cc1954a8cd075af3f9e5977caa2e
131
132 * global defaults for StandardOuput=xxx
133
134 Fedora:
135
136 * chkconfig → systemd enable/daemon-reload glue
137
138 * /var/lock, /var/run → what happens if rpm stuff is no %ghosted?
139
140 External:
141
142 * make cryptsetup lower --iter-time
143
144 * patch kernel for xattr support in /dev, /proc/, /sys and /sys/fs/cgroup.
145
146 * patch kernel for cpu feature modalias for autoloading aes/kvm/...
147     http://git.kernel.org/?p=linux/kernel/git/ak/linux-misc-2.6.git;a=shortlog;h=refs/heads/cpuid-match
148
149 * place /etc/inittab with explaining blurb.
150
151 * procps, psmisc, sysvinit-tools, hostname → util-linux-ng
152
153 https://bugzilla.redhat.com/show_bug.cgi?id=614245 -- plymouth
154 https://bugzilla.redhat.com/show_bug.cgi?id=612789 -- umount /cgroup on halt
155 https://bugzilla.redhat.com/show_bug.cgi?id=612728 -- /etc/rc.d/init.d/functions
156 https://bugzilla.redhat.com/show_bug.cgi?id=612712 -- pam_systemd
157 https://bugs.freedesktop.org/show_bug.cgi?id=29193 -- accountsservice
158 https://bugs.freedesktop.org/show_bug.cgi?id=29194 -- ConsoleKit
159 https://bugs.freedesktop.org/show_bug.cgi?id=29205 -- udisks
160 http://article.gmane.org/gmane.linux.bluez.kernel/6479 -- bluez
161 http://www.spinics.net/lists/linux-nfs/msg14371.html -- rpcbind
162 https://bugzilla.redhat.com/show_bug.cgi?id=617328 -- ntp
163 https://bugzilla.redhat.com/show_bug.cgi?id=617320 -- at
164 https://bugzilla.redhat.com/show_bug.cgi?id=617326 -- fprintd
165 https://bugzilla.redhat.com/show_bug.cgi?id=617333 -- yum
166 https://bugzilla.redhat.com/show_bug.cgi?id=617317 -- acpid
167 https://bugzilla.redhat.com/show_bug.cgi?id=617327 -- gpm
168 https://bugzilla.redhat.com/show_bug.cgi?id=617330 -- pcsc-lite
169 https://bugzilla.redhat.com/show_bug.cgi?id=617321 -- audit
170 https://bugzilla.redhat.com/show_bug.cgi?id=617316 -- abrt
171
172 Regularly:
173
174 * look for close() vs. close_nointr() vs. close_nointr_nofail()
175
176 * check for strerror(r) instead of strerror(-r)
177
178 * Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel
179
180 * %m in printf() instead of strerror();
181
182 * pahole
183
184 * CFLAGS="-Wl,--gc-sections -Wl,--print-gc-sections -ffunction-sections -fdata-sections"