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