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