chiark / gitweb /
update TODO
[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 * dep cycle basic → udev-retry → auditd → iptables → basic
6
7 * isolate multi-user.target doesn't start a getty@tty1 if we run it from graphical.target
8
9 * NFS, networkmanager ordering issue (PENDING)
10
11 * add fstab fields to add wait timeouts, change Wants to Requires by local-fs.target
12
13 * hook emergency.target into local-fs.target in some way as OnFailure with isolate
14
15 * drop SIGHUP handling from rsyslog.service upstream (PENDING)
16
17 * teach dbus to activate all services it finds in /etc/systemd/services/org-*.service
18
19 * save/restore tool for SysV as requested by FPC (PENDING)
20
21 * bind mounts are ignored
22
23 * 0595f9a1c182a84581749823ef47c5f292e545f9 is borked, freezes shutdown
24     (path: after installing inotify watches, recheck file again to fix race)
25
26 * capability_bounding_set_drop not used
27
28 * rework syslog.service being up logic in PID 1
29
30 * rsyslog.service should hook itself into syslog.target?
31
32 * syslog.target should be pulled in by multi-user.target?
33
34 * pull in .service from meta .targers AND vice versa too. i.e. syslog.target ←→ rsyslog.service, rpcbind similarly
35
36 * drop Names= option? Symlinks only should be used. We don't want to need to read all service files.
37
38 Features:
39 * don't strip facility from kmsg log messages as soon as that is possible.
40     http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9d90c8d9cde929cbc575098e825d7c29d9f45054
41
42 * recreate systemd'd D-Bus private socket file on SIGUSR2
43
44 * be more specific what failed:
45     Unmounting file systems.
46     Not all file systems unmounted, 1 left.
47     Disabling swaps.
48     Detaching loop devices.
49     Detaching DM devices.
50     Cannot finalize remaining file systems and devices, trying to kill remaining processes.
51     Unmounting file systems.
52     Not all file systems unmounted, 1 left.
53     Cannot finalize remaining file systems and devices, giving up.
54
55 * check for compiled-in, but not active selinux, and don't print any warnings
56   about policy loading. Probably check for available selinux in /proc/filesystems,
57   and check for active selinux with getcon_raw() == "kernel"
58
59 * optionally create watched directories in .path units
60
61 * Support --test based on current system state
62
63 * consider services with no [Install] section and stored in /lib enabled by "systemctl is-enabled"
64
65 * consider services with any kind of link in /etc/systemd/system enabled
66
67 * show failure error string in "systemctl status"
68
69 * make sure timeouts are applied to Type=oneshot services.
70
71 * Maybe implement "systemctl mask" and "systemctl unmask", but not
72   document it? When doing that add switch to make this temporary by
73   placing mask links in /dev.
74   Consider moving the actual fs operations into systemd behind a D-Bus
75   interface, to make namespaces/containers/remote connections work properly.
76
77 * detect LXC environment
78
79 * invoke vhangup() before and after invoking getty
80     http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=3c95c985fa91ecf6a0e29622bbdd13dcfc5ce9f1
81
82 * support "auto" and "comment=systemd.automount" at the same time for an fstab entry
83
84 * Maybe store in unit files whether a service should be enabled by default on package installation
85   (belongs into a distro pattern though, not in an upstream package's service file)
86
87 * perhaps add "systemctl reenable" as combination of "systemctl disable" and "systemctl enable"
88
89 * need a way to apply mount options of api vfs from systemd unit files
90   (or some other modern source?) instead of fstab
91
92 * maybe introduce ExecRestartPre=
93
94 * figure out what happened to bluez patch
95
96 * Patch systemd-fsck to use -C and pass console fd to it
97
98 * support remote/ssh systemctl/systemadm, and local privileged access
99
100 * configurable jitter for timer events
101
102 * Support ProcessNeededForShutdown=true to allow stuff like mdmon
103   to be killed very late after the rootfs is read only (?)
104
105 * Integrate "mdadm --wait-clean". Maybe just let SIGTERM to mdmon trigger the
106   needed action
107
108 * dot output for --test showing the 'initial transaction'
109
110 * calendar time support in timer, iCalendar semantics for the timer stuff (RFC2445)
111   - check timerfd() patch: http://lkml.org/lkml/2010/11/23/290
112
113 * systemd --user
114   - get PR_SET_ANCHOR merged: http://lkml.org/lkml/2010/2/2/165
115
116 * add VT tracking:
117   - provide CK functionality
118   - start getty only when actual vt switch happens (same model as
119     socket on-demand activation). allocate the next free tty and
120     start a getty there. this way, pressing alt-f[1-12] will switch
121     through running X and getty sessions, and any unallocated
122     activated tty will start a new getty. the hardcoding of
123     getty[1-6] will entirely go away.
124   - http://git.kernel.org/?p=linux/kernel/git/gregkh/tty-2.6.git;a=commitdiff;h=fbc92a3455577ab17615cbcb91826399061bd789
125
126 * implicitly import "defaults" settings file into all types
127
128 * port over to LISTEN_FDS/LISTEN_PID:
129    - uuidd    HAVEPATCH
130    - rpcbind (/var/run/rpcbind.sock!) HAVEPATCH
131    - cups     HAVEPATCH
132    - postfix, saslauthd
133    - apache/samba
134    - libvirtd (/var/run/libvirt/libvirt-sock-ro)
135    - bluetoothd (/var/run/sdp! @/org/bluez/audio!)
136    - distccd
137
138 * fingerprint.target, wireless.target, gps.target
139
140 * set_put(), hashmap_put() return values check. i.e. == 0 doesn't free()!
141
142 * io priority during initialization
143
144 * if a service fails too often, make the service enter failed mode, and the socket, too.
145
146 * systemctl list-jobs - show dependencies
147
148 * accountsservice is borked
149
150 * auditd service files
151
152 * add systemctl switch to dump transaction without executing it
153
154 * suspend, resume support?
155
156 * readahead: btrfs/LVM SSD detection
157
158 * add separate man page for [Install] settings
159
160 * only add quotacheck deps to .mount units which mention grpquota/usrquota in the mount flags
161
162 * systemctl condrestart should return 0 if service isn't running
163
164 * allow runtime changing of log level and target
165
166 External:
167
168 * udisks should not use udisks-part-id, instead use blkid. also not probe /dev/loopxxx
169
170 * snd-seq should go, https://bugzilla.redhat.com/show_bug.cgi?id=676095
171
172 * gnome-shell python script/glxinfo/is-accelerated must die
173
174 * make cryptsetup lower --iter-time
175
176 * patch kernel for xattr support in /dev, /proc/, /sys and /sys/fs/cgroup.
177
178 * patch kernel for cpu feature modalias for autoloading aes/kvm/...
179     http://git.kernel.org/?p=linux/kernel/git/ak/linux-misc-2.6.git;a=shortlog;h=refs/heads/cpuid-match
180   (Rafael J. Wysocki's sysdev rework is on the way. After that CPUs can be exported a proper bus.)
181
182 * procps, psmisc, sysvinit-tools, hostname → util-linux-ng
183
184 https://bugzilla.redhat.com/show_bug.cgi?id=614245 -- plymouth
185 https://bugzilla.redhat.com/show_bug.cgi?id=612789 -- umount /cgroup on halt
186 https://bugzilla.redhat.com/show_bug.cgi?id=612728 -- /etc/rc.d/init.d/functions
187 https://bugzilla.redhat.com/show_bug.cgi?id=612712 -- pam_systemd
188 https://bugs.freedesktop.org/show_bug.cgi?id=29193 -- accountsservice
189 https://bugs.freedesktop.org/show_bug.cgi?id=29194 -- ConsoleKit
190 https://bugs.freedesktop.org/show_bug.cgi?id=29205 -- udisks
191 http://article.gmane.org/gmane.linux.bluez.kernel/6479 -- bluez
192 http://www.spinics.net/lists/linux-nfs/msg14371.html -- rpcbind
193 https://bugzilla.redhat.com/show_bug.cgi?id=617328 -- ntp
194 https://bugzilla.redhat.com/show_bug.cgi?id=617320 -- at
195 https://bugzilla.redhat.com/show_bug.cgi?id=617326 -- fprintd
196 https://bugzilla.redhat.com/show_bug.cgi?id=617333 -- yum
197 https://bugzilla.redhat.com/show_bug.cgi?id=617317 -- acpid
198 https://bugzilla.redhat.com/show_bug.cgi?id=617327 -- gpm
199 https://bugzilla.redhat.com/show_bug.cgi?id=617330 -- pcsc-lite
200 https://bugzilla.redhat.com/show_bug.cgi?id=617321 -- audit
201 https://bugzilla.redhat.com/show_bug.cgi?id=617316 -- abrt
202
203 Regularly:
204
205 * look for close() vs. close_nointr() vs. close_nointr_nofail()
206
207 * check for strerror(r) instead of strerror(-r)
208
209 * Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel
210
211 * %m in printf() instead of strerror();
212
213 * pahole
214
215 * CFLAGS="-Wl,--gc-sections -Wl,--print-gc-sections -ffunction-sections -fdata-sections"