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