Rust Rewrite Index

systemd

system and service manager

Rust efforts

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust alternative

sysMaster

openEuler’s Rust service manager implements PID 1 and manages units. Compare supported unit types, dependencies and device management when studying systemd compatibility.

Evidence checked 2026-11-29

Suggested starting point

Compare unit-file parsing

Select one unit type and a small set of directives. Build a fixture set covering quoting, continuations and drop-ins, and compare how upstream loads them.

An index research suggestion. Check existing efforts and upstream priorities before starting a port.

Project structure

The service manager loads units and schedules dependency jobs. Journald, logind, udev, networkd and resolved perform distinct jobs and expose separate APIs.

Inside the source tree

  • src/ · 3,050 indexed files
  • test/ · 1,829 indexed files
  • man/ · 478 indexed files
  • units/ · 275 indexed files
  • mkosi/ · 152 indexed files

Source files by extension in this snapshot · C (1,563), Python (56), C++ (1)

Selected components packaged from this source in Debian 13.

  • systemd · system and service manager
  • libsystemd0 · systemd utility library
  • systemd-boot · simple UEFI boot manager - integration and services
  • systemd-oomd · userspace out-of-memory (OOM) killer
  • systemd-sysv · system and service manager - SysV compatibility symlinks
  • systemd-homed · home area manager