systemd Enters the Rust Era With Version 263-rc1 and New Linux Security Tools

systemd Enters the Rust Era With Version 263-rc1 and New Linux Security Tools

The systemd project has reached a significant development milestone with the release of systemd 263-rc1, introducing its first component written in Rust alongside a substantial collection of improvements to Linux service management, security, system monitoring, and container administration. Released on November 27, 2026, the first release candidate establishes the infrastructure necessary for incorporating Rust into future systemd development while preserving the existing core implementation written in C.

The introduction of Rust is accompanied by several important additions, including an experimental pseudo-terminal broker that allows administrators to reconnect to container consoles, a file manifest generation and verification utility, and a new service for enrolling cryptographic certificates into Linux kernel keyrings. The release also improves journal processing performance, consolidates networking utilities, introduces additional service sandboxing controls, and expands hardware health monitoring.

Although the arrival of Rust represents an important architectural development, systemd 263-rc1 does not fundamentally change how Linux systems boot or manage services. The project is taking a measured approach to language adoption, concentrating Rust development on new, relatively independent components rather than attempting to rewrite decades of established C code. As a release candidate, this version remains intended for testing and integration rather than immediate production deployment.

Rust Becomes Part of systemd Development

Since its introduction in 2010, systemd has grown from a Linux initialization system into an extensive collection of system-management components. Its responsibilities now include service supervision, system logging, network configuration, device management, container administration, user sessions, and numerous security-related operations. Most of this infrastructure has traditionally been implemented in C, making the introduction of Rust an important change in the project's development practices.

Rust provides a programming model designed to prevent many common memory-safety problems through compile-time ownership rules, lifetime checking, and restrictions on concurrent access to mutable data. These characteristics make the language particularly attractive for system-level software, where errors involving memory management can result in crashes, data corruption, or security vulnerabilities.

However, the systemd developers are not pursuing a complete migration away from C. The initial Rust implementation is limited to what the project describes as leaf components, meaning relatively independent programs that operate around the existing infrastructure rather than replacing its foundational libraries. This approach allows developers to evaluate Rust in practical system-management workloads without introducing unnecessary disruption to heavily established components such as the service manager.

Existing C implementations will continue to be maintained, and their replacement is not an objective simply because Rust is now available. Instead, developers can consider Rust when implementing new functionality that benefits from its programming model.

Rust Support Remains an Optional Build Dependency

The introduction of Rust required changes to systemd's build infrastructure, which uses Meson to configure and compile its various components. Version 263-rc1 introduces the -Drust= build option, allowing developers and distribution maintainers to control whether Rust-based programs are included.

The initial Rust development environment requires the following tools:

  • Rust compiler rustc 1.85 or newer.

  • bindgen 0.71.1 or newer.

  • Meson 1.4.0 or newer.

The bindgen utility generates Rust bindings for C interfaces, allowing Rust programs to interact with functionality implemented in existing C libraries. This interoperability is particularly important for systemd because its new components must continue working with an extensive collection of established interfaces.

Developers preparing a systemd source tree with Rust support enabled can configure the build using:

meson setup build -Drust=true

The configured project can then be compiled with:

meson compile -C build

These commands assume that the required systemd development dependencies and Rust toolchain are already installed. Developers can inspect the available build configuration using:

meson configure build

The initial implementation integrates Rust compilation directly into Meson rather than depending on Cargo and external Rust crates. It also uses Rust's no_std model, which avoids depending on the language's conventional standard library. This gives systemd greater control over its dependencies and how Rust programs interact with the project's existing infrastructure.

Because Rust remains optional, Linux distributions can continue building systemd without the new language support. However, doing so excludes components that specifically require Rust, meaning distribution packaging decisions will influence when these features become available to users.

The First Rust Component Handles Kernel Keyrings

The first concrete application of Rust within systemd is systemd-keyring-setup, an experimental utility responsible for loading X.509 certificates into selected Linux kernel keyrings during early system initialization.

Kernel keyrings provide an infrastructure for storing cryptographic keys and certificates that can be used by different kernel subsystems. They allow the kernel to authenticate signed content, enforce integrity policies, and establish trust relationships without requiring every cryptographic operation to be handled independently by userspace applications.

