chiark / gitweb /
systemctl: make sure the tty agent does not retain a copy of stdio
[elogind.git] / TODO
1 Bugs:
2
3 * somehow some /etc/fstab supplied mount params are never applied to api fs
4   https://bugzilla.redhat.com/show_bug.cgi?id=663108
5
6 * isolate multi-user.target doesn't start a getty@tty1 if we run it from graphical.target
7
8 * when plymouth is disabled the console password entry stuff seems to be borked
9   https://bugzilla.redhat.com/show_bug.cgi?id=655538
10
11 * fsck.btrfs non-existance should not cause mounting to fail
12
13 * need a way to apply mount options of api vfs from systemd unit files instead of fstab
14
15 Features:
16
17 * make it possible to enable status msgs via RT sigs
18
19 * udisks should not use udisks-part-id, instead use blkid. also not probe /dev/loopxxx
20
21 * snd-seq muss weg
22
23 * mount.tmpfs soll weg und grep weg
24
25 * mdmon is irre
26
27 * gnome-shell python script/glxinfo/is-accelerated wech
28
29 * plymouth muss sauber exiten, wenn's schon läuft
30
31 * pull in by udev change event instead of only start event
32
33 * PID heuristik bei Type=forking ausmachbar machen
34
35 * maybe introduce ExecRestartPre=
36
37 * reload PID file after reload, allow dynamically changing main PIDs
38
39 * figure out what happened to bluez patch
40
41 * introduce StandardOutput=syslog+console and StandardOutput=kmsg+console to support fsck output at boot
42
43 * Patch systemd-fsck to use -C and pass console fd to it
44
45 * support remote/ssh systemctl/systemadm, and local privileged access
46
47 * finish syslog socket stuff
48
49 * configurable jitter for timer events
50
51 * support caching password questions in plymouth and on the console
52   https://bugzilla.redhat.com/show_bug.cgi?id=655538
53
54 * exclude java hsp files by default
55   https://bugzilla.redhat.com/show_bug.cgi?id=527425
56
57 * load EnvironmentFile= when starting services, not when reloading configuration
58   https://bugzilla.redhat.com/show_bug.cgi?id=661282
59
60 * support globs in systemd-tmpfiles
61
62 * drop IN_ATTRIB from inotify watches for .path units where possible to avoid
63   lots of wakeups due to /dev changing when we watch a subdir of /dev.
64
65 * Support ProcessNeededForShutdown=true to allow stuff like mdmon
66   to be killed very late after the rootfs is read only
67
68 * Integrate "mdadm --wait-clean". Maybe just let SIGTERM to mdmon trigger the
69   needed action
70
71 * oneshot services which do not remain: 'exited' instead of 'dead'?
72   it should be visible in 'systemctl' that they have been run?
73
74 * dot output for --test showing the 'initial transaction'
75
76 * calendar time support in timer, iCalendar semantics for the timer stuff (RFC2445)
77   - check timerfd() patch: http://lkml.org/lkml/2010/11/23/290
78
79 * systemd --user
80   - get PR_SET_ANCHOR merged: http://lkml.org/lkml/2010/2/2/165
81
82 * add VT tracking:
83     - provide CK functionality
84     - start getty only when actual vt switch happens (same model as
85       socket on-demand activation). allocate the next free tty and
86       start a getty there. this way, pressing alt-f[1-12] will switch
87       through running X and getty sessions, and any unallocated
88       activated tty will start a new getty. the hardcoding of
89       getty[1-6] will entirely go away.
90     - http://git.kernel.org/?p=linux/kernel/git/gregkh/tty-2.6.git;a=commitdiff;h=fbc92a3455577ab17615cbcb91826399061bd789
91
92 * implicitly import "defaults" settings file into all types
93
94 * port over to LISTEN_FDS/LISTEN_PID:
95    - uuidd    DONE
96    - dbus     DONE
97    - rsyslog  DONE
98    - rpcbind (/var/run/rpcbind.sock!) DONE
99    - cups     DONE
100    - avahi-daemon (/var/run/avahi-daemon/socket) DONE
101    - ssh      CLASSIC
102    - postfix, saslauthd
103    - apache/samba
104    - libvirtd (/var/run/libvirt/libvirt-sock-ro)
105    - bluetoothd (/var/run/sdp! @/org/bluez/audio!)
106    - distccd
107
108 * fingerprint.target, wireless.target, gps.target
109
110 * set_put(), hashmap_put() return values check. i.e. == 0 doesn't free()!
111
112 * io priority during initialization
113
114 * if a service fails too often, make the service enter failed mode, and the socket, too.
115
116 * systemctl list-jobs - show dependencies
117
118 * accountsservice is borked
119
120 * auditd service files
121
122 * add systemctl switch to dump transaction without executing it
123
124 * suspend, resume
125
126 * readahead: btrfs/LVM SSD detection
127
128 * when processes remain in a service even though the start command failed enter active
129
130 * add seperate man page for [Install] settings
131
132 * only add quotacheck deps to .mount units which mention grpquota/usrquota in the mount flags
133
134 * systemctl condrestart should return 0 if service isn't running
135
136 * tmpfiles: allow specification of .conf files on cmdline
137
138 * allow runtime changing of log level and target
139
140 * automatically determine TERM= based on tty name even for /dev/console
141     http://git.kernel.org/?p=linux/kernel/git/gregkh/tty-2.6.git;a=commitdiff;h=fbc92a3455577ab17615cbcb91826399061bd789
142     http://git.kernel.org/?p=linux/kernel/git/gregkh/tty-2.6.git;a=commitdiff;h=b7b8de087384cc1954a8cd075af3f9e5977caa2e
143
144 * global defaults for StandardOuput=xxx
145
146 Fedora:
147
148 * chkconfig → systemd enable/daemon-reload glue
149
150 * /var/lock, /var/run → what happens if rpm stuff is no %ghosted?
151
152 External:
153
154 * make cryptsetup lower --iter-time
155
156 * patch kernel for xattr support in /dev, /proc/, /sys and /sys/fs/cgroup.
157
158 * patch kernel for cpu feature modalias for autoloading aes/kvm/...
159     http://git.kernel.org/?p=linux/kernel/git/ak/linux-misc-2.6.git;a=shortlog;h=refs/heads/cpuid-match
160
161 * place /etc/inittab with explaining blurb.
162
163 * procps, psmisc, sysvinit-tools, hostname → util-linux-ng
164
165 https://bugzilla.redhat.com/show_bug.cgi?id=614245 -- plymouth
166 https://bugzilla.redhat.com/show_bug.cgi?id=612789 -- umount /cgroup on halt
167 https://bugzilla.redhat.com/show_bug.cgi?id=612728 -- /etc/rc.d/init.d/functions
168 https://bugzilla.redhat.com/show_bug.cgi?id=612712 -- pam_systemd
169 https://bugs.freedesktop.org/show_bug.cgi?id=29193 -- accountsservice
170 https://bugs.freedesktop.org/show_bug.cgi?id=29194 -- ConsoleKit
171 https://bugs.freedesktop.org/show_bug.cgi?id=29205 -- udisks
172 http://article.gmane.org/gmane.linux.bluez.kernel/6479 -- bluez
173 http://www.spinics.net/lists/linux-nfs/msg14371.html -- rpcbind
174 https://bugzilla.redhat.com/show_bug.cgi?id=617328 -- ntp
175 https://bugzilla.redhat.com/show_bug.cgi?id=617320 -- at
176 https://bugzilla.redhat.com/show_bug.cgi?id=617326 -- fprintd
177 https://bugzilla.redhat.com/show_bug.cgi?id=617333 -- yum
178 https://bugzilla.redhat.com/show_bug.cgi?id=617317 -- acpid
179 https://bugzilla.redhat.com/show_bug.cgi?id=617327 -- gpm
180 https://bugzilla.redhat.com/show_bug.cgi?id=617330 -- pcsc-lite
181 https://bugzilla.redhat.com/show_bug.cgi?id=617321 -- audit
182 https://bugzilla.redhat.com/show_bug.cgi?id=617316 -- abrt
183
184 Regularly:
185
186 * look for close() vs. close_nointr() vs. close_nointr_nofail()
187
188 * check for strerror(r) instead of strerror(-r)
189
190 * Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel
191
192 * %m in printf() instead of strerror();
193
194 * pahole
195
196 * CFLAGS="-Wl,--gc-sections -Wl,--print-gc-sections -ffunction-sections -fdata-sections"