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