chiark / gitweb /
journald.conf: remove MinSize= settings
[elogind.git] / TODO
diff --git a/TODO b/TODO
index de5d3f5bdcc1b7a547d65d37503335f1ced5724e..1c33ead227e904191569bb1c8e8ecb3d32b0511b 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,22 +1,4 @@
 Bugfixes:
-* there is nothing to warn about here :)
-  $ systemctl stop systemd-udevd.service systemd-udevd-kernel.socket systemd-udevd-control.socket
-  Warning: Stopping systemd-udevd.service, but it can still be activated by:
-  systemd-udevd-control.socket
-  systemd-udevd-kernel.socket
-
-* kill /etc/timezone handling entirely? What does it provide?
-  - /etc/localtime carries the same information already:
-      $ ls -l /etc/localtime; cat /etc/timezone
-      lrwxrwxrwx 1 root root 33 Jul 27 09:55 /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin
-      Europe/Berlin
-  - systemd enforces /usr to be available at bootup, so we can
-    enforce the use of the symlink
-
-* remove MS_SHARED from src/core/execute.c and src/test/test-ns.c. They are always combined
-  with MS_REMOUNT, which currently does nothing in the kernel, but might which fail in the
-  future; https://bugzilla.redhat.com/show_bug.cgi?id=813563
-
 * check systemd-tmpfiles for selinux context hookup for mknod(), symlink() and similar
 
 * swap units that are activated by one name but shown in the kernel under another are semi-broken
@@ -31,56 +13,181 @@ Bugfixes:
 
 * properly handle .mount unit state tracking when two mount points are stacked one on top of another on the exact same mount point.
 
-* we pull src/core/manager.h into src/shared/src/shared/path-lookup.c which is the wrong direction
-   rename enum "ManagerRunningAs" to "SystemdRunningAs" and move it to shared/
+F18:
+
+* Retest multi-seat
+
+Features:
+
+* drop --follow from systemctl
+
+* don't show cgroup in "systemctl status" if empty/non-existant, especially for foreign .mount units
+
+* timedated: export boolean that clarifies whether NTP is even available
+
+* timedated: refuse time changes when NTP is on
+
+* journald: don't make SystemMinFileSize= configurable
+
+* clean up date formatting and parsing so that all absolute/relative timestamps we format can also be parsed
+
+* introduce hybrid-sleep.target
+
+* _SOURCE_MONOTONIC_TIMESTAMP entries from the kernel seem to be off by 1000000
+
+* document unit_name_mangle()
+
+* add new command to systemctl: "systemctl system-reexec" which reexecs as many daemons as virtually possible
+
+* introduce generic AUGMENT_PID=, AUGMENT_DEVICE= fields
+
+* deal with sendmail/postfix exclusivity
+
+* systemctl enable: improve the success messages (i.e. more human readable, less shell-like)
+
+* systemctl enable: fail if target to alias into doesn't exist? maybe show how many units are enabled afterwards?
+
+* on shutdown: move utmp, wall, audit logic all into PID 1 itself, get rid of systemd-update-utmp-runlevel
+
+* add "provisioning" instructions to setup an empty /etc + /var
+    - used to setup a new container from a shared /usr
+    - superset of tmpfiles model
+    - instructions shipped by packages and stored in /usr/lib/
+    - compose /etc/passwd and /etc/group, copy files
+    - able to create uid + gid used by packages, for file ownership
+
+* make repeated alt-ctrl-del presses printing a dump, or even force a reboot without
+  waiting for the timeout
+
+* high level net_prio setting in execution context
+
+* Introduce journalctl -b <nr> to show journal messages of a previous boot
+
+* hostnamed: before returning information from /etc/machine-info.conf check the modification data and reread. Similar for localed, ...
+
+* currently x-systemd.timeout is lost in the initrd, since crypttab is copied into dracut, but fstab isn't
+
+* WorkingDirectory: support env var replacements like in ExecStart= so that people can use $HOME
+
+* refuse boot if /etc/machine-id is not useful
 
-* crash happens when running a service as forking and then changing it to simple and reloading.
+* nspawn: consider changing users for -u with su, so that NSS resolving works correctly
 
