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