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