Systemd, a widely adopted system and service manager for Linux, released its latest iteration, v257, introducing a mix of groundbreaking updates, reworked functionality, and a glimpse into planned future removals.
The new release includes several incompatible changes to refine functionality and improve user experience. For instance, the --purge
switch of systemd-tmpfiles
now applies only to entries marked with the new $
flag. This adjustment reduces the risk of unintentional file deletions but requires updates to existing configurations.
Another significant change impacts systemd-creds
: its cat
verb now demands base64-encoded encrypted credentials, aligning its behavior with the decrypt
verb. Meanwhile, support for automatic flushing of the nscd
user/group database caches has been dropped, signaling a shift toward alternative mechanisms.
The way socket units handle the FileDescriptorName=
setting has also been updated. It now functions correctly for Accept=yes
sockets, offering better consistency in handling connections.
Systemd 257 also introduces a slew of new features designed to streamline system and service management. A standout addition is the ability for .timer
units to use the DeferReactivation=
option. This prevents immediate reactivation of services if a timer elapses while the service is still runningโa small but impactful change for administrators managing recurring tasks.
Similarly, introducing the RestartMode=debug setting allows administrators to restart failing services with enhanced logging enabled, aiding debugging.
For those working with network configurations, the update brings support for IPv6 address labels in systemd-networkd
. Additionally, bridge devices now support layer-2 Multicast Database (MDB) entries, improving multicast handling on bridge networks.
Moreover, systemd is becoming increasingly versatile, as evidenced by new features like the public availability of the sd-json
API within libsystemd
. This tool simplifies the creation and serialization of JSON structures in C code, opening doors for developers needing JSON handling in low-level system tools.
Support for Multipath TCP (MPTCP) in .socket
units is another example of systemd keeping pace with modern networking demands. It enables better redundancy and performance for network connections.
On the features removal side, certain legacy ones are being phased out. The upcoming version 258 will remove support for cgroup v1 hierarchies and System V service scripts, urging users to adopt cgroup v2 and native systemd unit files.
Furthermore, the team plans also to discontinue support for the SystemdOptions EFI variable, signaling a shift toward more modern alternatives like credentials and configuration extensions.
Additionally, keyboard mapping changes are on the horizon, impacting how certain keys are interpreted in X11 environments. Users are advised to update their xf86-input-evdev
and xf86-input-libinput
packages before upgrading to v258.
For more information about all changes in Systemd 257,ย visit the full changelog on GitHub.