The new systemd-keyring-setup.service targets keyrings associated with three important Linux technologies:

  • dm-verity, which verifies the integrity of block devices.

  • fs-verity, which provides cryptographic integrity verification for individual files.

  • BPF, which supports programmable functionality within the Linux kernel.

The service obtains certificates from designated operating-system artifact verification directories or system credentials, enrolls them into the appropriate kernel keyrings, and subsequently seals those keyrings against further modification.

This functionality is especially relevant to Linux distributions and organizations developing verified operating-system images. Administrators can establish trust in selected certificates during the boot process without necessarily rebuilding the kernel or modifying firmware-level certificate enrollment.

However, the availability of the new service does not automatically mean that every Linux installation will begin verifying all its files or BPF programs. The relevant kernel features, signed artifacts, certificates, and verification policies must still be configured appropriately.

Understanding dm-verity, fs-verity, and BPF Verification

The technologies supported by the new keyring service address different aspects of operating-system integrity. Although they all use cryptographic verification, they operate at different levels of the Linux architecture.

The dm-verity subsystem operates at the block-device layer. It uses a cryptographic hash tree to verify storage blocks as they are accessed, making it possible to detect unauthorized modifications to protected disk images. This approach is particularly useful for immutable or image-based Linux distributions, where the operating-system filesystem is expected to remain unchanged during normal operation.

By contrast, fs-verity operates at the individual file level. Once enabled for a supported file, the kernel can verify its contents as data is read. This makes it possible to protect selected files without requiring an entire storage device to use a verified read-only configuration.

BPF verification addresses another area of trust. BPF programs can execute within the kernel under controlled conditions, providing functionality for networking, observability, security monitoring, and performance analysis. Cryptographic authentication can form an additional part of the trust policy surrounding these programs, alongside the kernel's existing BPF verifier.

By providing a unified mechanism for enrolling certificates into the relevant keyrings, systemd helps coordinate these separate integrity technologies during the boot process.

Some keyrings are normally sealed by the kernel before userspace services can modify them. Administrators implementing the new enrollment workflow may therefore need to defer sealing through supported kernel command-line parameters:

dm_verity.keyring_unsealed=1
bpf.keyring_unsealed=1

These parameters are intended for deliberately configured verification environments and should not be added indiscriminately to ordinary Linux installations. Deferring keyring sealing changes the system's trust initialization sequence, making it essential to ensure that certificate enrollment and subsequent sealing occur as intended.

A New Pseudo-Terminal Broker Makes Container Sessions More Flexible

Beyond Rust support, one of the most practical additions in systemd 263-rc1 is the experimental systemd-ptybrokerd service. The new component manages pseudo-terminals independently of the applications or clients that originally requested them, allowing terminal connections to survive client disconnections.

A pseudo-terminal, commonly abbreviated as PTY, provides an interface that behaves similarly to a physical terminal while being implemented entirely in software. Linux terminal emulators, SSH sessions, container consoles, and interactive command-line applications frequently depend on pseudo-terminals.

Traditionally, the lifetime of a terminal connection can be closely associated with the process managing it. If that process exits or a remote connection is interrupted, the terminal may disappear, potentially disrupting the commands or applications associated with it.

The new broker separates terminal ownership from the client requesting access. Rather than requiring the connecting application to keep the terminal open, systemd-ptybrokerd maintains it independently, allowing another authorized client to reconnect later.

Consider an administrator connected to a Linux container through SSH. If the network connection drops, the broker can preserve the container's console so that the administrator can reconnect without restarting the container or unnecessarily creating another terminal session.

This functionality resembles certain persistent-session capabilities associated with terminal multiplexers such as tmux and GNU Screen. However, systemd's broker operates as part of the system-management infrastructure and focuses on managing terminal lifetimes rather than providing a complete terminal multiplexer interface.

Managing Persistent Terminals With ptyctl

The new pseudo-terminal broker is accompanied by a command-line utility named ptyctl, which provides an interface for interacting with managed terminals. Administrators can use the tool to discover available terminal sessions and connect to them interactively.

For example, a terminal registered with the broker can be accessed using:

ptyctl monitor NAME

The NAME placeholder identifies the terminal managed by the broker. Users can substitute the appropriate terminal name when reconnecting to an existing session.

