]> git.ipfire.org Git - thirdparty/systemd.git/blame - TODO
update TODO
[thirdparty/systemd.git] / TODO
CommitLineData
71092d70 1Bugfixes:
7c66aeba
KS
2* check systemd-tmpfiles for selinux context hookup for mknod(), symlink() and similar
3
c904f64d
LP
4* swap units that are activated by one name but shown in the kernel under another are semi-broken
5
05677bb7 6* make anaconda write timeout=0 for encrypted devices
73090dc8 7
71092d70 8* make sure timeouts are applied to Type=oneshot services.
ddd88763 9
f957632b
KS
10* Dangling symlinks of .automount unit files in .wants/ directories, set up
11 automount points even when the original .automount file did not exist
12 anymore. Only the .mount unit was still around.
13
9a366075
LP
14* make polkit checks async
15
a40593a0 16* properly handle .mount unit state tracking when two mount points are stacked one on top of another on the exact same mount point.
20ffc4c4 17
71092d70 18Features:
20ffc4c4 19* selinux: merge systemd selinux access controls (dwalsh)
f25626ed 20
25016cb6
LP
21* cg_shorten_controllers() misuses alloca()
22
c3175a7f
LP
23* suspend/hibernate/hybrid support, auto-suspend logic with idle hint
24
20ffc4c4
KS
25* udev: move strpcpy(), strpcpyl(), strscpy(), strscpyl() to shared/
26
b45f770f 27* udev: find a way to tell udev to not cancel firmware requests when running in initramfs
b8217b7b 28
b45f770f
KS
29* udev: scsi_id -> sg3_utils -> kill scsi_id
30
31* udev: add trigger --subsystem-match=usb/usb_device device
b8217b7b 32
b8217b7b
KS
33* udev: libudev.so.1
34 - use symbol versioning
512dabcd 35 - always return object with *_unref()
b45f770f 36 - remove deprecated symbols
512dabcd
KS
37 - udev_monitor_from_socket()
38 - udev_queue_get_failed_list_entry()
39 - udev_get_{dev,sys,run}_path()
b8217b7b 40
08f23fd2
LP
41* allow configuration of console width/height in vconsole.conf
42
3cc58880
LP
43* PrivateTmp should apply to both /tmp and /var/tmp
44
45* fstab should take priority over units in /usr
46
18b754d3 47* cleanup syslog 'priority' vs. 'level' wording
068665b6 48
b070e7f3
LP
49* journal: if mmap() fails for mapping window try to unmap a a few older maps
50
231931ff
LP
51* dbus upstream still refers to dbus.target and shouldn't
52
169c4f65
LP
53* when a service has the same env var set twice we actually store it twice and return that in systemctl show -p... We should only show the last setting
54
6ba383fa
LP
55* add man page documenting all kernel cmdline options, including stuff like fsck.mode=
56
bd08f242
LP
57* show getty in container mode, not sulogin
58
59* support container_ttys=
60
71100051 61* journald: make configurable "store-on-var", "store-on-run", "dont-store", "auto"
d3c7d7dd 62 (store-persistent, store-volatile?)
71100051 63
fb0864e7
LP
64* introduce mix of BindTo and Requisite
65
18da4953
LP
66* journalctl: show multiline log messages sanely, expand tabs, and show all valid utf8 messages
67
8af0fcdb
LP
68* introduce NeedsMounts= or so to create .mount dependencies automatically for a specific path
69
9586cdfa
LP
70* add DeleteSocketsOnStop=yes|no option to socket units
71
9586cdfa
LP
72* journal: store euid in journal if it differs from uid
73
6b80b9b8
LP
74* support chrony in addition to ntpd in timedated
75
7f110ff9
LP
76* document crypttab(5)
77
78* There's currently no way to cancel fsck (used to be possible via C-c or c on the console)
79
7d900eb6
LP
80* keep an eye on https://bugzilla.gnome.org/show_bug.cgi?id=670100
81
101f0776
LP
82* journal: sanely deal with entries which are larger than the individual file size, but where the componets would fit
83
f7f964eb
LP
84* add command to systemctl to plot dependency graph as tree (see rhbz 795365)
85
d0e5a333
LP
86* make logind reserve tty10 or so for text logins, so that gdm never picks it up
87
88* add option to sockets to avoid activation. Instead just drop packets/connections, see http://cyberelk.net/tim/2012/02/15/portreserve-systemd-solution/
89
d0e5a333
LP
90* default unix qlen is too small (10). bump sysctl? add sockopt?
91
6edd7ca1
KS
92* support units generated by a generator and placed in /run/systemd/system/; the directory is
93 currently ignored because it is empty before the generatores are executed
94
15e9fbd8
LP
95* Possibly, detect whether SysV init scripts can do reloading by looking for "echo Usage:" lines
96
53ed2eeb
LP
97* figure out whether we should leave dbus around during shutdown
98
353e12c2
LP
99* add interface to allow immediate rotation of the journal, and even flushing.
100
680a1dbc
LP
101* dbus: in fedora, make the machine a symlink to /etc/machine-id
102
7e64c73a
LP
103* journald: reuse XZ context
104
c4aa65e7 105* logind: add equivalent to sd_pid_get_owner_uid() to the D-Bus API
7e64c73a 106
36e43bdd
LP
107* write RPM spec macros for presets
108
b61c9051
LP
109* journal: write man pages for API
110
a558d003
LP
111* journal: OR matches are borked
112
113* journal: extend hash tables as we go
114
115* journal: API for looking for retrieving "all values of this field"
116
117* journal: deal nicely with byte-by-byte copied files, especially regards header
118
119* journal: local deserializer of export mode, http server
120
121* journal: message catalog
122
123* journal: forward-secure signatures
124
05aa9edd
LP
125* document the exit codes when services fail before they are exec()ed
126
31ed59c5
LP
127* rework namespace support, don't use pivot_root, and mount things after creating the namespace, not before
128
62f21ec9
LP
129* systemctl journal command
130
131* journalctl: --cursor support, priority filtering
132
133* systemctl status: show coredumps
134
135* systemctl status: show whether journal was rotated since service started
136
87a8baa3
LP
137* save coredump in Windows/Mozilla minidump format
138
139* support crash reporting operation modes (https://live.gnome.org/GnomeOS/Design/Whiteboards/ProblemReporting)
140
0716c60e 141* journal: allow per-entry control on /var vs. /run (think incognito browser mode)
87a8baa3 142
5ba081b0
LP
143* clean up session cgroups that remain after logout (think sshd), but eventually run empty
144
b3fa47e0
LP
145* support "systemctl stop foobar@.service" to stop all units matching a certain template
146
aaf53376
LP
147* move to LGPL2+
148
7f3e6257
LP
149* logind: allow showing logout dialog from system
150
151* document that %% can be used to write % in a string that is specifier extended
152
4cbd9ecf
LP
153* when an instanced service exits, remove its parent cgroup too if possible.
154
25d6283a
LP
155* as Tom Gundersen pointed out there's a always a dep loop if people use crypto file systems with random keys
156
a6eb9147
LP
157* automatically escape unit names passed on the service (i.e. think "systemctl start serial-getty.service@serial/by-path/jshdfjsdfhkjh" being automatically escaped as necessary.
158
b011116d
KS
159* if we can not get user quota for tmpfs, mount a separate tmpfs instance
160 for every user in /run/user/$USER with a configured maximum size
7d441ddb 161
65c0cf71
LP
162* default to actual 32bit PIDs, via /proc/sys/kernel/pid_max
163
7ef5875d
LP
164* add an option to make mounts private/shareable and so on, enable this for root by default
165
f957632b
KS
166* be able to specify a forced restart of service A where service B depends on, in case B
167 needs to be auto-respawned?
168
a2f5666d
LP
169* Something is wrong with symlink handling of "autovt@.service" in "systemctl list-unit-files"
170
ad740100
LP
171* when a bus name of a service disappears from the bus make sure to queue further activation requests
172
c821bd28
LP
173* something like ConditionExec= or ExecStartPre= without failure state
174
de6c78f8 175* tmpfiles: apply "x" on "D" too (see patch from William Douglas)
7d441ddb 176
14e639ae
LP
177* don't set $HOME in services unless requested
178
ff01d048
LP
179* hide PAM/TCPWrap options in fragment parser when compile time disabled
180
d3c7d7dd 181* when we automatically restart a service, ensure we restart its rdeps, too.
72b9ed82 182
1d6702e8
LP
183* allow Type=simple with PIDFile=
184 https://bugzilla.redhat.com/show_bug.cgi?id=723942
185
71092d70
LP
186* move PAM code into its own binary
187
188* warn if the user stops a service but not its associated socket
0a55b298 189
97f73ffb
LP
190* logind: spawn user@..service on login
191
85f248b2
LP
192* logind: non-local X11 server handling
193
1258097c
LP
194* implement Register= switch in .socket units to enable registration
195 in Avahi, RPC and other socket registration services.
196
a4c279f8
LP
197* make sure systemd-ask-password-wall does not shutdown systemd-ask-password-console too early
198
d3fc81bd
LP
199* readahead: use BTRFS_IOC_DEFRAG_RANGE instead of BTRFS_IOC_DEFRAG ioctl, with START_IO
200
201* readahead: check whether a btrfs volume includes ssd by checking mount flag "ssd"
202
7c697168 203* support sd_notify() style notification when reload begins (RELOADING=1), reload is finished (READY=1), and add ReloadSignal= then to use in combination
253ee27a 204
71092d70 205* support sd_notify() style notification when shutting down, to make auto-exit bus services work (STOPPING=1)
8d0e38a2 206
f28f1daf
LP
207* verify that the AF_UNIX sockets of a service in the fs still exist
208 when we start a service in order to avoid confusion when a user
209 assumes starting a service is enough to make it accessible
210
88a07670
LP
211* Make it possible to set the keymap independently from the font on
212 the kernel cmdline. Right now setting one resets also the other.
213
916abb21
LP
214* move nss-myhostname into systemd
215
71092d70 216* and a dbus call to generate target from current state
916abb21 217
b23de6af
LP
218* drop /.readahead on bigger upgrades with yum
219
71092d70 220* add inode nr check to readahead to suppress preloading changed files
adf70c5e 221
21bdae12
LP
222* add support for /bin/mount -s
223
9534ce54
LP
224* GC unreferenced jobs (such as .device jobs)
225
c798c40e
LP
226* when failing to start a service due to ratelimiting, try again later, if restart=always is set
227
68c7d001 228* write blog stories about:
68c7d001
LP
229 - enabling dbus services
230 - status update
7a2a0b90 231 - how to make changes to sysctl and sysfs attributes
253ee27a 232 - remote access
5d0fcd7c
LP
233 - how to pass throw-away units to systemd, or dynamically change properties of existing units
234 - how to integrate cgconfig and suchlike with systemd
acb14d31 235 - resource control in systemd
73090dc8 236
44143309 237* allow port=0 in .socket units
3d57c6ab 238
b9a2a36b
LP
239* move readahead files into /var, look for them with .path units
240
ba1a5515 241* teach dbus to activate all services it finds in /etc/systemd/services/org-*.service
9408a2d2 242
71092d70 243* support systemd.mask= on the kernel command line.
3f7a8c4e 244
f9276855
LP
245* when key file cannot be found, read it from kbd in cryptsetup
246
260abb78
LP
247* reuse mkdtemp namespace dirs in /tmp?
248
260abb78 249* recreate systemd's D-Bus private socket file on SIGUSR2
2791a8f8 250
a8f11321
LP
251* Support --test based on current system state
252
21bdae12
LP
253* investigate whether the gnome pty helper should be moved into systemd, to provide cgroup support.
254
c32e0c40
LP
255* maybe introduce ExecRestartPre=
256
35f10fcc
LP
257* configurable jitter for timer events
258
cc9784c6
LP
259* timer events with system resume
260
261* timer events on calendar time
71092d70 262
59fee421
LP
263* dot output for --test showing the 'initial transaction'
264
8c6db833 265* calendar time support in timer, iCalendar semantics for the timer stuff (RFC2445)
8bf7fea5 266 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=99ee5315dac6211e972fa3f23bcc9a0343ff58c4
351c7e74 267
129126f3 268* implicitly import "defaults" settings file into all types
71092d70
LP
269* exec settings override
270* writable cgroups dbus properties for live changes
75787bb7 271
0cdad5c0
LP
272* read config fragments for all units from /lib/systemd/system/foobar.service.d/ to override/extend specific settings
273
129126f3 274* port over to LISTEN_FDS/LISTEN_PID:
7d9e57d2
KS
275 - rpcbind (/var/run/rpcbind.sock!) HAVEPATCH
276 - cups HAVEPATCH
a625ac1a 277 - postfix, saslauthd
a625ac1a
LP
278 - apache/samba
279 - libvirtd (/var/run/libvirt/libvirt-sock-ro)
280 - bluetoothd (/var/run/sdp! @/org/bluez/audio!)
a625ac1a
LP
281 - distccd
282
71092d70 283* auditd service files
0ff3dea7 284
71092d70 285* fingerprint.target, wireless.target, gps.target, netdevice.target
246756ca 286
50f2a90d 287* io priority during initialization
8fe914ec 288
71092d70 289* systemctl list-jobs - show dependencies
20604ebc 290
20604ebc
LP
291* add systemctl switch to dump transaction without executing it
292
9534ce54
LP
293* drop cap bounding set in readahead and other services
294
2f8cd170 295External:
74fe1fe3 296
cc9784c6 297* dbus:
cc9784c6 298 - dbus --user
3377af3e 299 - natively watch for dbus-*.service symlinks (PENDING)
cc9784c6
LP
300 - allow specification of socket mode/umask when allocating DBusServer
301 - allow disabling of fd passing when connecting a AF_UNIX connection
3377af3e 302 - allow disabling of UID passing for AUTH EXTERNAL
b69d29ce 303 - always pass cred data along each message
cc9784c6 304
71092d70
LP
305* systemd --user
306 PR_SET_CHILD_REAPER patch: https://lkml.org/lkml/2011/7/28/426
d3c7d7dd 307 (patch in linux-next, on the way to the next kernel)
71092d70
LP
308
309* fix alsa mixer restore to not print error when no config is stored
310
7d9e57d2 311* gnome-shell python script/glxinfo/is-accelerated must die
f959c5e6 312
74fe1fe3
LP
313* make cryptsetup lower --iter-time
314
44143309 315* patch kernel for xattr support in /dev, /proc/, /sys and /sys/fs/cgroup?
06ae4bfe 316
69b1c674
KS
317* NTP: the kernel's 11-minutes-mode syncs the system time to the RTC, but only
318 in an ~30 minutes window. It does not adjust larger differences. Find a way
319 to tell the kernel, to always do a full time sync when the RTC is in UTC and
320 we are in 11-minutes-mode. When we trust the system time to NTP we also want
321 the RTC to sync up.
322
6f3f9deb 323* patch kernel for cpu feature modalias for autoloading aes/kvm/...
69b1c674 324 (patches in linux-next, on the way to the next kernel)
6f3f9deb 325
71092d70 326* kernel: add device_type = "fb", "fbcon" to class "graphics"
14bd37fe 327
129126f3 328Regularly:
874aa2cc 329
129126f3 330* look for close() vs. close_nointr() vs. close_nointr_nofail()
5021be21 331
129126f3 332* check for strerror(r) instead of strerror(-r)
5b6319dc
LP
333
334* Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel
8c6db833
LP
335
336* %m in printf() instead of strerror();
444a79d3
LP
337
338* pahole
339
71092d70 340* set_put(), hashmap_put() return values check. i.e. == 0 doesn't free()!