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