The broker supports both system-wide and per-user operation, allowing its functionality to be integrated into different service-management environments. It can also be activated through sockets, meaning the service does not necessarily need to remain continuously active before a request arrives.

Systemd unit files receive new options for directing standard input and output through the terminal broker. The broker mode allows a service to use a managed pseudo-terminal, while broker-log adds journal logging to the terminal-output workflow.

The functionality also extends to systemd-nspawn, systemd-vmspawn, and local sessions created through run0 when the appropriate broker infrastructure is available. Together, these changes create a more consistent foundation for persistent interactive sessions across containers, virtual machines, and system services.

Because the terminal broker remains experimental in this release candidate, administrators should evaluate its behavior before replacing established remote administration workflows.

systemd-manifest Introduces File Integrity Management

Systemd 263-rc1 introduces another security-oriented utility called systemd-manifest, which generates and verifies manifests describing the contents of directory trees. A file manifest provides a structured record of expected files and their associated verification information, allowing administrators to determine whether a directory's contents correspond to a previously established state.

The utility uses the UAPI.16 File Manifest format by default. This JSON-based representation records information about files and their contents, providing a standardized mechanism for describing operating-system artifacts and other directory structures.

The tool exposes functionality through subcommands including:

systemd-manifest make

And:

systemd-manifest verify

The make operation generates a manifest, while verify checks files against the expected information. Exact arguments depend on the directory layout and verification workflow, and users can inspect the available options with:

systemd-manifest --help

The utility also supports PKCS#7 cryptographic signatures, allowing a manifest to be authenticated rather than treated simply as an unsigned inventory of files.

Signed manifests can be useful when distributing operating-system images, application bundles, configuration directories, or other software artifacts. Instead of independently checking every file against manually maintained information, administrators can use a structured manifest to support a repeatable verification process.

The addition complements the new kernel keyring service, although the two components operate differently. The keyring service establishes cryptographic trust for supported kernel verification mechanisms, while the manifest utility provides userspace functionality for describing and checking directory contents.

Journal Processing Receives Substantial Performance Improvements

The systemd journal is responsible for collecting structured log information from Linux services, kernel messages, and other system components. On long-running servers or systems generating large volumes of diagnostic information, reading historical journal files can require considerable processing.

Systemd 263-rc1 improves both journal reading and verification performance. In development testing involving approximately 100 journal files, processing logs through the default journalctl output format was around 1.7 times as fast as before. Journal verification also improved significantly, with one reported test decreasing from approximately 13 seconds to five seconds.

These improvements could be particularly noticeable on servers retaining extensive service histories, development machines generating frequent diagnostic output, and systems where administrators regularly investigate historical events.

Linux users can inspect their existing journal storage with:

journalctl --disk-usage

To verify the internal consistency of accessible journal files, administrators can use:

sudo journalctl --verify

A basic comparison of journal-reading performance between systemd versions can be performed using:

time journalctl --no-pager > /dev/null

For verification performance:

time sudo journalctl --verify

Meaningful comparisons require equivalent journal files, hardware, output formats, and caching conditions. The published performance improvements describe specific development tests rather than guaranteed results for every Linux installation.

Nevertheless, reducing journal-processing overhead benefits one of systemd's most frequently used administrative interfaces without requiring users to change their existing commands.

systemd-networkd and networkctl Become a Single Executable

The release introduces an architectural change to systemd's networking infrastructure by consolidating systemd-networkd and networkctl into a single multicall executable. Traditionally, these components have been distributed as separate programs, with systemd-networkd responsible for managing network interfaces and networkctl providing a command-line interface for inspecting and controlling their configuration.

A multicall executable implements multiple program interfaces within one binary. The executable determines which functionality to provide based on how it is invoked, an approach familiar to Linux users through projects such as BusyBox.

In systemd 263-rc1, systemd-networkd becomes a symbolic link to the networkctl executable. Sharing implementation details within one binary reduces duplication and helps decrease the overall installation footprint without requiring users to learn different networking commands.

Existing commands remain familiar:

networkctl list
networkctl status
networkctl status enp3s0

The final command displays detailed information about a specific network interface. Users should replace enp3s0 with the interface name appropriate to their system.

