Systemd v263-rc2 lands: sandbox escape fixed, first Rust program ships
systemd's second release candidate for the major 263 line is now out, and it carries enough to make a sysadmin reach for the documentation. Tagged today, it closes a multi-year sandbox escape, isolates vsock sockets by network namespace, and quietly ships the first systemd program written in Rust.
For context, systemd isn't just the init system anymore. It's roughly 70 binaries stitched into one dependency-based framework that runs as PID 1 on essentially every mainstream distro. Debian, Ubuntu, Fedora, RHEL, openSUSE, Arch all lean on it. A change here doesn't just hit one distro. It ripples.
What actually changed
The two security fixes are the headline, and both are worth a look.
First, /run/ is now correctly read-only under ProtectSystem=strict. The bug has been sitting in systemd since v248. When settings like MountAPIVFS= were active, /run/ stayed writable even though the docs promised read-only. That wasn't just sloppy documentation. If a service's mount namespace shared the host's /run/, the host's own /run/ became writable to a confined service, a genuine sandbox escape.
Now services that actually need to write there have to ask. ReadWritePaths= or RuntimeDirectory= does the trick. Head here to the release notes if your unit files touch /run/.
The second fix isolates AF_VSOCK sockets per network namespace. Kernels 7.0 and newer get net.vsock.child_ns_mode=local by default, and PID 1 loads the vsock module early so the setting lands before most namespaces come up. Containers, guests, and services with PrivateNetwork=yes can no longer reach host vsock services across namespaces.
Here's the part that'll trip you up. That sysctl is write-once. Once it's set, often already present in your initrd, it can't change until reboot, and a later attempt fails with EBUSY. If you need to alter it, you'll have to rebuild your initrd.
Rust, finally, in leaf code
systemd can now optionally build with Rust support, behind the -Drust= meson flag. It pulls in rustc >= 1.85, bindgen >= 0.71.1, and meson >= 1.4.0. But don't expect a mass exodus from C. The stated plan is Rust for new work, not for rewriting existing code "just for the sake of it." The core library stays in C.
The first thing to actually ship in Rust is systemd-keyring-setup, an experimental service that enrolls X.509 certificates into the kernel's verity and BPF keyrings early on boot. It's a fitting first act, too, new code, memory-safe, touching a genuinely fiddly problem.
The systemd core stays in C, so this is more of a doorway than a renovation. Still, systemd is the most widely deployed piece of software on Linux, and where it walks, others tend to follow.
The rest of the pile
v263-rc2 bundles a lot of smaller stuff alongside the headline items.
A new pseudo-TTY broker, systemd-ptybrokerd, lets you detach and reattach a container console without killing the workload. A ptyctl tool lists terminals and hangs them up on demand.
systemd-manifest generates and verifies file manifests for directory trees, defaulting to the UAPI.16 format. It strengthens the integrity story for immutable, image-based systems, a category that's only gotten bigger over the past year.
Other additions include Tags= on units, faster journal reading (roughly 1.7× on large journals), a merged systemd-networkd binary, SecureBits=, IOUringFilter= for io_uring allow/deny lists, ML-DSA-44 DNSSEC in resolved, and a systemd-report tool that now reports disk health, temperatures, and power status.
Read the breaking-changes section
This is a "major" release, which in systemd-speak means a pile of incompatible changes. Several interact with initrds and write-once kernel settings, so the honest advice is to stage v263 before rolling it to a production fleet.
The ones most likely to bite: /run/ is now read-only under ProtectSystem=strict, so units relying on writable /run/ need ReadWritePaths= or RuntimeDirectory=. The vsock sysctl is write-once and may force an initrd rebuild. is-enabled now reports vendor-enabled units as enabled, which could change exit codes in packaging scripts. sd-json rejects objects with duplicate keys, and udev rules get stricter parsing.
The full list in the announcement runs much longer. Keep in mind that distributions usually absorb these changes in their own testing cycles before systemd hits stable repos, so most users will see it trickle in rather than drop all at once.
Head here for the full announcement.
