December 13 2023

The new systemd update 255 will bring the Blue Screen of Death to Linux

Systemd 255 introduces Windows-style BSOD, improves service management, and supports Btrfs hibernation, revolutionizing modern Linux distributions.

BSOD Linux

The infamous Windows “blue screen of death” or BSOD seems to be all the rage. The BSOD should be a diagnostic tool, an information screen that technicians can use to begin locating the problem that caused the harmful event; Just because old Windows BSOD error codes were often so broad and vague as to be useless doesn't make the idea wrong.

Today, the Linux project's systemd version 255 honors that original intent by adding a systemd-bsod component that generates a full-screen display of some error messages when a Linux system crashes.

Experimental version

The systemd-bsod component is currently listed as "experimental" and "subject to change" but the functionality is simple: any logged error message that reaches the LOG_EMERG level will be displayed full screen so people can take a photo of it or write it down . Phoronix reports that, just like BSODs on modern Windows, the Linux version will also generate a QR code to make it easier to find information using your smartphone.

Linux_BSOD_2312342_101244

This is a small change to a single software project, but systemd handles system services and configuration for the vast majority of major GNU/Linux distributions, including but not limited to Debian, Fedora, Arch, Ubuntu, CentOS, Red Hat Enterprise Linux and many other smaller distributions. Chances are, whatever version of Linux you use, you'll end up seeing this version of systemd, depending on how often and willingly you integrate recent new software packages and how quickly you migrate to new versions when they come out.

New features in Systemd 255

systemd version 255 has dozens of other features and fixes, most of them more useful and significant than the new Blue Screen of Death feature. This includes many additions related to TPM support, disk encryption, and the ability to use hibernation with btrfs file systems. But none of these improvements attract as much attention.

Here's an expanded list of what's new in systemd 255, highlighting the most significant features and functionality:

  1. Systemd-storagetm: A new component that exposes blocking devices as NVMe-TCP, inspired by macOS and part of the new Systemd Storage Target mode.
  2. Systemd-bsod: Show error messages in full screen with log level “LOG_EMERG”. Intended as a diagnostic tool, it also displays a QR code for detailed error information.
  3. Review in Service Generation: Processes are now spawned using CLONE_VM and CLONE_VFORK via posix_spawn(), rather than the previous fork method.
  4. Systemd-pcrlock: Manages local TPM2 PCR policies for PCR 0-7, increasing security and parameter control.
  5. Systemd-vmspawn: An experimental tool that provides VMs the same interfaces and functionality as systemd-nspawn for containers, using QEMU as the backend.
  6. Varlinkctl: A tool added to facilitate interfacing with Varlink services.
  7. SECCOMP support for 64-bit LoongArch CPUs: Expands compatibility and security across different hardware architectures.
  8. Systemd bootctl: Now indicates whether the system was booted from a unified kernel image (UKI).
  9. Systemd-boot with New Hotkeys: Introduces “B” to restart and “O” to shut down keys from the boot menu.
  10. Internal Process Tracking with PIDFD: Improves process tracking efficiency on supported kernels.
  11. Soft reboot with systemctl: Automatically soft reboot to a new root file system if found in /run/nextroot/.
  12. SurveFinalKillSignal option: Avoid the last wave of SIGTERM/SIGKILL on shutdown.
  13. ConditionSecurity=measered-uki: Runs services only when the system is booted via a measured unified kernel image (UKI).
  14. Recording of TPM Measurements: TPM data is now written to an event log in /run/log/systemd/tpm2-measure.log.
  15. Removing Support for split-usr: Simplifies the file system structure.
  16. Deprecation of System V Service Scripts: Indicates a shift towards more modern technologies.
  17. TPM System Improvements(2): Various optimizations and enhancements to the Trusted Platform Module.
  18. Support for Hibernation on Btrfs Exchange Files: Introduces more flexibility for hibernation.

These features mean that systemd 255 will bring significant improvements and modernizations, impacting a wide range of GNU/Linux distributions. Its appearance in future Linux releases is highly anticipated, both in traditional versions and in continuously updated versions such as "rolling releases".

Do you have doubts? Don't know where to start? Contact us!

We have all the answers to your questions to help you make the right choice.

Chat with us

Chat directly with our presales support.

0256569681

Contact us by phone during office hours 9:30 - 19:30

Contact us online

Open a request directly in the contact area.

INFORMATION

Managed Server Srl is a leading Italian player in providing advanced GNU/Linux system solutions oriented towards high performance. With a low-cost and predictable subscription model, we ensure that our customers have access to advanced technologies in hosting, dedicated servers and cloud services. In addition to this, we offer systems consultancy on Linux systems and specialized maintenance in DBMS, IT Security, Cloud and much more. We stand out for our expertise in hosting leading Open Source CMS such as WordPress, WooCommerce, Drupal, Prestashop, Joomla, OpenCart and Magento, supported by a high-level support and consultancy service suitable for Public Administration, SMEs and any size.

Red Hat, Inc. owns the rights to Red Hat®, RHEL®, RedHat Linux®, and CentOS®; AlmaLinux™ is a trademark of AlmaLinux OS Foundation; Rocky Linux® is a registered trademark of the Rocky Linux Foundation; SUSE® is a registered trademark of SUSE LLC; Canonical Ltd. owns the rights to Ubuntu®; Software in the Public Interest, Inc. holds the rights to Debian®; Linus Torvalds holds the rights to Linux®; FreeBSD® is a registered trademark of The FreeBSD Foundation; NetBSD® is a registered trademark of The NetBSD Foundation; OpenBSD® is a registered trademark of Theo de Raadt. Oracle Corporation owns the rights to Oracle®, MySQL®, and MyRocks®; Percona® is a registered trademark of Percona LLC; MariaDB® is a registered trademark of MariaDB Corporation Ab; REDIS® is a registered trademark of Redis Labs Ltd. F5 Networks, Inc. owns the rights to NGINX® and NGINX Plus®; Varnish® is a registered trademark of Varnish Software AB. Adobe Inc. holds the rights to Magento®; PrestaShop® is a registered trademark of PrestaShop SA; OpenCart® is a registered trademark of OpenCart Limited. Automattic Inc. owns the rights to WordPress®, WooCommerce®, and JetPack®; Open Source Matters, Inc. owns the rights to Joomla®; Dries Buytaert holds the rights to Drupal®. Amazon Web Services, Inc. holds the rights to AWS®; Google LLC holds the rights to Google Cloud™ and Chrome™; Microsoft Corporation holds the rights to Microsoft®, Azure®, and Internet Explorer®; Mozilla Foundation owns the rights to Firefox®. Apache® is a registered trademark of The Apache Software Foundation; PHP® is a registered trademark of the PHP Group. CloudFlare® is a registered trademark of Cloudflare, Inc.; NETSCOUT® is a registered trademark of NETSCOUT Systems Inc.; ElasticSearch®, LogStash®, and Kibana® are registered trademarks of Elastic NV Hetzner Online GmbH owns the rights to Hetzner®; OVHcloud is a registered trademark of OVH Groupe SAS; cPanel®, LLC owns the rights to cPanel®; Plesk® is a registered trademark of Plesk International GmbH; Facebook, Inc. owns the rights to Facebook®. This site is not affiliated, sponsored or otherwise associated with any of the entities mentioned above and does not represent any of these entities in any way. All rights to the brands and product names mentioned are the property of their respective copyright holders. Any other trademarks mentioned belong to their registrants. MANAGED SERVER® is a trademark registered at European level by MANAGED SERVER SRL, Via Enzo Ferrari, 9, 62012 Civitanova Marche (MC), Italy.

Back to top