Although ordinary users should experience little difference, Linux distribution maintainers may need to adjust package definitions, executable paths, and SELinux policies to accommodate the consolidated binary. Custom administrative scripts that make assumptions about the underlying executable layout may also require review.

systemd-resolved Gains Post-Quantum DNSSEC Verification

Another significant security improvement involves systemd-resolved, systemd's network name-resolution service. The new release introduces support for verifying DNSSEC signatures generated using ML-DSA-44, a digital signature algorithm designed to resist attacks from sufficiently capable quantum computers.

DNS Security Extensions, commonly called DNSSEC, provide cryptographic authentication for DNS records. Instead of trusting DNS responses solely because they were returned by a configured resolver, DNSSEC allows supporting systems to verify signatures and establish a chain of trust.

Traditional DNSSEC algorithms rely on mathematical problems that could become vulnerable if sufficiently powerful quantum computers are developed. Post-quantum algorithms attempt to address this risk through alternative mathematical foundations.

ML-DSA, standardized through FIPS 204, uses lattice-based cryptography. The ML-DSA-44 variant provides one of the standardized security parameter sets within the algorithm family.

Users can inspect their current resolver configuration with:

resolvectl status
resolvectl statistics

The introduction of ML-DSA-44 verification does not mean that all DNS traffic becomes quantum-resistant. DNS zones must actually publish compatible signatures, DNSSEC validation must be enabled where appropriate, and the surrounding infrastructure must support the required algorithms.

Nevertheless, the addition gives systemd's resolver an initial capability for authenticating DNS records signed with this emerging class of cryptographic technology.

New io_uring Controls Strengthen Service Sandboxing

Systemd 263-rc1 expands its service-hardening capabilities through a new unit configuration directive named IOUringFilter=. This setting allows administrators to define which io_uring operations a service is permitted to perform, extending systemd's existing mechanisms for restricting application access to kernel functionality.

The Linux io_uring interface provides an efficient mechanism for submitting asynchronous operations to the kernel. Applications can place requests into shared submission rings and retrieve results through completion rings, reducing the overhead associated with repeatedly invoking conventional system calls.

However, asynchronous submission interfaces introduce additional considerations for security policies. Restricting a conventional system call does not necessarily provide equivalent protection against every corresponding operation submitted through an asynchronous kernel interface.

The new directive allows administrators to establish an allowlist or denylist of supported io_uring operations. Systemd also introduces a diagnostic command for inspecting available operation names and their corresponding system calls:

systemd-analyze io-uring-filter

On Linux 7.0 and newer, existing systemd restrictions including SystemCallFilter=, RestrictAddressFamilies=, and RestrictSUIDSGID= can also constrain corresponding operations submitted through rings created by the service.

On older kernels, systemd uses a more restrictive fallback based on seccomp that prevents ring creation rather than applying equivalent operation-level filtering. Applications capable of falling back to conventional system calls may continue functioning under this configuration.

This distinction makes kernel compatibility particularly important when deploying the new security setting. Administrators should evaluate the behavior of database engines, networking services, storage applications, and other software that depends heavily on asynchronous I/O before applying restrictive policies.

Service Managers Gain Additional SecureBits Controls

The release introduces a new SecureBits= configuration option for the system and user service managers. Linux securebits influence how processes acquire, retain, and use privileges, particularly when interacting with user identities and kernel capabilities.

Previously, systemd provided securebits configuration for individual units. The new option extends configuration to the service manager itself through system.conf and user.conf, allowing applicable security settings to be inherited by processes launched under that manager.

When combined with mechanisms such as RestrictFileSystemAccess=, the new controls can help enforce execution policies for scripts and other applications. Supporting script interpreters can consult kernel-provided execution checks before processing files, extending protection beyond conventional executable binaries.

This capability is particularly relevant to hardened operating-system environments where administrators want to establish consistent restrictions across multiple services. However, manager-wide security policies can have broad compatibility implications, making careful testing essential before deployment.

Administrators can inspect the overall security exposure of an existing systemd service with:

systemd-analyze security nginx.service

The analysis evaluates numerous sandboxing and privilege-related settings, helping identify areas where additional restrictions may be appropriate. Its assessment should be treated as a configuration review aid rather than a comprehensive measurement of application security.

A Long-Standing Filesystem Protection Problem Is Corrected

