1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

NEWS: various fixes

This commit is contained in:
Joerg Behrmann 2023-06-29 14:07:54 +02:00 committed by Yu Watanabe
parent 2fe24cccde
commit 49bf8bd57a

41
NEWS
View File

@ -4,7 +4,7 @@ CHANGES WITH 254 in spe:
Announcements of Future Feature Removals and Incompatible Changes: Announcements of Future Feature Removals and Incompatible Changes:
* We intend to remove cgroup v1 support from systemd release after the * We intend to remove cgroup v1 support from a systemd release after the
end of 2023. If you run services that make explicit use of cgroup v1 end of 2023. If you run services that make explicit use of cgroup v1
features (i.e. the "legacy hierarchy" with separate hierarchies for features (i.e. the "legacy hierarchy" with separate hierarchies for
each controller), please implement compatibility with cgroup v2 (i.e. each controller), please implement compatibility with cgroup v2 (i.e.
@ -67,7 +67,7 @@ CHANGES WITH 254 in spe:
* The service manager gained support for enqueuing POSIX signals to * The service manager gained support for enqueuing POSIX signals to
services that carry an additional integer value, exposing the services that carry an additional integer value, exposing the
sigqueue() systemd call. This is accessible via new D-Bus calls sigqueue() system call. This is accessible via new D-Bus calls
QueueSignalUnit() (and related), as well as in systemctl via the new QueueSignalUnit() (and related), as well as in systemctl via the new
--kill-value= parameter. --kill-value= parameter.
@ -161,7 +161,7 @@ CHANGES WITH 254 in spe:
it affects userspace only: the service manager shuts down the running it affects userspace only: the service manager shuts down the running
services and other units, then optionally switches into a new root services and other units, then optionally switches into a new root
file system (mounted to /run/nextroot/), and then passes control to a file system (mounted to /run/nextroot/), and then passes control to a
systemd instace in the new file system which then starts the system systemd instance in the new file system which then starts the system
up again. The kernel is not rebooted and neither is hardware, up again. The kernel is not rebooted and neither is hardware,
firmware or boot loader. It is a fast, lightweight mechanism to firmware or boot loader. It is a fast, lightweight mechanism to
quickly reset or update userspace, without the latency that a full quickly reset or update userspace, without the latency that a full
@ -257,12 +257,11 @@ CHANGES WITH 254 in spe:
to sign UKIs and their PCR data with. to sign UKIs and their PCR data with.
* The kernel-install script has been rewritten in C, and reuses much of * The kernel-install script has been rewritten in C, and reuses much of
the infrastructure of existing tools such as bootctl. Moreover it the infrastructure of existing tools such as bootctl. It also gained
gained support for --root= and --image= switches, to operate relative --esp-path= and --boot-path= options to override the path to the ESP,
to some root file system or DDI. It also gained --esp-path= and and the $BOOT partition. Options --make-entry-directory= and
--boot-path= options to override the path to the ESP, and the $BOOT --entry-token= have been added as well, similar to bootctl's options
partition. Options --make-entry-directory= and --entry-token= have of the same name.
been added as well, similar to bootctl's options of the same name.
* A new kernel-install plugin 60-ukify has been added which will * A new kernel-install plugin 60-ukify has been added which will
combine kernel/initrd locally into an UKI and sign them with a local combine kernel/initrd locally into an UKI and sign them with a local
@ -301,9 +300,9 @@ CHANGES WITH 254 in spe:
MemoryPressureThresholdSec= for configuring the PSI memory pressure MemoryPressureThresholdSec= for configuring the PSI memory pressure
logic individually. If these options are used the logic individually. If these options are used the
$MEMORY_PRESSURE_WATCH and $MEMORY_PRESSURE_WRITE environment $MEMORY_PRESSURE_WATCH and $MEMORY_PRESSURE_WRITE environment
variables will be set for the invoked services processes to inform variables will be set for the invoked processes to inform them about
them about the requested memory pressure behaviour. (This is used by the requested memory pressure behaviour. (This is used by the
the aforementioned sd-events API additions, if set.) aforementioned sd-events API additions, if set.)
* systemd-analyze gained a new "malloc" verb that shows the output * systemd-analyze gained a new "malloc" verb that shows the output
generated by glibc's malloc_info() on services that support it. Right generated by glibc's malloc_info() on services that support it. Right
@ -316,9 +315,9 @@ CHANGES WITH 254 in spe:
gained a new call sd_session_get_start_time() for retrieving the time gained a new call sd_session_get_start_time() for retrieving the time
the login session started. A new call sd_session_get_leader() has the login session started. A new call sd_session_get_leader() has
been added to return the PID of the "leader" process of a session. A been added to return the PID of the "leader" process of a session. A
new call sd_uid_get_login_time() returns the time the specified user new call sd_uid_get_login_time() returns the time since when the
the time since when they most recently were logged in continously specified user has most recently been continuously logged in with at
with at least one session. least one session.
* JSON user records gained a new set of fields capabilityAmbientSet and * JSON user records gained a new set of fields capabilityAmbientSet and
capabilityBoundingSet which contain a list of POSIX capabilities to capabilityBoundingSet which contain a list of POSIX capabilities to
@ -334,10 +333,10 @@ CHANGES WITH 254 in spe:
CAP_WAKE_ALARM, thus allowing regular users who may log in locally to CAP_WAKE_ALARM, thus allowing regular users who may log in locally to
resume from a system suspend via a timer. (see above) resume from a system suspend via a timer. (see above)
* The Session D-Bus objects systemd-logind provides gained a new * The Session D-Bus objects systemd-logind gained a new SetTTY() method
SetTTY() method call for updating the TTY of a session after it has call for updating the TTY of a session after it has been allocated
been allocated already. This is useful for SSH sessions which are already. This is useful for SSH sessions which are typically
typically allocated first, and for which a TTY is added in later. allocated first, and for which a TTY is added in later.
* The sd-login API gained a new call sd_pid_notifyf_with_fds() which * The sd-login API gained a new call sd_pid_notifyf_with_fds() which
combines the various other sd_pid_notify() flavours into one: takes a combines the various other sd_pid_notify() flavours into one: takes a
@ -551,7 +550,7 @@ CHANGES WITH 254 in spe:
status to the host, similar to local processes. status to the host, similar to local processes.
* systemd-run gained a new switch --expand-environment=no to disable * systemd-run gained a new switch --expand-environment=no to disable
server-side enviornment variable expansion in specified command server-side environment variable expansion in specified command
lines. lines.
* The systemd-system-update-generator has been update to also look for * The systemd-system-update-generator has been update to also look for
@ -567,7 +566,7 @@ CHANGES WITH 254 in spe:
used to configure additional mounts or swaps via the kernel command used to configure additional mounts or swaps via the kernel command
line, in a format similar to /etc/fstab lines. line, in a format similar to /etc/fstab lines.
* systemd-sysupdate' sysupdate.d/ drop-ins gained a new setting * systemd-sysupdate's sysupdate.d/ drop-ins gained a new setting
PathRelativeTo=, which can be set to "esp", "xbootldr", "boot", in PathRelativeTo=, which can be set to "esp", "xbootldr", "boot", in
which case the Path= setting is taken relative to the ESP or XBOOTLDR which case the Path= setting is taken relative to the ESP or XBOOTLDR
partitions, rather than the system's root directory /. The relevant partitions, rather than the system's root directory /. The relevant