-  Jul 09 18:20:57 mop systemd[1]: usbmuxd.service operation timed out. Terminating.
-  Jul 09 18:20:57 mop systemd[1]: Unit usbmuxd.service entered failed state.
-  Jul 09 18:22:24 mop systemd[1]: PID 21814 read from file /var/run/usbmuxd.pid does not exist.
-  Jul 09 18:22:24 mop systemd[1]: Unit usbmuxd.service entered failed state.
-  Jul 09 18:22:33 mop systemd[1]: Reloading.
-  Jul 09 18:22:37 mop systemd[1]: Assertion 's->type == SERVICE_FORKING' failed at src/core/service.c:3007, function service_sigchld_eve...Aborting.
-  Jul 09 18:22:37 mop systemd[1]: Caught <ABRT>, dumped core as pid 21865.
-  Jul 09 18:22:37 mop systemd[1]: Freezing execution.
-  Jul 09 18:22:37 mop [21866]: Process 21865 (systemd) dumped core.
+* nspawn: implement personality changes a la linux32(8)
+
+* nspawn: reset all aux groups
+
+* cryptsetup-generator: warn if the password files are world-readable
+
+* cryptsetup-generator: add RequiresMountsFor= to cryptseup service files referencing a file, similar for devices
+
+* cryptsetup-generator: allow specification of passwords in crypttab itself
+
+* document that deps in [Unit] sections ignore Alias= fileds in
+  [Install] units of other units, unless those units are disabled
+
+* need to update LGPL2.1 text to newest version (with updated FSF address)
+
+* allow users from "wheel" to start/stop services
+
+* systemctl: when powering down/suspending check for inhibitors, and warn.
+
+* instantiated [Install] for target units
+  https://bugs.freedesktop.org/show_bug.cgi?id=54377
 
 * support *static* (/run) hibernate inhibitors. All rpm -i actions should completely prevent any
   sort of hibernate action until the next reboot. If the kernel or any other base tool is replaced
   by rpm, the resume path might fail, the for resume needed kernel might even be uninstalled, and
   the whole situation leads directly to data loss.
 
-Features:
+* move debug shell to tty6 and make sure this doesn't break the gettys on tty6
 
-* use opterr = 0 for all getopt tools
+* move cryptsetup key caching into kernel keyctl?
+  https://bugs.freedesktop.org/show_bug.cgi?id=54982
 
-* properly handle loop back mounts via fstab, especially regards to fsck/passno
+* make nspawn work without terminal
 
-* allow services with no ExecStart= but with an ExecStop=
+* hw watchdog: optionally try to use the preset watchdog timeout instead of always overriding it
+  https://bugs.freedesktop.org/show_bug.cgi?id=54712
 
-* add proper journal support to "systemctl --user status ..."
+* after deserializing sockets in socket.c we should reapply sockopts and things
 
-* add _SYSTEMD_USER_UNIT= field to journal entries
+* make timer units go away after they elapsed
 
-* remove Fedora /dev/null logic from localed.c, now that system-config-keyboard is gone
-  delete /etc/X11/xorg.conf.d/00-system-setup-keyboard.conf from spec file
+* http://lists.freedesktop.org/archives/systemd-devel/2012-September/006502.html
 
-* journal: expose current disk usage
+* come up with a nice way to write queue/read_ahead_kb for a block device without interfering with readahead
 
-* logind: return EBUSY when a session is created on a seat+VT that already has one.
+* journald: add kernel cmdline option to disable ratelimiting for debug purposes
 
-* dracut-shutdown needs to be ordered before unmounting /boot
+* move PID 1 segfaults to /var/lib/systemd/coredump?
 
-* wiki: document new logind LockSessions() call
+* Document word splitting syntax for ExecStart= and friends
 
-* initialize the hostname from the fs label of /, if /etc/hostname does not exist?
+* create /sbin/init symlinks from the build system
+
+* Query Paul Moore about relabelling socket fds while they are open
+
+* move keymaps to /usr/lib/... rather than /usr/lib/udev/...
+
+* journald: check whether it is OK if the client can still modify delivered journal entries
+
+* json: properly serialize multiple fields with the same name per entry
+
+* journal live copy, based on libneon (client) and libmicrohttpd
+
+* document in wiki json serialization
+
+* system-wide seccomp filter
+
+* ability to pass fds into systemd
+
+* system.conf should have controls for cgroups
+
+* bind mount read-only the cgroup tree higher than than nspawn
 
-* logind: different policy actions for idle, suspend, shutdown blockers: allow idle blockers by default, don't allow suspend blockers by default
+* currently system services appear not to generate core dumps...
 
-* install README to /etc/rc.d/init.d (if support for that is enabled) helping people who use "ls" there to figure out which services exist.
+* allow writing multiple conditions in unit files on one line
 