Systemd 263-rc1 fixes a filesystem protection issue dating back to systemd 248. The problem involves service configurations using ProtectSystem=strict together with certain MountAPIVFS= arrangements, where parts of the /run filesystem could remain writable despite the expected restrictions.

The ProtectSystem=strict directive is designed to expose most of the filesystem to a service in read-only mode. Administrators can then explicitly identify locations where the application requires write access, reducing the ability of compromised or malfunctioning services to modify unrelated system resources.

Correcting the behavior of /run strengthens this protection but may also affect existing services that inadvertently depended on the previous behavior. Applications writing runtime information into locations that are no longer writable may fail to start or encounter permission errors.

For services requiring their own runtime directory, a configuration such as the following provides a more appropriate solution:

[Service]
ProtectSystem=strict
RuntimeDirectory=myapp
RuntimeDirectoryMode=0750

Systemd creates /run/myapp for the service and makes it available with the appropriate permissions.

Applications that must write to a specific existing directory can instead use an explicit exception:

[Service]
ProtectSystem=strict
ReadWritePaths=/run/myapp

Unlike RuntimeDirectory=, the ReadWritePaths= directive does not automatically create the specified directory. The required path must therefore exist when the service starts.

Administrators can create a service override without modifying the distribution-provided unit file directly:

sudo systemctl edit myapp.service

After saving the configuration, the affected service can be restarted:

sudo systemctl daemon-reload
sudo systemctl restart myapp.service

The important consideration is that services should explicitly declare their writable runtime locations rather than relying on unintended filesystem permissions. Organizations maintaining custom unit files should review these configurations when preparing for systemd 263.

Service Units Gain Organizational Tags

As Linux deployments grow, administrators can find themselves managing hundreds or thousands of systemd units representing applications, background workers, maintenance processes, monitoring agents, and infrastructure services. Identifying relationships between these units becomes increasingly difficult when service names alone must communicate their purpose.

Systemd 263-rc1 introduces a new Tags= directive in the [Unit] section, allowing administrators to associate descriptive labels with individual units. Tags can identify application roles, workload categories, operational responsibilities, or other characteristics relevant to a deployment.

For example, a background processing service could include:

[Unit]
Description=Background Data Processing Service
Tags=example.role=worker example.batch

[Service]
ExecStart=/usr/local/bin/data-worker
Restart=on-failure

[Install]
WantedBy=multi-user.target

The labels become part of the unit's metadata and are displayed through systemctl status. Systemd also makes the information available through a user.tags extended attribute associated with the unit's control group.

Administrators managing authorization policies can use tags when constructing Polkit rules for service-management operations. This creates opportunities to organize authorization around descriptive workload characteristics rather than maintaining rules that individually enumerate every service name.

The directive also supports transient units, making tags useful for dynamically created workloads and automated deployment systems.

Although tags do not directly change resource allocation or scheduling behavior, they provide additional organizational context that can simplify administrative tooling across larger Linux installations.

A New systemctl wait Command Simplifies Automation

System administrators frequently need to start a service and wait until it has completed before continuing with another operation. Existing shell scripts often implement this behavior through polling loops, service-status queries, or application-specific completion mechanisms.

Systemd 263-rc1 introduces a dedicated systemctl wait command that can wait for a unit to finish and report information about its execution, including runtime, resource consumption, and exit status.

For example:

systemctl wait backup.service

This functionality can be particularly useful for services that perform finite operations, such as backups, report generation, data imports, and scheduled maintenance.

A deployment or maintenance script could start a service without blocking on the initial start operation, then wait for its completion:

systemctl start --no-block backup.service
systemctl wait backup.service

Rather than repeatedly querying the service's state through a custom loop, the script can rely on systemd's own unit-management infrastructure.

The new command differs from simply waiting for a service to start. A service may finish its initialization successfully and continue executing for an extended period, whereas the new waiting mechanism can be used to observe the completion of the unit itself.

Administrators developing automation around systemd should find this especially useful when coordinating temporary workloads and maintenance operations.

Hardware Health Monitoring Expands Through systemd-report

The systemd-report component receives a substantial expansion of its system-monitoring capabilities. Originally intended to provide structured information about the operating environment, the utility gains additional metric providers covering hardware health, storage capacity, network activity, and system performance.

