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