X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=TODO;h=b10eafe66340df80d7beb03bff3262199b4574a8;hb=2d1b928109fb390f6cb478d14460c7e117bcef06;hp=33dcabc16918519905cd4639cf7b05982d6c838b;hpb=31cd5f63ce86a0784c4ef869c4d323a11ff14adc;p=thirdparty%2Fsystemd.git diff --git a/TODO b/TODO index 33dcabc1691..b10eafe6634 100644 --- a/TODO +++ b/TODO @@ -4,11 +4,6 @@ Bugfixes: manager or system manager can be always set. It would be better to reject them when parsing config. -* busctl --user call org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager GetUnitProcesses "s" run-rbff1b85427b34ba3adf864281aeda8e7.service -Failed to set address: No such file or directory - - → improve error message - External: * Fedora: add an rpmlint check that verifies that all unit files in the RPM are listed in %systemd_post macros. @@ -24,7 +19,47 @@ Janitorial Clean-ups: Features: -* seed: check if first-boot and then don't do anything +* beef up s2h to implement a battery watch loop: instead of entering + hibernation unconditionally after coming back from resume make a decision + based on the battery load level: if battery level is above a specific + threshold, go to suspend again, only hibernate if below it. This means we'd + stick to suspend usually, but fall back to hibernation only when battery runs + empty (well, subject to our sampling interval). Related to this, check if we + can make ACPI _BTP (i.e. /sys/class/power_supply/*/alarm) work for us too, + i.e. see if it can wake up machines from suspend, so that we could resume + automatically when the system is low on power and move automatically to + hibernation mode. (see + https://uefi.org/sites/default/files/resources/ACPI%206_2_A_Sept29.pdf + section 10.2.2.8 and + https://docs.microsoft.com/en-us/windows-hardware/design/device-experiences/modern-standby-wake-sources + at the end). + +* add an explicit "vertical" mode to format-table, so that "systemctl + status"-like outputs (i.e. with a series of field names left and values + right) become genuine first class citizens, and we gain automatic, sane JSON + output for them. + +* dissector: invoke fsck on the file systems we encounter, after all ext4 is + still pretty popular (and we mount the ESP too with it after all, which is + fat) + +* systemd-firstboot: teach it dissector magic, so that you can point it to some + disk image and it will just set everything in it all behind the scenes. + +* systemd-firstboot: add --force mode that replaces existing configuration. + +* We should probably replace /var/log/README, /etc/rc.d/README with symlinks + that are linked to these places instead of copied. After all they are + constant vendor data. + +* maybe add kernel cmdline params: 1) to force first-boot mode + 2) to force + random seed crediting + +* nspawn: on cgroupsv1 issue cgroup empty handler process based on host events, + so that we make cgroup agent logic safe + +* nspawn/machined: add API to invoke binary in container, then use that as + fallback in "machinectl shell" * logind: rework pam_logind to also do a bus call in case of invocation from user@.service, which returns the XDG_RUNTIME_DIR value, and make this @@ -48,8 +83,6 @@ Features: * make rfkill uaccess controllable by default, i.e. steal rule from gnome-bluetooth and friends -* warn if udev rules files are marked executable (docker?) - * tweak journald context caching. In addition to caching per-process attributes keyed by PID, cache per-cgroup attributes (i.e. the various xattrs we read) keyed by cgroup path, and guarded by ctime changes. This should provide us @@ -81,9 +114,6 @@ Features: * when no locale is configured, default to UEFI's PlatformLang variable -* When logind.conf contains HandleLidSwitch=suspend-then-hibernate and we can't - hibernate because the swap partition isn't large enough, still suspend - * bootctl,sd-boot: actually honour the "architecture" key * add a new syscall group "@esoteric" for more esoteric stuff such as bpf() and @@ -119,7 +149,8 @@ Features: non-zero "tries done" count * maybe set a special xattr on cgroups that have delegate=yes set, to make it - easy to mark cut points + easy to mark cut points, then use this information in "systemd-cgls" to show + them (e.g. color delegated subtrees in a different color) * introduce an option (or replacement) for "systemctl show" that outputs all properties as JSON, similar to busctl's new JSON output. In contrast to that @@ -200,9 +231,6 @@ Features: * add --vacuum-xyz options to coredumpctl, matching those journalctl already has. -* SuccessExitStatus= and friends should probably also accept symbolic exit - codes names, i.e. error codes from the list maintained in exit-codes.[ch] - * introduce Ephemeral= unit file switch, that creates an ephemeral copy of all files and directories that are left writable for a unit, and which are removed after the unit goes down again. A bit like --ephemeral for @@ -606,8 +634,6 @@ Features: * transient units: - add field to transient units that indicate whether systemd or somebody else saves/restores its settings, for integration with libvirt -* Automatically configure swap partition to use for hibernation by looking for largest swap partition on the root disk? - * when we detect low battery and no AC on boot, show pretty splash and refuse boot * libsystemd-journal, libsystemd-login, libudev: add calls to easily attach these objects to sd-event event loops