The new reporting capabilities include:

  • Hardware temperature measurements.

  • Available space on writable, disk-backed filesystems.

  • ATA SMART storage health information.

  • NVMe device health information.

  • Power supply status.

  • Per-interface network statistics.

  • Journal message counts and priorities.

  • User session and suspend statistics.

  • Per-unit pressure stall information.

  • System uptime.

These additions bring together information that administrators traditionally collect through separate utilities such as smartctl, sensors, df, and various network-monitoring commands.

Systemd-report does not necessarily replace those specialized tools. Dedicated storage diagnostics, for example, may provide considerably more detailed information about individual devices. However, integrating common metrics into structured reports can simplify fleet monitoring, automated diagnostics, and remote system assessment.

The release also adds unique report identifiers and a --nonce= option that allows a requesting party to associate a generated report with a specific request. This can help distinguish a newly generated signed report from one captured previously.

Additional TPM 2.0 reporting capabilities expand the information available for hardware-backed attestation, including Platform Configuration Register values, TPM properties, and support for multiple attestation keys.

An optional GeoIP provider is also available for estimating geographic location through an external service using the system's public IP address. This functionality is disabled by default, allowing administrators to decide whether the additional information and corresponding external network activity are appropriate for their environment.

Virtual Machines Gain Dynamic Memory Management

Systemd 263-rc1 continues expanding its virtualization infrastructure through improvements to systemd-vmspawn, the project's utility for running virtual machines through QEMU.

One of the most important changes is the automatic attachment of a virtio memory balloon to non-confidential virtual machines. Memory ballooning allows a guest operating system and hypervisor to coordinate memory consumption dynamically, potentially returning unused memory to the host rather than permanently reserving the entire initial allocation.

The release introduces the Varlink method io.systemd.MachineInstance.SetMemory(), which provides a mechanism for requesting changes to a virtual machine's memory allocation while it is running. Management applications can also receive progress information and inspect requested memory sizes, current allocations, and guest memory statistics.

This functionality can be valuable on Linux systems running multiple virtual machines with changing resource requirements. Rather than assigning every guest a permanently fixed amount of memory, management tools can adjust allocations to better reflect operational demands.

However, effective memory ballooning depends on coordination with the guest operating system. Returning excessive memory from a busy virtual machine can increase memory pressure and reduce application performance, so automated adjustments require appropriate resource-management policies.

The release also improves ARM64 virtual machine support by introducing Secure Boot compatibility for appropriate UEFI firmware configurations. Additional changes address credential handling in confidential virtual machines and support read-only extra drives through the --extra-drive= option.

Together, these improvements make systemd's virtualization tools more capable without attempting to replace every feature offered by established virtualization-management platforms.

AF_VSOCK Isolation Changes for Private Network Namespaces

Another important compatibility change affects AF_VSOCK, a socket family commonly used for communication between virtual machines and their hosts. Unlike conventional network sockets, vsock communication does not require ordinary IP network configuration, making it useful for guest agents, administrative services, and certain container or virtualization workflows.

On Linux 7.0 and newer, systemd 263-rc1 configures vsock sockets to be isolated by network namespace by default through:

net.vsock.child_ns_mode=local

This means services operating under PrivateNetwork=yes or containers using isolated network namespaces may no longer be able to reach host-side or hypervisor-side vsock services that were previously accessible.

Administrators can inspect the active setting using:

sysctl net.vsock.child_ns_mode

The change strengthens isolation by ensuring that private network namespaces do not retain unintended communication paths through the vsock interface.

However, software that deliberately depends on such communication may require configuration changes. This is particularly relevant to virtual machine management agents, specialized container services, and applications that use vsock as an alternative to conventional network interfaces.

The setting is applied during early boot and can only be written once per boot, so administrators requiring different behavior must configure the appropriate policy before initialization rather than attempting to change it casually on a running production system.

Additional Improvements Across the systemd Ecosystem

Beyond its major architectural and security changes, systemd 263-rc1 includes numerous smaller improvements affecting service management, filesystem mounting, socket configuration, credential handling, and desktop application integration.

The /etc/fstab configuration format gains support for x-systemd.onfailure=, allowing administrators to associate a recovery unit with a filesystem mount that fails. This can be useful when storage availability is essential to application startup or when administrators want automated notification of mount failures.

