chiark / gitweb /
e74148b66d6af1937b1ab62b5d9db5d970f2d551
[elogind.git] / TODO
1 * udev-kernel.socket + udev.control.socket seems not
2   to work, udevd is started but no fd is passed
3
4 F15:
5
6 * swap units that are activated by one name but shown in the kernel under another are semi-broken
7
8 F15 External:
9
10 * NFS, networkmanager ordering issue (PENDING)
11
12 * NM should pull in network.target (PENDING)
13   https://bugzilla.redhat.com/show_bug.cgi?id=692008
14
15 * bluetooth should be possible to disable (PENDING)
16
17 * make anaconda write timeout=0 for encrypted devices
18
19 * fix broken Sockets=syslog-ng.socket packaging
20
21 Features:
22
23 * Remove kill_mode parameter to kill bus calls
24
25 * Fix nspawn to not read-only mount /selinux on the host system
26
27 * make sure people don't leave processes around after ExecStartPre=
28
29 * make sure systemd-ask-password-wall does not shutdown systemd-ask-password-console too early
30
31 * add loginctl, i.e. a systemctl for logind introspection
32
33 * support presets
34
35 * kernel: add /proc/sys file exposing CAP_LAST_CAP?
36
37 * kernel: add device_type = "fb", "fbcon" to class "graphics"
38
39 * understand https://bugzilla.redhat.com/show_bug.cgi?id=672194
40
41 * readahead: use BTRFS_IOC_DEFRAG_RANGE instead of BTRFS_IOC_DEFRAG ioctl, with START_IO
42
43 * readahead: check whether a btrfs volume includes ssd by checking mount flag "ssd"
44
45 * support sd_notify() style notificatio when reload is finished (RELOADED=1)
46
47 * verify that the AF_UNIX sockets of a service in the fs still exist
48   when we start a service in order to avoid confusion when a user
49   assumes starting a service is enough to make it accessible
50
51 * Make it possible to set the keymap independently from the font on
52   the kernel cmdline. Right now setting one resets also the other.
53
54 * add dbus call to convert snapshot into target
55
56 * move nss-myhostname into systemd
57
58 * figure out a standard place to configure timezone name, inform myllynen@redhat.com
59
60 * add dbus call to convert snapshot into target, and a dbus call to generate target from current state
61
62 * detect LXC with $container=lxc
63
64 * add prefix match to sysctl, tmpfiles, ...
65
66 * drop /.readahead on bigger upgrades with yum
67
68 * add inode stat() check to readahead to suppress preloading changed files
69
70 * allow list of paths in config_parse_condition_path()
71
72 * introduce dbus calls for enabling/disabling a service
73
74 * support notifications for services being enabled/disabled
75
76 * show enablement status in systemctl status
77
78 * consider services with any kind of link in /etc/systemd/system enabled
79
80 * teach systemctl to enable unit files in arbitrary directories
81
82 * In systemctl make sure both is-enabled and is-active print a string, or neither.
83
84 * Implement:
85     systemctl mask <unit>
86     systemctl unmask <unit>
87   Also support --temp to make this temporary by placing mask links in /run.
88
89 * add support for /bin/mount -s
90
91 * GC unreferenced jobs (such as .device jobs)
92
93 * add JoinControllers= to system.conf to mount certain cgroup
94   controllers together in order to guarantee atomic creation/addition
95   of cgroups
96
97 * avoid DefaultStandardOutput=syslog to have any effect on StandardInput=socket services
98
99 * cgroup_notify_empty(): recursively check groups up the tree, too
100
101 * fix alsa mixer restore to not print error when no config is stored
102
103 * fix upstart reboot compat call
104
105 * when failing to start a service due to ratelimiting, try again later, if restart=always is set
106
107 * write blog stories about:
108   - enabling dbus services
109   - status update
110   - /etc/sysconfig and /etc/default
111
112 * allow port=0 in .socket units
113
114 * rename systemd-logger to systemd-stdio-syslog-bridge
115
116 * take BSD file lock on tty devices when using them?
117
118 * avoid any flag files, or readahead files in /, we need to support r/o /
119   or / on tmpfs like Android setups.
120
121 * move readahead files into /var, look for them with .path units
122
123 * teach dbus to activate all services it finds in /etc/systemd/services/org-*.service
124
125 * get process transport into dbus for systemctl -P/-H
126
127 * document default dependencies
128
129 * support systemd.whitelist=/systemd.blacklist= on the kernel command
130   line.
131
132 * Find a way to replace /var/run, /var/lock directories with
133   symlinks during an RPM package upgrade (filesystem.rpm or systemd.rpm).
134   (lua code to create symlinks right away for new installations is in filesytem.rpm now)
135   We soon want to get rid of var-run.mount var-lock.mount units:
136     if mountpoint /run ; then
137           umount /var/run || :
138     else
139           mount --move /var/run /run || mount --bind /var/run /run
140     fi
141     mv /var/run /var/.run.save
142     ln -s /run /var/run
143     echo "R /var/.run.save" > /etc/tmpfiles.d/remove-run-save.conf
144
145 * when key file cannot be found, read it from kbd in cryptsetup
146
147 * add switch to systemctl to show enabled but not running services. Or
148   another switch that shows service that have been running since
149   booting but aren't running anymore.
150
151 * reuse mkdtemp namespace dirs in /tmp?
152
153 * recreate systemd's D-Bus private socket file on SIGUSR2
154
155 * be more specific what failed:
156     ...
157     Unmounting file systems.
158     Not all file systems unmounted, 1 left.
159     Disabling swaps.
160     Detaching loop devices.
161     Detaching DM devices.
162     Cannot finalize remaining file systems and devices, trying to kill remaining processes.
163     Unmounting file systems.
164     Not all file systems unmounted, 1 left.
165     Cannot finalize remaining file systems and devices, giving up.
166     ...
167
168 * check for compiled-in, but not active selinux, and don't print any warnings
169   about policy loading. Probably check for available selinux in /proc/filesystems,
170   and check for active selinux with getcon_raw() == "kernel"
171
172 * Support --test based on current system state
173
174 * show failure error string in "systemctl status"
175
176 * make sure timeouts are applied to Type=oneshot services.
177
178 * detect LXC environment
179
180 * investigate whether the gnome pty helper should be moved into systemd, to provide cgroup support.
181
182 * perhaps add "systemctl reenable" as combination of "systemctl disable" and "systemctl enable"
183
184 * need a way to apply mount options of api vfs from systemd unit files
185   (or some other modern source?) instead of fstab?
186
187 * maybe introduce ExecRestartPre=
188
189 * figure out what happened to bluez patch
190
191 * Patch systemd-fsck to use -C and pass console fd to it
192
193 * configurable jitter for timer events
194
195 * Support ProcessNeededForShutdown=true to allow stuff like mdmon to
196   be killed very late after the rootfs is read only? If implement pass
197   this to shutdown binary via command line argument.
198
199 * use pivot_root on shutdown so that we can unmount the root directory.
200    - copy binaries to, and pivot_root() to the "shutdown tmpfs"
201    - solve "mdadm --wait-clean" problem that way
202
203 * dot output for --test showing the 'initial transaction'
204
205 * calendar time support in timer, iCalendar semantics for the timer stuff (RFC2445)
206     http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=99ee5315dac6211e972fa3f23bcc9a0343ff58c4
207
208 * systemd --user
209   - get PR_SET_ANCHOR merged: http://lkml.org/lkml/2010/2/2/165
210
211 * add VT tracking:
212   - provide CK functionality
213   - start getty only when actual vt switch happens (same model as
214     socket on-demand activation). allocate the next free tty and
215     start a getty there. this way, pressing alt-f[1-12] will switch
216     through running X and getty sessions, and any unallocated
217     activated tty will start a new getty. the hardcoding of
218     getty[1-6] will entirely go away.
219   - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fbc92a3455577ab17615cbcb91826399061bd789
220
221 * implicitly import "defaults" settings file into all types
222
223 * port over to LISTEN_FDS/LISTEN_PID:
224    - uuidd    HAVEPATCH
225    - rpcbind (/var/run/rpcbind.sock!) HAVEPATCH
226    - cups     HAVEPATCH
227    - postfix, saslauthd
228    - apache/samba
229    - libvirtd (/var/run/libvirt/libvirt-sock-ro)
230    - bluetoothd (/var/run/sdp! @/org/bluez/audio!)
231    - distccd
232
233 * fingerprint.target, wireless.target, gps.target, netdevice.target
234
235 * set_put(), hashmap_put() return values check. i.e. == 0 doesn't free()!
236
237 * io priority during initialization
238
239 * if a service fails too often, make the service enter failed mode, and the socket, too.
240
241 * systemctl list-jobs - show dependencies
242
243 * auditd service files
244
245 * add systemctl switch to dump transaction without executing it
246
247 * suspend, resume support?
248
249 * readahead: btrfs/LVM SSD detection
250
251 * add separate man page for [Install] settings
252
253 * allow runtime changing of log level and target
254
255 * drop cap bounding set in readahead and other services
256
257 External:
258
259 * udisks should not use udisks-part-id, instead use blkid. also not probe /dev/loopxxx
260
261 * snd-seq should go, https://bugzilla.redhat.com/show_bug.cgi?id=676095
262
263 * gnome-shell python script/glxinfo/is-accelerated must die
264
265 * make cryptsetup lower --iter-time
266
267 * patch kernel for xattr support in /dev, /proc/, /sys and /sys/fs/cgroup?
268
269 * patch kernel for cpu feature modalias for autoloading aes/kvm/...
270     http://git.kernel.org/?p=linux/kernel/git/ak/linux-misc-2.6.git;a=shortlog;h=refs/heads/cpuid-match
271   (Rafael J. Wysocki's sysdev rework is on the way. After that CPUs can be exported a proper bus.)
272
273 * procps, psmisc, sysvinit-tools, hostname → util-linux-ng
274
275 https://bugzilla.redhat.com/show_bug.cgi?id=614245 -- plymouth
276 https://bugzilla.redhat.com/show_bug.cgi?id=612789 -- umount /cgroup on halt
277 https://bugzilla.redhat.com/show_bug.cgi?id=612728 -- /etc/rc.d/init.d/functions
278 https://bugzilla.redhat.com/show_bug.cgi?id=612712 -- pam_systemd
279 https://bugs.freedesktop.org/show_bug.cgi?id=29193 -- accountsservice
280 https://bugs.freedesktop.org/show_bug.cgi?id=29194 -- ConsoleKit
281 https://bugs.freedesktop.org/show_bug.cgi?id=29205 -- udisks
282 http://article.gmane.org/gmane.linux.bluez.kernel/6479 -- bluez
283 http://www.spinics.net/lists/linux-nfs/msg14371.html -- rpcbind
284 https://bugzilla.redhat.com/show_bug.cgi?id=617328 -- ntp
285 https://bugzilla.redhat.com/show_bug.cgi?id=617320 -- at
286 https://bugzilla.redhat.com/show_bug.cgi?id=617326 -- fprintd
287 https://bugzilla.redhat.com/show_bug.cgi?id=617333 -- yum
288 https://bugzilla.redhat.com/show_bug.cgi?id=617317 -- acpid
289 https://bugzilla.redhat.com/show_bug.cgi?id=617327 -- gpm
290 https://bugzilla.redhat.com/show_bug.cgi?id=617330 -- pcsc-lite
291 https://bugzilla.redhat.com/show_bug.cgi?id=617321 -- audit
292 https://bugzilla.redhat.com/show_bug.cgi?id=617316 -- abrt
293
294 Regularly:
295
296 * look for close() vs. close_nointr() vs. close_nointr_nofail()
297
298 * check for strerror(r) instead of strerror(-r)
299
300 * Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel
301
302 * %m in printf() instead of strerror();
303
304 * pahole
305
306 * CFLAGS="-Wl,--gc-sections -Wl,--print-gc-sections -ffunction-sections -fdata-sections"