systemd 255 Released With A "Blue Screen of Death" For Linux Systems

Written by Michael Larabel in systemd on 6 December 2023 at 04:07 PM EST. 105 Comments
SYSTEMD
Ahead of the holidays systemd 255 has debuted as stable and comes with systemd-bsod as a "Blue Screen of Death" service capable of displaying full-screen error messages on Linux. There's also a new tool, systemd-vmspawn, that can be used for spawning virtual machines.

Systemd 255 debuted a few minutes ago as stable, in time for H1'2024 Linux distribution releases and of course premiering soon on the various rolling-release Linux distributions.

systemd 255


Highlights of systemd 255 include:

- A new component "systemd-storagetm" has been added that exposes all lock block devices as NVMe-TCP. This is a very nifty feature inspired by macOS with the new systemd Storage Target Mode.

- A new component "systemd-bsod" has been added to show logged error messages full-screen if they have a "LOG_EMERG" log level. This is intended as a tool for displaying emergency log messages full-screen on boot failures. Yes, BSOD in this case short for "Blue Screen of Death". This was worked on as part of Outreachy 2023. The systemd-bsod will also display a QR code for getting more information on the error causing the boot failure.

- There's been an overhaul to the way systemd services are spawned. Rather than forking the process that shared all of the manager's memory via CoW before exec'ing the target executable, the new process is now spawned using CLONE_VM and CLONE_VFORK via posix_spawn().

- A "systemd-pcrlock" has been added that allows managing local TPM2 PCR policies for PCRs 0-7 and similar.

- A new "systemd-vmspawn" tool has been added that provides for VMs the same interfaces and functionality that systemd-nspawn provides for containers. The systemd-vmspawn tool uses QEMU as its back-end. For systemd 255, systemd-vmspawn is experimental.

- A new "varlinkctl" tool has been added to allow interfacing with Varlink services.

- SECCOMP now supports the LoongArch 64-bit CPU architecture.

- Systemd's bootctl will now show whether the system was booted from a Unified Kernel Image (UKI).

- systemd-boot has new hotkeys of "B" to reboot and "O" to poweroff from the boot menu.

- Most internal process tracking is now using PIDFDs rather than PIDs when running on a supported kernel.

- systemctl will now automatically soft-reboot into a new root file-system if found under /run/nextroot/ when a reboot operation is invoked.

- A new option "SurveFinalKillSignal" has been added to skip the final SIGTERM/SIGKILL spree on shutdown in order to survive soft-reboot operation.

- A new "ConditionSecurity=measured-uki" option for only running when the system has been booted via a measured Unified Kernel Image (UKI).

- TPM measurements are now written to an event log at /run/log/systemd/tpm2-measure.log.

- Support for split-usr has been removed.

- Support for System V service scripts has been deprecated and will be removed in the future.

- A variety of systemd TPM(2) improvements.

- Hibernation into swap files backed by Btrfs are now supported.

Those spinning up systemd builds on your own can find the new release up on systemd via GitHub.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week