For example, a filesystem entry could include:

UUID=YOUR-UUID /srv/data ext4 defaults,nofail,x-systemd.onfailure=storage-alert.service 0 2

The example assumes that storage-alert.service exists and that YOUR-UUID is replaced with the actual filesystem UUID.

Socket units also gain support for SocketProtocol=mptcp-auto, which allows compatible sockets to use Multipath TCP when it is supported and enabled by the kernel, while falling back to conventional TCP when necessary.

The user service manager receives improved grouping of desktop applications into application-specific control group slices. This allows resource restrictions associated with an application to apply across its running instances, providing a more structured approach to managing desktop workloads.

System credential handling also becomes more configurable through the new systemd.import_credentials_filter= kernel command-line option. Administrators can use this mechanism to restrict which credentials are imported from supported firmware and early-boot sources.

Individually, these additions may appear less significant than Rust integration or the terminal broker. Collectively, however, they demonstrate how systemd continues expanding its capabilities across many different parts of the Linux operating environment.

Comparing the Major Changes in systemd 263-rc1

The first release candidate introduces improvements spanning programming-language infrastructure, system administration, security enforcement, monitoring, networking, and virtualization.

Component or feature Improvement
Rust integration Optional support for developing new Rust components
systemd-keyring-setup Early-boot certificate enrollment and keyring sealing
systemd-ptybrokerd Persistent, reconnectable pseudo-terminals
ptyctl Management of brokered terminal sessions
systemd-manifest Directory manifest generation and verification
journalctl Faster journal reading and verification
systemd-networkd Consolidated executable shared with networkctl
systemd-resolved ML-DSA-44 DNSSEC signature verification
IOUringFilter= 비동기 커널 작업에 대한 제한 사항
SecureBits= 추가 서비스 관리자 권한 제어
태그= 시스템 단위에 대한 설명 메타데이터
systemctl 대기 단위 완료 및 실행 결과 모니터링
시스템 보고서 확장된 하드웨어 및 운영 체제 모니터링
systemd-vmspawn 동적 메모리 관리 및 향상된 VM 지원
ProtectSystem=엄격 런타임 파일 시스템 보호 수정
AF_VSOCK 더욱 강력한 네트워크 네임스페이스 격리

새로운 기능과 호환성 변경 사항이 결합되어 이번 릴리스는 특히 Linux 배포판 유지 관리 담당자와 사용자 정의 시스템 구성을 담당하는 관리자에게 적합합니다.

Linux에 설치된 systemd 버전 확인

systemd는 Linux 배포판에 깊이 통합되어 있기 때문에 사용자는 일반적으로 독립적으로 배포된 대체 버전을 설치하는 대신 배포판의 패키지 저장소를 통해 새 버전을 받습니다.

현재 설치된 버전은 다음을 통해 확인할 수 있습니다.

systemctl --version

배포 및 빌드 구성에 따라 출력에는 활성화된 기능 및 지원되는 기술에 대한 정보와 함께 버전 번호가 포함됩니다.

Debian 및 Ubuntu 사용자는 다음을 통해 사용 가능한 패키지 버전을 검사할 수 있습니다.

적절한 정책 시스템

Fedora 사용자는 다음을 사용할 수 있습니다.

dnf 정보 시스템

Arch Linux에서는 다음을 사용하여 저장소 패키지 정보를 표시할 수 있습니다.

팩맨 -Si 시스템

이러한 명령을 통해 사용 가능한 버전은 배포판의 릴리스 일정, 활성화된 리포지토리 및 패키징 결정에 따라 다릅니다.

일반 데스크톱 애플리케이션과 달리 systemd는 기본적인 운영 체제 기능을 담당합니다. 배포판에서 제공하는 버전을 수동으로 교체하면 공유 라이브러리, 장치 관리, 부팅 구성, 네트워킹 및 서비스 초기화와 관련된 비호환성이 발생할 수 있습니다.

따라서 systemd 263-rc1 실험에 관심이 있는 사용자는 중요한 프로덕션 시스템을 업그레이드하기보다는 전용 가상 머신, 개발 배포 또는 일회용 테스트 환경을 고려해야 합니다.

Rust의 도입이 systemd의 미래에 미치는 영향

