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