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