]> git.ipfire.org Git - thirdparty/systemd.git/blame - TODO
util: close all fds before freezing execution
[thirdparty/systemd.git] / TODO
CommitLineData
b7ff1e47
LP
1F15:
2
c904f64d
LP
3* swap units that are activated by one name but shown in the kernel under another are semi-broken
4
b7ff1e47
LP
5* dep cycle basic → udev-retry → auditd → iptables → basic
6
c32e0c40
LP
7* isolate multi-user.target doesn't start a getty@tty1 if we run it from graphical.target
8
62170515
LP
9* NFS, networkmanager ordering issue
10
c904f64d
LP
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
81253930
LP
15* mount /dev/.run and /var/run as bind mounts
16
6e25b33c
LP
17* drop SIGHUP handling from rsyslog.service upstream
18
34df5a34
LP
19* teach dbus to activate all services it finds in /etc/systemd/services/org-*.service
20
21* save/restore tool for SysV as requested by FPC
22
099663ff
LP
23* bind mounts are ignored
24
099663ff 25* 0595f9a1c182a84581749823ef47c5f292e545f9 is borked, freezes shutdown
b925e726 26
fc7ac594 27Features:
09bde77f 28
099663ff
LP
29* optionally create watched directories in .path units
30
81253930
LP
31* consider services with no [Install] section and stored in /lib enabled by "systemctl is-enabled"
32
33* consider services with any kind of link in /etc/systemd/system enabled
7fc7012b 34
430c18ed 35* show failure error string in "systemctl status"
1a6f4df6
LP
36
37* make sure timeouts are applied to Type=oneshot services.
38
3db48a78
LP
39* maybe implement "systemctl mask" and "systemctl unmask", but not
40 document it? When doing that add switch to make this temporary by
41 placing mask links in /dev.
42
2e0d98fa
LP
43* detect LXC environment
44
62170515
LP
45* invoke vhangup() before and after invoking getty
46
b5c6cf87
LP
47* support "auto" and "comment=systemd.automount" at the same time for an fstab entry
48
3185a36b
LP
49* Maybe store in unit files whether a service should be enabled by default on package installation
50
b8bb3e8f
LP
51* perhaps add "systemctl reenable" as combination of "systemctl disable" and "systemctl enable"
52
f959c5e6
LP
53* need a way to apply mount options of api vfs from systemd unit files
54 (or some other modern source?) instead of fstab
7f6d6135 55
c32e0c40
LP
56* maybe introduce ExecRestartPre=
57
47ae6e67
LP
58* figure out what happened to bluez patch
59
487a15bb
LP
60* Patch systemd-fsck to use -C and pass console fd to it
61
2c4b304e
LP
62* support remote/ssh systemctl/systemadm, and local privileged access
63
35f10fcc
LP
64* configurable jitter for timer events
65
bf5bb531 66* Support ProcessNeededForShutdown=true to allow stuff like mdmon
f959c5e6 67 to be killed very late after the rootfs is read only (?)
bf5bb531
KS
68
69* Integrate "mdadm --wait-clean". Maybe just let SIGTERM to mdmon trigger the
70 needed action
71
59fee421
LP
72* dot output for --test showing the 'initial transaction'
73
8c6db833 74* calendar time support in timer, iCalendar semantics for the timer stuff (RFC2445)
351c7e74
KS
75 - check timerfd() patch: http://lkml.org/lkml/2010/11/23/290
76
77* systemd --user
78 - get PR_SET_ANCHOR merged: http://lkml.org/lkml/2010/2/2/165
79
80* add VT tracking:
81 - provide CK functionality
dd04863e
KS
82 - start getty only when actual vt switch happens (same model as
83 socket on-demand activation). allocate the next free tty and
84 start a getty there. this way, pressing alt-f[1-12] will switch
85 through running X and getty sessions, and any unallocated
86 activated tty will start a new getty. the hardcoding of
87 getty[1-6] will entirely go away.
fc84026d 88 - http://git.kernel.org/?p=linux/kernel/git/gregkh/tty-2.6.git;a=commitdiff;h=fbc92a3455577ab17615cbcb91826399061bd789
75787bb7 89
129126f3 90* implicitly import "defaults" settings file into all types
75787bb7 91
129126f3 92* port over to LISTEN_FDS/LISTEN_PID:
a625ac1a 93 - uuidd DONE
9726b29e 94 - dbus DONE
88ce42f6 95 - rsyslog DONE
c0120d99
LP
96 - rpcbind (/var/run/rpcbind.sock!) DONE
97 - cups DONE
98 - avahi-daemon (/var/run/avahi-daemon/socket) DONE
874aa2cc 99 - ssh CLASSIC
a625ac1a 100 - postfix, saslauthd
a625ac1a
LP
101 - apache/samba
102 - libvirtd (/var/run/libvirt/libvirt-sock-ro)
103 - bluetoothd (/var/run/sdp! @/org/bluez/audio!)
a625ac1a
LP
104 - distccd
105
064f51fa 106* fingerprint.target, wireless.target, gps.target
0ff3dea7 107
647703fe 108* set_put(), hashmap_put() return values check. i.e. == 0 doesn't free()!
246756ca 109
50f2a90d 110* io priority during initialization
8fe914ec 111
74ac3cbd 112* if a service fails too often, make the service enter failed mode, and the socket, too.
ea4a240d 113
647703fe 114* systemctl list-jobs - show dependencies
63090775 115
313ed05b 116* accountsservice is borked
63090775 117
20604ebc
LP
118* auditd service files
119
20604ebc
LP
120* add systemctl switch to dump transaction without executing it
121
3b63d2d3 122* suspend, resume
da726a4d 123
1a34d367
LP
124* readahead: btrfs/LVM SSD detection
125
ed1c99fc 126* add separate man page for [Install] settings
98e1f931 127
510051fc 128* only add quotacheck deps to .mount units which mention grpquota/usrquota in the mount flags
e5ebf783 129
9fe117ea
LP
130* systemctl condrestart should return 0 if service isn't running
131
42e8a0a8
LP
132* allow runtime changing of log level and target
133
2f8cd170 134External:
74fe1fe3 135
f959c5e6
LP
136* udisks should not use udisks-part-id, instead use blkid. also not probe /dev/loopxxx
137
138* snd-seq should go, https://bugzilla.redhat.com/show_bug.cgi?id=676095
139
f959c5e6
LP
140* gnome-shell python script/glxinfo/is-accelerated wech
141
74fe1fe3
LP
142* make cryptsetup lower --iter-time
143
06ae4bfe
LP
144* patch kernel for xattr support in /dev, /proc/, /sys and /sys/fs/cgroup.
145
6f3f9deb 146* patch kernel for cpu feature modalias for autoloading aes/kvm/...
fc84026d 147 http://git.kernel.org/?p=linux/kernel/git/ak/linux-misc-2.6.git;a=shortlog;h=refs/heads/cpuid-match
6f3f9deb 148
26192dfc
LP
149* procps, psmisc, sysvinit-tools, hostname → util-linux-ng
150
50f2a90d
LP
151https://bugzilla.redhat.com/show_bug.cgi?id=614245 -- plymouth
152https://bugzilla.redhat.com/show_bug.cgi?id=612789 -- umount /cgroup on halt
153https://bugzilla.redhat.com/show_bug.cgi?id=612728 -- /etc/rc.d/init.d/functions
154https://bugzilla.redhat.com/show_bug.cgi?id=612712 -- pam_systemd
155https://bugs.freedesktop.org/show_bug.cgi?id=29193 -- accountsservice
156https://bugs.freedesktop.org/show_bug.cgi?id=29194 -- ConsoleKit
5e5c6cd7
LP
157https://bugs.freedesktop.org/show_bug.cgi?id=29205 -- udisks
158http://article.gmane.org/gmane.linux.bluez.kernel/6479 -- bluez
50f2a90d 159http://www.spinics.net/lists/linux-nfs/msg14371.html -- rpcbind
b5e9dba8
LP
160https://bugzilla.redhat.com/show_bug.cgi?id=617328 -- ntp
161https://bugzilla.redhat.com/show_bug.cgi?id=617320 -- at
162https://bugzilla.redhat.com/show_bug.cgi?id=617326 -- fprintd
163https://bugzilla.redhat.com/show_bug.cgi?id=617333 -- yum
164https://bugzilla.redhat.com/show_bug.cgi?id=617317 -- acpid
165https://bugzilla.redhat.com/show_bug.cgi?id=617327 -- gpm
166https://bugzilla.redhat.com/show_bug.cgi?id=617330 -- pcsc-lite
167https://bugzilla.redhat.com/show_bug.cgi?id=617321 -- audit
02ee865a 168https://bugzilla.redhat.com/show_bug.cgi?id=617316 -- abrt
14bd37fe 169
129126f3 170Regularly:
874aa2cc 171
129126f3 172* look for close() vs. close_nointr() vs. close_nointr_nofail()
5021be21 173
129126f3 174* check for strerror(r) instead of strerror(-r)
5b6319dc
LP
175
176* Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel
8c6db833
LP
177
178* %m in printf() instead of strerror();
444a79d3
LP
179
180* pahole
181
182* CFLAGS="-Wl,--gc-sections -Wl,--print-gc-sections -ffunction-sections -fdata-sections"