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