systemd 내에서 Rust를 채택한 것은 기본 Linux 소프트웨어에서 메모리 안전 프로그래밍 언어를 향한 광범위한 움직임을 반영합니다. Linux 커널은 이미 Rust에서 선택한 드라이버 및 기타 구성 요소를 개발하기 위한 인프라를 도입했으며, 다양한 사용자 공간 프로젝트에서는 메모리 관련 프로그래밍 오류를 줄이기 위한 유사한 접근 방식을 모색했습니다.

systemd의 경우 Rust는 기존 아키텍처를 대체하는 대신 추가 개발 옵션을 제공합니다. 초기 구현을 독립 구성 요소로 제한하면 프로젝트가 Rust 컴파일, 상호 운용성, 종속성 관리 및 장기 유지 관리에 대한 실질적인 경험을 얻을 수 있습니다.

이 결정은 또한 대규모 재작성과 관련된 위험을 줄입니다. 기존 C 구성 요소에는 수년간 축적된 동작, 호환성 처리 및 통합 작업이 포함되어 있습니다. 구현 언어를 변경하기 위해 이러한 구성 요소를 교체하면 동등한 실질적인 이점을 즉시 제공하지 못한 채 새로운 결함이 발생할 수 있습니다.

새로운 기능에 초점을 맞춤으로써 systemd는 의도한 목적을 계속해서 수행하는 확립된 코드를 보존하면서 적절한 경우 Rust의 메모리 안전성 보장을 활용할 수 있습니다.

실험적인 키링 설정 유틸리티는 이 접근 방식의 초기 데모를 제공합니다. 이 개발은 향후 Rust 구성 요소가 systemd의 C 라이브러리 및 Linux 커널과 상호 작용하는 방식에 대한 규칙을 확립하는 데 도움이 될 것입니다.

Rust의 도입은 모든 새로운 시스템 구성 요소가 해당 언어로 작성된다는 보장으로 해석되어서는 안 됩니다. 적절한 구현은 계속해서 기술 요구 사항, 사용 가능한 추상화, 유지 관리 고려 사항 및 개별 하위 시스템의 요구 사항에 따라 달라집니다.

결론

Systemd 263-rc1은 프로젝트의 첫 번째 Rust 기반 구성 요소를 도입하는 동시에 보안, 관리 및 모니터링 기능을 확장함으로써 Linux 시스템 관리 발전의 중요한 이정표를 나타냅니다. 2026년 11월 27일에 출시된 이 업데이트는 기존 C 기반 코어를 교체하지 않고 선택적 Rust 개발 인프라를 구축합니다.

새로운 시스템 키링 설정 서비스는 초기 부팅 프로세스에 인증서 등록 및 키링 봉인을 제공하며, systemd-ptybrokerd 컨테이너 및 기타 대화형 워크로드에 대한 영구 터미널 연결을 도입합니다. 추가 시스템 매니페스트 구조화된 파일 매니페스트와 암호화 확인을 통해 시스템 무결성 관리를 더욱 강화합니다.

성능 개선 저널, 네트워킹 실행 파일 통합, 양자 이후 DNSSEC 서명 확인 및 추가 io_uring 제한 사항은 릴리스가 Rust 채택을 훨씬 넘어 확장되었음을 보여줍니다. 확장된 하드웨어 모니터링, 가상 머신 메모리 관리, 서비스 메타데이터 및 자동화 명령은 Linux 관리자에게 더욱 향상된 기능을 제공합니다.

또한 이 릴리스에는 특히 쓰기 가능한 런타임 디렉터리 및 vsock 격리와 관련된 호환성 변경 사항이 도입되었습니다. 사용자 정의 서비스 구성을 유지 관리하는 관리자는 중요한 시스템을 새 버전으로 전환하기 전에 이러한 변경 사항을 평가해야 합니다.

systemd 263의 첫 번째 릴리스 후보인 이 버전은 최종 안정 릴리스가 아닌 개발 이정표로 남아 있습니다. 그럼에도 불구하고 이는 Rust를 미래의 시스템 관리 구성 요소에 통합하는 동시에 더 넓은 Linux 생태계의 성능, 보안 및 운영 기능을 지속적으로 개선하기 위한 기반을 구축합니다.

Disqus 댓글 로드
Powered by Blogger.