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