]> git.ipfire.org Git - thirdparty/systemd.git/blame - TODO
test-util: add more tests
[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
f957632b
KS
6* Dangling symlinks of .automount unit files in .wants/ directories, set up
7 automount points even when the original .automount file did not exist
8 anymore. Only the .mount unit was still around.
9
9a366075
LP
10* make polkit checks async
11
a40593a0 12* properly handle .mount unit state tracking when two mount points are stacked one on top of another on the exact same mount point.
20ffc4c4 13
7bcd865d
ZJS
14* add 'set -e' to scripts in test/
15* make test in test/ work with separate output dir
16
2f8d077e
KS
17* suppress log output on shutdown when "quiet" is used
18
2d19f95c 19Fedora 19:
3679d112 20
2f8d077e 21* make anaconda write timeout=0 for encrypted devices
81d112a8 22
2d19f95c
KS
23* create /var/log/journal/
24
a4cc3e5c
LP
25* external: maybe it is time to patch procps so that "ps" links to
26 libsystemd-logind to print a pretty service name, seat name, session
27 name in its output. Currently it only shows cgroup membership, but
0028da22 28 that's sometimes kinda hard to parse for a human.
a4cc3e5c 29
7e2c2bcf 30* cgroup attrs:
f0c15f28 31 - update dbus interface docs in wiki
7b4da18c 32
7b4da18c 33* kernel cmdline switch to turn off predictable network interface names
788f75a0 34
b44be3ec 35* journal is not closed properly at shutdown when run in a container?
205b7fa4 36
81d112a8
LP
37* localed:
38 - localectl: add listing support for X11 keymaps, by parsing /usr/share/X11/xkb/rules/xorg.lst
39 - localectl: support new converted x11→console keymaps
40
eb124a97 41* logind: Class property should probably know "background" or so as value for cron jobs, and the inhibition checks should filter those out too.
990ffbe5 42
dd359de8
LP
43* timer logic is confused by units which are skipped due to failing condition
44 http://lists.freedesktop.org/archives/systemd-devel/2013-February/008816.html
45
61a9648f
LP
46* timer logic is also confused if a service it triggers hasn't finished when the next timer elapses:
47 http://lists.freedesktop.org/archives/systemd-devel/2013-February/009021.html
48
eb124a97 49Features:
3679d112 50
247c873b
LP
51* safe_atod() is too naive, as it is vulnerable to locale parameters, should be locale independent.
52
6bc80e94
LP
53* neither pkexec nor sudo initialize environ[] from the PAM environment?
54
487060c2
LP
55* rework specifier logic so that we can distuingish OOM errors from other errors
56
54c31a79
LP
57* systemd-inhibit: refuse taking delay locks
58
826872b6
LP
59* journal-or-kmsg is currently broken? See reverted commit 4a01181e460686d8b4a543b1dfa7f77c9e3c5ab8.
60
54c31a79 61* remove any syslog support from log.c -- we probably can't do this before split-off udev is gone for good
826872b6 62
3679d112
LP
63* tmpfiles: when traversing the tree, check for bind mount points with nametohandle()
64
65* fedora: connect the timer units of a service to the service via Also= in [Install], and maybe introduce timers.target
66
67* fedora: F20: go timer units all the way, leave cron.daily for cron
68
69* add a tool that lists active timer units plus their next elapstion and the time the units ran last
70
71* man: document the very specific env the shutdown drop-in tools live in
72
73* shutdown logging: store to EFI var, and store to USB stick?
74
75* man: extend runlevel(8) to mention that runlevels suck, and are dead. Maybe add runlevel(7) with a note about that too
76
77* systemctl: maybe add "systemctl add-wants" or so...
78
79* man: add a link to socket activation blog from systemd.socket(5)
80
81* systemctl status: show drop-in snippets for service files in addition to service file path themesevles.
82
83* man: add more examples to man pages
84
85* man: maybe sort directives in man pages, and take sections from --help and apply them to man too
86
3679d112
LP
87* add "# export SYSTEMD_PAGER=" to bash login
88
89* /usr/bin/service should actually show the new command line
90
91* fedora: suggest auto-restart on failure, but not on sucess and not on coredump. also, ask people to think about changing the start limit logic. Also point people to RestartPreventExitStatus=, SuccessExitStatus=
92
93* write UI tool that pops up emergency messages from the journal as notification
94
95* think about window-manager-run-as-user-service problem: exit 0 → activate shutdown.target; exit != 0 → restart service
96
97* msgcatalog determine default language of entries from the catalog
98 file name. i.e. foobar.de_DE.catalog would set the default entry
99 name for the entries to de_DE if they aren't explicitly suffixed
100 individually.
101
3ac525bd
LP
102* figure out what we do about hostnames/fqdn in hostnamectl/hostnamed
103
cbb77121
LP
104* use "log level" rather than "log priority" everywhere
105
106* unit_name_mangle() is currently not used on "systemctl enable" and friends, only on "systemctl start"
107
dd359de8
LP
108* ensure sd_journal_seek_monotonic actually works properly.
109
d01a73b6
LP
110* timedate: have global on/off switches for auto-time (NTP), and auto-timezone that connman can subscribe to.
111
eb124a97
LP
112* support --root= in msgcatalog compiler
113
990ffbe5 114* Honour "-" prefix for InaccessibleDirectories= and ReadOnlyDirectories= to
f8aeee1f
LP
115 suppress errors of the specified path doesn't exist
116
117* dev-setup.c: when running in a container, create a tiny stub udev
118 database with the systemd tag set for all network interfaces found,
119 so that libudev reports them as present, and systemd's .device units
120 will be activated.
121
81d112a8 122* merge service_kill() logic into unit_kill_context() and unify the code paths
490b7e47 123
81d112a8 124* introduce ExecCondition= in services
490b7e47 125
b44be3ec
LP
126* EFI:
127 - fsck hookup for the ESP mount is missing
128 - write man page for efi boot generator
b44be3ec
LP
129 - honor language efi variables for default language selection (if there are any?)
130 - honor timezone efi variables for default timezone selection (if there are any?)
131 - introduce bootctl (backed by systemd-bootd) to control temporary and persistent default boot goal plus efi variables
e4181484 132
c0fe5db5 133* maybe do not install getty@tty1.service symlink in /etc but in /usr?
e9fd44b7 134
b44be3ec 135* re-enable "make check" for gtk-doc (broken for unknown reason)
e9fd44b7 136
b44be3ec
LP
137* fstab: add new mount option x-systemd-after=/foobar/waldo to allow manual dependencies to other mount points
138 https://bugzilla.redhat.com/show_bug.cgi?id=812826
3040728b 139
b44be3ec 140* print a nicer explanation if people use variable/specifier expansion in ExecStart= for the first word
8ed20651 141
b44be3ec 142* mount: turn dependency information from /proc/self/mountinfo into dependency information between systemd units.
e6c6e7af 143
b44be3ec
LP
144* logind:
145 - logind: optionally, ignore idle-hint logic for autosuspend, block suspend as long as a session is around
146 - When we update the kernel all kind of hibernation should be prohibited until shutdown/reboot
147 - logind: wakelock/opportunistic suspend support
148 - Add pretty name for seats in logind
149 - logind: allow showing logout dialog from system?
150 - logind: spawn user@..service on login
151 - logind: non-local X11 server handling
152 - logind: add equivalent to sd_pid_get_owner_uid() to the D-Bus API
153 - pam_systemd: try to get old session id from cgroup, if audit sessionid cannot be determined
154 - pam: when leaving a session explicitly exclude the ReleaseSession() caller process from the killing spree
eb124a97 155 - logind: GetSessionByPID() should accept 0 as PID value
e673ad04 156
b44be3ec 157* exec: when deinitializating a tty device fix the perms and group, too, not only when initializing. Set access mode/gid to 0620/tty.
e673ad04 158
b44be3ec 159* DeviceAllow/DeviceDeny: disallow everything by default, but whitelist /dev/zero, /dev/null and friends
e673ad04 160
b44be3ec 161* service: watchdog logic: for testing purposes allow ping, but do not require pong
e673ad04 162
b44be3ec 163* journal:
c06bf414 164 - import and delete pstore filesystem content at startup
b44be3ec
LP
165 - journald: also get thread ID from client, plus thread name
166 - journal: when waiting for journal additions in the client always sleep at least 1s or so, in order to minimize wakeups
167 - add API to close/reopen/get fd for journal client fd in libsystemd-journal.
168 - fallback to /dev/log based logging in libsystemd-journal, if we can't log natively?
169 - declare the local journal protocol stable in the wiki interface chart
170 - journal: reuse XZ context
171 - sd-journal: speed up sd_journal_get_data() with transparent hash table in bg
172 - journald: when dropping msgs due to ratelimit make sure to write
173 "dropped %u messages" not only when we are about to print the next
174 message that works, but alraedy after a short tiemout
175 - check if we can make journalctl by default use --follow mode inside of less if called without args?
176 - maybe add API to send pairs of iovecs via sd_journal_send
177 - journal: when writing journal auto-rotate if time jumps backwards
178 - gatewayd: should run under its own UID
f47ec8eb 179 - journal: add a setgid "systemd-journal" utility to invoke from libsystemd-journal, which passes fds via STDOUT and does PK access
b44be3ec
LP
180 - journactl: support negative filtering, i.e. FOOBAR!="waldo",
181 and !FOOBAR for events without FOOBAR.
182 - journal: when rotating, copy over old acls/access mode
b44be3ec
LP
183 - journal: send out marker messages every now and then, and immediately sync with fdatasync() afterwards, in order to have hourly guaranteed syncs.
184 - journal: when we haven't written anything in a while, sync to disk and mark file as offline, in order to be more often than not in a clean state
185 - journal-send.c, log.c: when the log socket is clogged, and we drop, count this and write a message about this when it gets unclogged again.
186 - journal: find a way to allow dropping history early, based on priority, other rules
187 - journal: When used on NFS, check payload hashes
188 - journal: When used on NFS make sure wake up sd_journal_wait() every 2s, to handle missing inotify
b44be3ec
LP
189 - Introduce journalctl -b <nr> to show journal messages of a previous boot
190 - journald: check whether it is OK if the client can still modify delivered journal entries
f47ec8eb 191 - journal live copy, based on libneon (client) and libmicrohttpd (server)
b44be3ec
LP
192 - journald: add kernel cmdline option to disable ratelimiting for debug purposes
193 - refuse taking lower-case variable names in sd_journal_send() and friends.
194 - journald: we currently rotate only after MaxUse+MaxFilesize has been reached.
195 - journal: deal nicely with byte-by-byte copied files, especially regards header
196 - journalctl: show multiline log messages sanely, expand tabs, and show all valid utf8 messages
197 - journal: store euid in journal if it differs from uid
198 - journal: sanely deal with entries which are larger than the individual file size, but where the components would fit
2e4015f3 199 - journalctl: make journalctl smarter, and actually check groups that have access to /var/log/journal before printing message about recomming group membership for journal access
b44be3ec
LP
200
201* document:
202 - document unit_name_mangle()
203 - document that deps in [Unit] sections ignore Alias= fileds in
204 [Install] units of other units, unless those units are disabled
205 - man: clarify that time-sync.target is not only sysv compat but also useful otherwise. Same for similar targets
206 - Document word splitting syntax for ExecStart= and friends
207 - document that units from /etc override those from /usr and /run
208 - document the exit codes when services fail before they are exec()ed
b44be3ec 209 - document that service reload may be implemented as service reexec
eb124a97 210 - document in wiki how to map ical recurrence events to systemd timer unit calendar specifications
b44be3ec
LP
211
212* systemctl:
213 - systemctl list-jobs - show dependencies
214 - add systemctl switch to dump transaction without executing it
215 - Add a verbose mode to "systemctl start" and friends that explains what is being done or not done
216 - "systemctl disable" on a static unit prints no message and does
217 nothing. "systemctl enable" does nothing, and gives a bad message
218 about it. Should fix both to print nice actionable messages.
219 - print nice message from systemctl --failed if there are no entries shown, and hook that into ExecStartPre of rescue.service/emergency.service
220 - add new command to systemctl: "systemctl system-reexec" which reexecs as many daemons as virtually possible
221 - systemctl enable: improve the success messages (i.e. more human readable, less shell-like)
222 - systemctl enable: fail if target to alias into doesn't exist? maybe show how many units are enabled afterwards?
223 - systemctl: "Journal has been rotated since unit was started." message is misleading
224 - support "systemctl stop foobar@.service" to stop all units matching a certain template
225 - Something is wrong with symlink handling of "autovt@.service" in "systemctl list-unit-files"
7ba97195
ZJS
226 - add configuration/switches to use
227 freeze (http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git) and
228 standby (https://bugs.freedesktop.org/show_bug.cgi?id=57793) as suspend modes
8b04b925 229
b44be3ec 230* When shutdown.target is queued begin with an asynchronous sync()?
7361c3b4 231
e673ad04
LP
232* introduce ntp.service (or suchlike) as symlink that is used to arbitrate between various NTP implementations
233
b44be3ec
LP
234* deal with sendmail/postfix exclusivity
235
236* timer units:
237 - configurable jitter for timer events
238 - timer events with system resume
239 - timer units should get the ability to trigger when:
240 o CLOCK_REALTIME makes jumps (TFD_TIMER_CANCEL_ON_SET)
241 o DST changes
eb124a97 242 - Support 2012-02~4 as syntax for specifying the fourth to last day of the month.
d2e83c23
KS
243
244* update the kernel's TZ (sys_tz) when DST changes
245
246* sync down the system time to the RTC when:
f6113d42
KS
247 - CLOCK_REALTIME makes jumps (the user explicitely requested a time set)
248 - DST/timezone changes && ntp is active && RTC-in-localtime (never do it without ntp)
d2e83c23 249 This takes care of syncing ntpdate updates to the RTC, and DST updates for localtime
7a43e910 250 mode, it will never touch the RTC if the no reliable time source is active or the
d2e83c23 251 user did not request anything like it.
c55b1b59 252
6c1703cc
KS
253* hwdb:
254 - implement conditional properties (dmi matches)
255 - hwdb --filter=ID_DRIVE_*
08f95888 256
59704f3e
LP
257* if booted in "quiet" mode, and an error happens, turn on status
258 output again, so that the emergency mode isn't totally
259 surprising. Also, terminate plymouth.
9ec82de1 260
e707c494
LP
261* libunwind support for coredump pattern hook, and includes this in
262 the message for coredumps. After all, libunwind is now capable to
263 unwind coredumps since a few weeks ago. This probably requires that
7f873283
LP
264 we have nice support for multi-line messages on display in
265 logs-show.c. Alternatively: use libelfutil, which seems to be the
266 better supported alternative.
e707c494 267
e707c494
LP
268* figure out relation of --all and --full in the various tools
269
a19554ed
LP
270* add libsystemd-password or so to query passwords during boot using the password agent logic
271
1cb88f2c
LP
272* If we show an error about a unit (such as not showing up) and it has no Description string, then show a description string generated form the reverse of unit_name_mangle().
273
274* fedup: add --unit to systemctl switch-root somehow
275* fedup: don't delete initrd on switch-root
276* fedup: generator
603cd8fe 277
b44be3ec
LP
278* timedated:
279 - timedated: export boolean that clarifies whether NTP is even available
280 - timedated: refuse time changes when NTP is on
6d0274f1 281
a7a3f28b
LP
282* clean up date formatting and parsing so that all absolute/relative timestamps we format can also be parsed
283
9b27910b
LP
284* introduce generic AUGMENT_PID=, AUGMENT_DEVICE= fields
285
b44be3ec 286* on shutdown: move utmp, wall, audit logic all into PID 1 (or logind?), get rid of systemd-update-utmp-runlevel
08f95888 287
7d8197d1
KS
288* add "provisioning" instructions to setup an empty /etc + /var
289 - used to setup a new container from a shared /usr
290 - superset of tmpfiles model
291 - instructions shipped by packages and stored in /usr/lib/
292 - compose /etc/passwd and /etc/group, copy files
293 - able to create uid + gid used by packages, for file ownership
294
9ee58bdd
KS
295* make repeated alt-ctrl-del presses printing a dump, or even force a reboot without
296 waiting for the timeout
dcfc4b2e 297
71ef24d0
LP
298* high level net_prio setting in execution context
299
71ef24d0
LP
300* hostnamed: before returning information from /etc/machine-info.conf check the modification data and reread. Similar for localed, ...
301
1b89884b
LP
302* currently x-systemd.timeout is lost in the initrd, since crypttab is copied into dracut, but fstab isn't
303
1920e37e
LP
304* WorkingDirectory: support env var replacements like in ExecStart= so that people can use $HOME
305
15abdb9a 306* refuse boot if /etc/machine-id is not useful (or set taint?)
1920e37e 307
b44be3ec
LP
308* nspawn:
309 - nspawn: consider changing users for -u with su, so that NSS resolving works correctly
310 - nspawn: implement personality changes a la linux32(8)
311 - nspawn: --read-only is not applied recursively to submounts
312 - nspawn: make use of device cgroup controller by default
313 - bind mount read-only the cgroup tree higher than nspawn
eb124a97
LP
314 - nspawn: investigate whether we can support the same as LXC's
315 lxc.network.type=phys mode, and pass through entire network
316 interfaces to the container
317 - nspawn: maybe add a way to drop additional caps, in addition to add additional caps
318 - nspawn: maybe explicitly reset loginuid?
3679d112
LP
319 - nspawn: move all containers to name=systemd:/containers/, and introduce externally visible names for containers
320 - nspawn: make it work for dwalsh and shared /usr containers -- tmpfs mounts as command line parameters, selinux exec context
b44be3ec
LP
321
322* cryptsetup:
323 - cryptsetup-generator: warn if the password files are world-readable
324 - cryptsetup-generator: add RequiresMountsFor= to cryptseup service files referencing a file, similar for devices
325 - cryptsetup-generator: allow specification of passwords in crypttab itself
326 - move cryptsetup key caching into kernel keyctl?
327 https://bugs.freedesktop.org/show_bug.cgi?id=54982
328 - when key file cannot be found, read it from kbd in cryptsetup
f8019684 329
de34a42b
LP
330* move debug shell to tty6 and make sure this doesn't break the gettys on tty6
331
424a19f8 332* hw watchdog: optionally try to use the preset watchdog timeout instead of always overriding it
41f9172f 333 https://bugs.freedesktop.org/show_bug.cgi?id=54712
424a19f8
LP
334
335* after deserializing sockets in socket.c we should reapply sockopts and things
336
a1cccad1
LP
337* make timer units go away after they elapsed
338
8556879e 339* http://lists.freedesktop.org/archives/systemd-devel/2012-September/006502.html
d05c556b 340 (network and remote-fs on shutdown)
8556879e 341
8556879e
LP
342* come up with a nice way to write queue/read_ahead_kb for a block device without interfering with readahead
343
4a30847b
LP
344* move PID 1 segfaults to /var/lib/systemd/coredump?
345
5e8b2883
LP
346* create /sbin/init symlinks from the build system
347
d87be9b0
LP
348* Query Paul Moore about relabelling socket fds while they are open
349
88f89a9b
LP
350* system.conf should have controls for cgroups
351
38a60d71
LP
352* allow writing multiple conditions in unit files on one line
353
d8b78264
LP
354* explore multiple service instances per listening socket idea
355
7560fffc
LP
356* shutdown: don't read-only mount anything when running in container
357
68f16003 358* MountFlags=shared acts as MountFlags=slave right now.
0790b9fe 359
5a7e9599
LP
360* ReadOnlyDirectories= is not applied recursively to submounts
361
68f16003
LP
362* drop PID 1 reloading, only do reexecing (difficult: Reload()
363 currently is properly synchronous, Reexec() is weird, because we
364 can't delay the response properly until we are back, so instead of
365 being properly synchronous we just keep open the fd and close it
edca2e23 366 when done. That means clients don't get a successful method reply,
68f16003 367 but much rather a disconnect on success.
0790b9fe 368
5aea932f
LP
369* remember which condition failed for services, not just the fact that something failed
370
918943c7
LP
371* use opterr = 0 for all getopt tools
372
fd4d89b2
LP
373* properly handle loop back mounts via fstab, especially regards to fsck/passno
374
8230e26d
LP
375* allow services with no ExecStart= but with an ExecStop=
376
4d9909c9
LP
377* dracut-shutdown needs to be ordered before unmounting /boot
378
47ae7201
LP
379* initialize the hostname from the fs label of /, if /etc/hostname does not exist?
380
88a6c589 381* rename "userspace" to "core-os"
8351ceae 382
b44be3ec
LP
383* syscall filter:
384 - syscall filter: add knowledge about compat syscalls
385 - syscall filter: don't enforce no new privs?
386 - syscall filter: option to return EPERM rather than SIGSYS?
387 - syscall filter: port to libseccomp
388 - system-wide seccomp filter
c66d36e5 389
c649f72b
DS
390* systemd-analyze: data collection tools should be lightweight (few dependencies); data analysis tools can be heavyweight
391
be0aa784
LP
392* .device aliases need to be implemented with the "following" logic, probably.
393
9946996c
LP
394* load-fragment: when loading a unit file via a chain of symlinks
395 verify that it isn't masked via any of the names traversed.
396
3471bedc
LP
397* introduce Type=pid-file
398
eeb87514
LP
399* maybe allow services with ExecStop= set, but no ExecStart=?
400
59cea26a 401* change Requires=basic.target to RequisiteOverride=basic.target
35eb6b12 402
94734142 403* support rd.luks.allow-discards= kernel cmdline params in cryptsetup generator
f1a8e221 404
7b63bde1
LP
405* drop accountsservice's StandardOutput=syslog and Type=dbus fields
406
5b40d337
LP
407* when breaking cycles drop sysv services first, then services from /run, then from /etc, then from /usr
408
b86fa936
LP
409* move passno parsing to fstab generator
410
d3a3f222
KS
411* automount: implement expire:
412 - set superblock timeout AUTOFS_DEV_IOCTL_TIMEOUT_CMD
413 - periodically run AUTOFS_DEV_IOCTL_EXPIRE_CMD
414 - every timeout/4 (original autofs logic)
415 - blocking, needs a thread
416 - run until -EAGAIN
417 - receive expire packet on pipe if kernel tells the timeout is over
418 - call umount
419 - answer expire packet on pipe with AUTOFS_DEV_IOCTL_{READY,FAIL}_CMD
420 - AUTOFS_DEV_IOCTL_EXPIRE_CMD returns
465349c0 421
06dab8e1
LP
422* services which create their own subcgroups break cgroup-empty notification (needs to be fixed in the kernel)
423
e01a15b7 424* ExecOnFailure=/usr/bin/foo
a888b352 425
98ef27df 426* ConditionSecurity= should learn about IMA and SMACK
a0a38448 427
abd55b16 428* udev:
3f60bcb5 429 - remove src/udev/udev-builtin-firmware.c (CONFIG_FW_LOADER_USER_HELPER=n)
abd55b16
KS
430 - move to LGPL
431 - unify utf8 validator code with shared/
432 - kill scsi_id
433 - add trigger --subsystem-match=usb/usb_device device
b8217b7b 434
18b754d3 435* cleanup syslog 'priority' vs. 'level' wording
068665b6 436
231931ff
LP
437* dbus upstream still refers to dbus.target and shouldn't
438
169c4f65
LP
439* 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
440
bd08f242
LP
441* support container_ttys=
442
fb0864e7
LP
443* introduce mix of BindTo and Requisite
444
9586cdfa
LP
445* add DeleteSocketsOnStop=yes|no option to socket units
446
7f110ff9
LP
447* There's currently no way to cancel fsck (used to be possible via C-c or c on the console)
448
d0e5a333
LP
449* add option to sockets to avoid activation. Instead just drop packets/connections, see http://cyberelk.net/tim/2012/02/15/portreserve-systemd-solution/
450
d0e5a333
LP
451* default unix qlen is too small (10). bump sysctl? add sockopt?
452
53ed2eeb
LP
453* figure out whether we should leave dbus around during shutdown
454
abd55b16 455* dbus: in fedora, make /var/lib/dbus/machine-id a symlink to /etc/machine-id
680a1dbc 456
a6e87e90 457* dbus: move dbus to early boot
88f89a9b 458
87a8baa3
LP
459* save coredump in Windows/Mozilla minidump format
460
461* support crash reporting operation modes (https://live.gnome.org/GnomeOS/Design/Whiteboards/ProblemReporting)
462
5ba081b0
LP
463* clean up session cgroups that remain after logout (think sshd), but eventually run empty
464
4cbd9ecf
LP
465* when an instanced service exits, remove its parent cgroup too if possible.
466
65c0cf71
LP
467* default to actual 32bit PIDs, via /proc/sys/kernel/pid_max
468
f957632b
KS
469* be able to specify a forced restart of service A where service B depends on, in case B
470 needs to be auto-respawned?
471
ad740100
LP
472* when a bus name of a service disappears from the bus make sure to queue further activation requests
473
de6c78f8 474* tmpfiles: apply "x" on "D" too (see patch from William Douglas)
7d441ddb 475
b44be3ec 476* for services: don't set $HOME in services unless requested
14e639ae 477
ff01d048
LP
478* hide PAM/TCPWrap options in fragment parser when compile time disabled
479
d3c7d7dd 480* when we automatically restart a service, ensure we restart its rdeps, too.
72b9ed82 481
1d6702e8
LP
482* allow Type=simple with PIDFile=
483 https://bugzilla.redhat.com/show_bug.cgi?id=723942
484
71092d70
LP
485* move PAM code into its own binary
486
1258097c
LP
487* implement Register= switch in .socket units to enable registration
488 in Avahi, RPC and other socket registration services.
489
a4c279f8
LP
490* make sure systemd-ask-password-wall does not shutdown systemd-ask-password-console too early
491
7c697168 492* support sd_notify() style notification when reload begins (RELOADING=1), reload is finished (READY=1), and add ReloadSignal= then to use in combination
253ee27a 493
71092d70 494* support sd_notify() style notification when shutting down, to make auto-exit bus services work (STOPPING=1)
8d0e38a2 495
f28f1daf
LP
496* verify that the AF_UNIX sockets of a service in the fs still exist
497 when we start a service in order to avoid confusion when a user
498 assumes starting a service is enough to make it accessible
499
88a07670
LP
500* Make it possible to set the keymap independently from the font on
501 the kernel cmdline. Right now setting one resets also the other.
502
71092d70 503* and a dbus call to generate target from current state
916abb21 504
b44be3ec
LP
505* readahead:
506 - drop /.readahead on bigger upgrades with yum
507 - move readahead files into /var (look for them with .path units?)
508 - readahead: use BTRFS_IOC_DEFRAG_RANGE instead of BTRFS_IOC_DEFRAG ioctl, with START_IO
509 - readahead: when bumping /sys readahead variable save mtime and compare later to detect changes
510 - readahead: make use of EXT4_IOC_MOVE_EXT, as used by http://e4rat.sourceforge.net/
b23de6af 511
21bdae12
LP
512* add support for /bin/mount -s
513
9534ce54
LP
514* GC unreferenced jobs (such as .device jobs)
515
68c7d001 516* write blog stories about:
796b06c2 517 - hwdb: what belongs into it, lsusb
68c7d001
LP
518 - enabling dbus services
519 - status update
7a2a0b90 520 - how to make changes to sysctl and sysfs attributes
253ee27a 521 - remote access
5d0fcd7c
LP
522 - how to pass throw-away units to systemd, or dynamically change properties of existing units
523 - how to integrate cgconfig and suchlike with systemd
8bbabc44 524 - testing with Harald's awesome test kit
f530371f 525 - auto-restart
e707c494 526 - how to develop against journal browsing APIs
a19554ed 527 - the journal HTTP iface
a73d88fa 528 - non-cgroup resource management
a74a8793 529 - dynamic resource management with cgroups
3040728b 530 - refreshed, longer missions statement
3679d112
LP
531 - calendar time events
532 - init=/bin/sh vs. "emergency" mode, vs. "rescue" mode, vs. "multi-user" mode, vs. "graphical" mode, and the debug shell
533 - how to create your own target
534 - instantiated apache, dovecot and so on
535 - hooking a script into various stages of shutdown/rearly booot
73090dc8 536
44143309 537* allow port=0 in .socket units
3d57c6ab 538
71092d70 539* support systemd.mask= on the kernel command line.
3f7a8c4e 540
260abb78
LP
541* reuse mkdtemp namespace dirs in /tmp?
542
260abb78 543* recreate systemd's D-Bus private socket file on SIGUSR2
2791a8f8 544
a8f11321
LP
545* Support --test based on current system state
546
21bdae12
LP
547* investigate whether the gnome pty helper should be moved into systemd, to provide cgroup support.
548
c32e0c40
LP
549* maybe introduce ExecRestartPre=
550
59fee421
LP
551* dot output for --test showing the 'initial transaction'
552
129126f3 553* port over to LISTEN_FDS/LISTEN_PID:
7d9e57d2
KS
554 - rpcbind (/var/run/rpcbind.sock!) HAVEPATCH
555 - cups HAVEPATCH
a625ac1a 556 - postfix, saslauthd
a625ac1a
LP
557 - apache/samba
558 - libvirtd (/var/run/libvirt/libvirt-sock-ro)
559 - bluetoothd (/var/run/sdp! @/org/bluez/audio!)
a625ac1a
LP
560 - distccd
561
71092d70 562* fingerprint.target, wireless.target, gps.target, netdevice.target
246756ca 563
50f2a90d 564* io priority during initialization
8fe914ec 565
9534ce54
LP
566* drop cap bounding set in readahead and other services
567
7ba97195
ZJS
568* systemd-python:
569 - export sd_journal_get_catalog (in systemd.journal._reader)
570 - export sd_journal_get_catalog_for_message_id (in systemd.id128)
571 - allow reading of only select fields in systemd.journal._reader.Reader
572 - export sd_journal_test_cursor in systemd.journal._reader.Reader
573 - export sd_journal_get_usage in systemd.journal._reader.Reader
db7f1dde
ZJS
574 - add systemd.journal._reader._Reader.closed attribute (it can
575 be just "return self->j != NULL")
7ba97195
ZJS
576 - figure out a simple way to wait for journal events in a way that
577 works with ^C
578
2f8cd170 579External:
74fe1fe3 580
cc9784c6 581* dbus:
cc9784c6 582 - dbus --user
3377af3e 583 - natively watch for dbus-*.service symlinks (PENDING)
cc9784c6
LP
584 - allow specification of socket mode/umask when allocating DBusServer
585 - allow disabling of fd passing when connecting a AF_UNIX connection
3377af3e 586 - allow disabling of UID passing for AUTH EXTERNAL
b69d29ce 587 - always pass cred data along each message
b44be3ec 588 - teach dbus to activate all services it finds in /etc/systemd/services/org-*.service
cc9784c6 589
71092d70
LP
590* fix alsa mixer restore to not print error when no config is stored
591
74fe1fe3
LP
592* make cryptsetup lower --iter-time
593
9096ad36 594* patch kernel for xattr support in /dev, /proc/, /sys?
06ae4bfe 595
69b1c674
KS
596* NTP: the kernel's 11-minutes-mode syncs the system time to the RTC, but only
597 in an ~30 minutes window. It does not adjust larger differences. Find a way
598 to tell the kernel, to always do a full time sync when the RTC is in UTC and
599 we are in 11-minutes-mode. When we trust the system time to NTP we also want
600 the RTC to sync up.
601
71092d70 602* kernel: add device_type = "fb", "fbcon" to class "graphics"
14bd37fe 603
b1ce67bf 604* bootchart:
edc211f3
AK
605 - plot per-process IO utilization
606 - group processes based on service association (cgroups)
486bdbde 607 - document initcall_debug
b1ce67bf 608
129126f3 609Regularly:
874aa2cc 610
129126f3 611* look for close() vs. close_nointr() vs. close_nointr_nofail()
5021be21 612
129126f3 613* check for strerror(r) instead of strerror(-r)
5b6319dc
LP
614
615* Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel
8c6db833 616
14212119 617* %m in printf() instead of strerror(errno);
444a79d3
LP
618
619* pahole
620
71092d70 621* set_put(), hashmap_put() return values check. i.e. == 0 doesn't free()!
a3a3e5b6 622
4db17f29 623* use secure_getenv() instead of getenv() where appropriate
88fae6e0 624
d05c556b
ZJS
625* link up selected blog stories from man pages and unit files Documentation= fields
626
9e5f3dbb 627Scheduled for removal or fixing:
a3a3e5b6 628
9e5f3dbb 629* xxxOverridable dependencies (probably: fix)