-* logind: ignore inactive login screens when checking whether power key should be handled
+* cleanup ellipsation for log output in journalctl and systemctl status: have a sane way to disable ellipsation, and disable it by default when invoked in less/more
+
+* explore multiple service instances per listening socket idea
+
+* testing tool for socket activation: some binary that listens on a socket and passes it on using the usual socket activation protocol to some server.
+
+* shutdown: don't read-only mount anything when running in container
+
+* nspawn: --read-only is not applied recursively to submounts
+
+* MountFlags=shared acts as MountFlags=slave right now.
+
+* ReadOnlyDirectories= is not applied recursively to submounts
+
+* drop PID 1 reloading, only do reexecing (difficult: Reload()
+  currently is properly synchronous, Reexec() is weird, because we
+  can't delay the response properly until we are back, so instead of
+  being properly synchronous we just keep open the fd and close it
+  when done. That means clients don't get a succesful method reply,
+  but much rather a disconnect on success.
+
+* document that service reload may be implemented as service reexec
+
+* remember which condition failed for services, not just the fact that something failed
+
+* use opterr = 0 for all getopt tools
+
+* properly handle loop back mounts via fstab, especially regards to fsck/passno
+
+* allow services with no ExecStart= but with an ExecStop=
+
+* add proper journal support to "systemctl --user status ..."
+
+* add _SYSTEMD_USER_UNIT= field to journal entries
+
+* dracut-shutdown needs to be ordered before unmounting /boot
+
+* initialize the hostname from the fs label of /, if /etc/hostname does not exist?
 
 * rename "userspace" to "core-os"
 
@@ -92,18 +199,14 @@ Features:
 
 * syscall filter: option to return EPERM rather than SIGSYS?
 
-* logind: wakelock/opportunistic suspend support
-
-* switch-root: sockets need relabelling
+* syscall filter: port to libseccomp
 
-* segfault in journalctl during /var migration
+* logind: wakelock/opportunistic suspend support
 
 * systemd-analyze post-boot is broken for initrd
 
 * man: clarify that time-sync.target is not only sysv compat but also useful otherwise. Same for similar targets
 
-* journalctl should complain if run with uid != 0 and no persistent logs exist
-
 * .device aliases need to be implemented with the "following" logic, probably.
 
 * refuse taking lower-case variable names in sd_journal_send() and friends.
@@ -118,8 +221,6 @@ Features:
 
 * introduce Type=pid-file
 
-* systemctl list-unit-files appears to be broken for symlinked units in /usr/lib
-
 * maybe allow services with ExecStop= set, but no ExecStart=?
 
 * efi: implement /forcefsck as uefi variables thus not requiring file system altering to trigger a file system check
@@ -147,18 +248,8 @@ Features:
 
 * support rd.luks.allow-discards= kernel cmdline params in cryptsetup generator
 
-* systemctl: when stopping a service which has triggres and warning about it actually check the TriggeredBy= deps fields
-
-* journal: hook up with EFI firmware log, new kmsg logic
-
-* handle C-A-Del in logind, like the power/suspend buttons?
-
 * nspawn: make use of device cgroup contrller by default
 
-* journalctl /dev/sda, journalctl --device=b12:8 (--device=n12, --device=+usb:1-1)
-
-* make use of /sys/power/wake_lock in inhibitors
-
 * drop accountsservice's StandardOutput=syslog and Type=dbus fields
 
 * when breaking cycles drop sysv services first, then services from /run, then from /etc, then from /usr
@@ -169,12 +260,6 @@ Features:
         - implement .d/ auto includes for unit files
         - add syntax to reset ExecStart= lists (and similar)
 
-* manipulate CPU governor during boot, set it to performance
-
-* steal SBF management from the kernel
-
-* delay journal /var writeout to after boot if SBF is clean
-
 * move passno parsing to fstab generator
 
 * improve !/proc/*/loginuid situation: make /proc/*/loginuid less dependent on CONFIG_AUDIT,
@@ -210,10 +295,6 @@ Features:
 
 * Add pretty name for seats in logind
 
-* nspawn wants dev_setup() for /dev/fd/ and friends?
-
-* selinux: merge systemd selinux access controls (dwalsh)
-
 * ConditionSecurity= should learn about IMA
 
 * Auke: merge Auke's bootchart
@@ -239,8 +320,6 @@ Features:
 
 * cleanup syslog 'priority' vs. 'level' wording
 
-* journal: if mmap() fails for mapping window try to unmap a a few older maps
-
 * dbus upstream still refers to dbus.target and shouldn't
 
 * when a service has the same env var set twice we actually store it twice and return that in systemctl show -p... We should only show the last setting
@@ -261,18 +340,16 @@ Features:
 
 * add command to systemctl to plot dependency graph as tree (see rhbz 795365)
 
-* make logind reserve tty9 or so for text logins, so that gdm never picks it up
-
 * add option to sockets to avoid activation. Instead just drop packets/connections, see http://cyberelk.net/tim/2012/02/15/portreserve-systemd-solution/
 
 * default unix qlen is too small (10). bump sysctl? add sockopt?
 
-* Possibly, detect whether SysV init scripts can do reloading by looking for "echo Usage:" lines
-
 * figure out whether we should leave dbus around during shutdown
 
 * dbus: in fedora, make the machine a symlink to /etc/machine-id
 
+* dbus: move dbus to early boot
+
 * journald: reuse XZ context
 
 * logind: add equivalent to sd_pid_get_owner_uid() to the D-Bus API
@@ -285,18 +362,8 @@ Features:
 
 * journal: message catalog
 
-* journal: forward-secure signatures
-
 * document the exit codes when services fail before they are exec()ed
 
-* rework namespace support, don't use pivot_root, and mount things after creating the namespace, not before
-
-* systemctl journal command
-
-* journalctl: --cursor support, priority filtering
-
-* systemctl status: show coredumps
-
 * save coredump in Windows/Mozilla minidump format
 
 * support crash reporting operation modes (https://live.gnome.org/GnomeOS/Design/Whiteboards/ProblemReporting)
@@ -311,9 +378,6 @@ Features:
 
 * when an instanced service exits, remove its parent cgroup too if possible.
 
-* if we can not get user quota for tmpfs, mount a separate tmpfs instance
-  for every user in /run/user/$USER with a configured maximum size
-
 * default to actual 32bit PIDs, via /proc/sys/kernel/pid_max
 
 * be able to specify a forced restart of service A where service B depends on, in case B
@@ -338,8 +402,6 @@ Features:
 
 * move PAM code into its own binary
 
-* warn if the user stops a service but not its associated socket
-
 * logind: spawn user@..service on login
 
 * logind: non-local X11 server handling
@@ -374,8 +436,6 @@ Features:
 
 * GC unreferenced jobs (such as .device jobs)
 
-* when failing to start a service due to ratelimiting, try again later, if restart=always is set
-
 * write blog stories about:
   - enabling dbus services
   - status update
@@ -384,12 +444,12 @@ Features:
   - how to pass throw-away units to systemd, or dynamically change properties of existing units
   - how to integrate cgconfig and suchlike with systemd
   - resource control in systemd
-  - inhibiting
   - testing with Harald's awesome test kit
+  - auto-restart
 
 * allow port=0 in .socket units
 
-* move readahead files into /var, look for them with .path units
+* move readahead files into /var (look for them with .path units?)
 
 * teach dbus to activate all services it finds in /etc/systemd/services/org-*.service
 
@@ -411,19 +471,13 @@ Features:
 
 * timer events with system resume
 
-* timer events on calendar time
-
 * dot output for --test showing the 'initial transaction'
 
-* calendar time support in timer, iCalendar semantics for the timer stuff (RFC2445)
-    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=99ee5315dac6211e972fa3f23bcc9a0343ff58c4
-
-* implicitly import "defaults" settings file into all types
+* calendar time support in timer:
+    https://docs.google.com/document/pub?id=1bAMyFAjWLpzR3GTDYdgj5FWRMxoZiWw5zmUHEtvdHKA
 
 * writable cgroups dbus properties for live changes
 
-* read config fragments for all units from /lib/systemd/system/foobar.service.d/ to override/extend specific settings
-
 * port over to LISTEN_FDS/LISTEN_PID:
    - rpcbind (/var/run/rpcbind.sock!) HAVEPATCH
    - cups     HAVEPATCH
@@ -433,8 +487,6 @@ Features:
    - bluetoothd (/var/run/sdp! @/org/bluez/audio!)
    - distccd
 
-* auditd service files
-
 * fingerprint.target, wireless.target, gps.target, netdevice.target
 
 * io priority during initialization
@@ -485,10 +537,10 @@ Regularly:
 
 * set_put(), hashmap_put() return values check. i.e. == 0 doesn't free()!
 
-Scheduled for removal (or fixing):
+* use secure_getenv() instead of getenv() where appropriate
 
-* xxxOverridable dependencies
+Scheduled for removal or fixing:
 
-* journald.conf: ImportKernel=
+* xxxOverridable dependencies (probably: fix)
 
-* prefdm.service
+* support for early-boot SysV services (definitely: remove)