- Runtime service loading —
schema-ctl add <path>loads a new service at runtime - Runtime reload + removal —
schema-ctl reload [--evict]re-reads config (cycle-checked);--evictSIGTERMs services dropped from config, no reboot - login1 D-Bus stub —
schema-logindrestores KDE shutdown/restart buttons on no-systemd systems - event-driven main loop — signalfd for SIGCHLD + poll() with 250ms timeout; wakes on child death and ctl commands instead of busy-polling
- Boot hang fix — dep_idx alignment bug in group dep resolution; poll() replaces epoll (PID 1 epoll deadlock on kernel 6.1.0-49)
- Boot timing —
schema-ctl timingreports kernel→PID1 handoff and per-service FUNDAMENTAL/PERFECT timestamps (CLOCK_MONOTONIC) - Boot time measurement — 29.5s → 20.7s with
ready_pathprobes;stable_secsfallback per service - Per-service readiness probes —
ready_path=promotes on path existence;stable_secs=fallback timer - Cgroup assignment race fix — pipe barrier guarantees cgroup.procs written before child exec
- Dynamic poll timeout — loop sleeps indefinitely once all services stable; 0% CPU idle
- Service log files — stdout/stderr per service at
/run/log/schema-init/<name>.log - D-Bus stubs —
hostname1andsystemd1Manager stubs inschema-logind; KDE Settings 25s → 2s - Fedora KDE distribution — GreyBox daily driver, full KDE Plasma 6 on Fedora 44
- Fedora Cinnamon distribution — Eli (Dell Inspiron), keyboard/touchpad/ethernet working
- STATE_DORMANT (75) — exponential backoff before 76 verdict; critical services never excise
- Soft dep cascades — non-critical EXCISED deps skipped; dependents proceed without them
- aarch64 cross-compile —
make aarch64; all three binaries static; Ungulate Leg target ready - ARM bare-metal deploy — Pi Zero W (armv6l), Pi OS Trixie; SSH up in ~50s from cold boot
- schema-desktop — SDL2 live service viewer;
make desktop+ autostart entry in Cinnamon and KDE distros - Dead Man Token hardware watchdog —
/dev/watchdogdriven by per-service check-in viaschema-ctl pet; any critical service missing itswatchdog_timeout_mswindow stops WDT petting → hardware reboot; PID 1 deadlock covered implicitly - Symlink template instances —
motor@12.svc → motor@.svc;$INSTANCEinjected at spawn;$SLOT_IDfallback for GPIO-strapped nodes; one SD card image per fleet - Structured telemetry —
schema-ctl status --jsonand--kvfor machine-parseable supervisory loop consumption and IEC 62304 audit traceability - Cgroup resource limits —
cpu_limit=(1–100, % of one core),mem_limit=(MB),cpuset=(CPU affinity / core pinning, systemdAllowedCPUs=analog), andcpuset_partition=(isolated/rootexclusive cores via cgroupv2 partitions — dynamicisolcpus) per.svc; written via sync-pipe window before child exec; IEC 62304 Class C blast-radius isolation - zram swap —
zram-swap.svcboots a zstd-compressed zram swap device, replacing systemd'szram-generator; eliminates disk thrashing / periodic stutter under memory pressure - schema-udev — native
.dev-rule device manager with an authoritative cutover that retiressystemd-udevdand owns/dev: node creation, the/dev/disk/by-*+/dev/char+/dev/blocksymlink farm,uaccessseat ACLs, the libudev monitor broadcast, and the/run/udev/datadatabase — checksum-backed, reversible, guarded by a headless seatbelt - schema-udev hotplug workers — each live uevent runs in a forked worker; events for one device (path, ancestors, device number, ifindex) stay in order while unrelated devices proceed, with a 30 s per-helper and 180 s per-event deadline, so one stuck device never freezes hotplug (udevd parity)
- schema-journal-sink — a journald-shaped endpoint (
schema-journal-sink.c) that drains/dev/logto a plain per-service logfile with ajournalctlshim; no journal database - schema-logind consolidation — one
schema-logindprocess now serveslogin1and thehostname1/timedate1/locale1surfaces (sessions, seats, power, hostname, RTC/timezone, locale) — the "little-4" in a single readable program - schema-systemd1 — the full
org.freedesktop.systemd1management surface (ListUnits, GetUnit, Start/Stop/RestartUnit, per-unit ActiveState/SubState/MainPID/NRestarts, PropertiesChanged) served by its ownschema-systemd1process drivingschema-ctl;systemctl statusand Cockpit's Services page work - Built-in
.svctimers —on_calendar=scheduling parsed inservice.cretirescronand systemd.timerunits (richer calendar forms tracked indocs/timers-design.md) - In-place migrator + COPR —
schema-migrate --discover/--deploy/--uninstallconverts a live Fedora KDE box to schema-init as PID 1 and back (proven end-to-end in a VM); prebuilt viadnf copr enable ajax80/schema-init(three packages), with a guidedschema-init-wizardGUI - schema-dbus — native C broker replacing
dbus-daemonon both the system bus and the session bus; enforces the dissolvedbusconfigpolicy (conformance-tested), does auth / name ownership / routing / match rules / unix-fd passing; serves a full KDE desktop as the live bus through reboots; opt-in, self-healing, reversible flip (on-demand activation,BecomeMonitor, full driver interface) - systemctl compat translator — a
schema-systemctlshim (systemctl_shim.h) that makes packaged RPM/deb scriptlets (systemctl enable/daemon-reload/…) succeed on a schema-init box and records enable-intent topending.list, plus aschema-importruntime importer that drains the queue and translates.serviceunits into native.svc(ExecStart/Type/Restart/User/Environmentwith$VARresolution,Type=notify→notify=1,Type=dbus→ready_bus_name=;Type=forking+PIDFile=→pid_file=; templates logged-and-skipped);dnfinstall/remove round-trip verified, generated units load under the real.svcparser - modules-load.d — PID 1 hands the
*.confdrop-ins in/etc,/run,/usr/local/lib,/usr/liband/libmodules-load.d(same-name override and/dev/nullmasking as systemd) to onemodprobe -a -bchild early in boot and holds the first spawn until it exits (systemd-modules-load parity) - Static device nodes — PID 1 creates the
modules.devnamenodes (/dev/net/tun,/dev/uinput,/dev/vhost-net…) and appliesstatic-nodes-permissions.confat boot, so first open autoloads the module (kmod-static-nodes + tmpfiles-setup-dev parity) - schema-doctor — health checks with self-heal (boot-entry integrity, NM profiles bound to missing interfaces, session agents, powerdevil / ksycoca loops, panel pins), run at boot and periodically
- Boot snapshots + GRUB fallback — known-good root snapshots with their own boot entries (separate
/boot, initramfs and non-fstab/homehandled) and a boot-success guard - PID 1 re-exec —
schema-ctl reexecswaps the init binary in place with a dry run, sealed state handoff and rollback; RPM upgrades re-exec automatically, so updating PID 1 is justdnf upgrade, no reboot - Service watchdog —
watchdog_sec=withWATCHDOG=1oversd_notify(systemdWatchdogSec=parity): missed window → SIGABRT + core, then SIGKILL, then the normal restart arc - Fedora 44 installer ISO, verified on real hardware — netinst + kickstart installs KDE on schema-init as PID 1 with an optional guided schema-udev flip; clean install to desktop on a Dell i3 laptop with no hand fixes (v0.3.0)
- Per-user supervisor —
schema-user, one per logged-in user and per lingering user from boot, started, supervised, stopped and adopted byschema-logind;schema-ctl --user;schema-import --userruns the user's enabled systemd user units (socket/timer service deps,ConditionUser=, network-online wait); asystemctl --usershim; session D-Bus activation routed through it;org.freedesktop.systemd1on the session bus (schema-systemd1-session) - Per-user supervisor, phase 2 — session targets, a native session
systemd1with scopes, and verified GNOME, rootless podman/Quadlet and per-app scopes - Landlock TCP rules —
landlock_bind_tcp=/landlock_connect_tcp=: the kernel limits which TCP ports a service may listen on and connect to, with no firewall and no eBPF - Rootless podman + Quadlet on
schema-user—.containerfiles run as supervised user services (boot with lingering — first boot showed the start held about 60 s by thenm-onlinewait, restart on crash, limits verified, LAN ports); specdocs/superpowers/specs/2026-10-27-rootless-podman-quadlet-design.md -
podman execfrom a login shell — podman's ownpodman-<pid>.scoperequest honoured (session shim + rootAttachProcessesToUnit, own processes only); specdocs/superpowers/specs/2026-11-03-podman-exec-scopes-design.md -
schema-userre-adopts running services across its own restart, so containers survive an upgrade —schema-ctl --user reexecswaps the binary in place (the shared PID 1 re-exec), and a package upgrade does it for every running instance - Alpine port —
distros/alpine/beside OpenRC, built on the musl support from the Void musl port - schema-ctl polish —
schema-top(live status over ssh from the shared-memory table, per-service memory and CPU from cgroups), colour inschema-ctl statuson a terminal, andschema-ctl log [-f] <svc>(the dependency graph as text isschema-ctl graph) - schema-import:
SocketBindDeny=all TCP +SocketBindAllow=ports →landlock_bind_tcp=(port 0 kept for ephemeral binds, as systemd does); deny-lists, UDP rules and sets of more than 15 ports are warned, not translated - schema-logind in C (shelved) — rewrite
schema-logind.py(~127 KB of Python) in C asschema-dbuswas. Measured: it would save 0–1 s of boot (logind is often off the critical path) and ~27 MB RSS, and the system still needs Python forschema-systemd1.pyand dnf. Revisit only for a minimal distro target, porting logind andschema-systemd1together - btrfs device scan —
schema-mount-fstabrunsbtrfs device scanbefore mounting a btrfs entry, so a multi-device btrfs mounts when fstab runs alongside coldplug (Artix) - Descriptor store —
fdstore=N: a service hands its sockets and client fds to PID 1 before it stops and gets them back on restart;schema-dbusrestarts without dropping a client -
restart_sec=— a wait between a death and the respawn (systemdRestartSec=) - schema-dbus live config reload — new or changed D-Bus config applies on its own (inotify, debounced), on
SIGHUPand onReloadConfig, with the policy re-dissolved off the event loop and sanity-checked before it goes live;systemctl reload dbusfrom a package scriptlet reloads, never restarts the bus - Full audit (Nov 2026) — stricter
.svcparsing, hardened static-pie builds, the journal sink and control socket made hostile-input safe, logind seat trust,/runand/dev/shmcaps, opt-in hardware watchdog,mem_low=/swap_max=, parallel fsck, parallel udev hotplug workers (v0.4.26) -
exec_reload=/reload_signal=andschema-ctl reload <svc>—systemctl reloadand D-BusReloadUnitreload instead of restarting; importer mapsExecReload=andType=notify-reload -
restart=(systemd's sevenRestart=values),success_exit_status=,restart_prevent_exit_status= -
kill_mode=(control-group / mixed / process),kill_signal=,final_kill_signal=; a runtime stop escalates after its grace -
runtime_dir=/state_dir=/cache_dir=/logs_dir=— created by PID 1 owned by the service user, never through a symlink; runtime ones removed on stop; importer mapsRuntimeDirectory=and friends without usingexec_preslots - Kernel-surface hardening knobs —
protect_kernel_tunables,protect_kernel_modules,protect_control_groups,private_devices,private_network,protect_hostname,restrict_suid_sgid,memory_deny_write_execute,umask - Scheduling —
nice=,io_class=/io_priority=,sched_policy=/sched_priority= -
watch_path=(systemd.pathunits) —exists/exists_glob/dir_not_empty/changed/modifiedon PID 1's inotify fd,make_directory=, trigger limit; importer takes.pathunits -
randomized_delay_sec=and richeron_calendar=(weekday/day lists and ranges, hour/minute steps, up to 4 lines); importer mapsRandomizedDelaySec=,OnActiveSec=, wall-alignedhourly -
supplementary_groups=,dynamic_user=1— allocated uid, private state dirs behind a namespace tmpfs; importer mapsDynamicUser=(earlyoom no longer runs as root) andSupplementaryGroups= -
syscall_filter=(seccomp) — hand-built BPF for a static PID 1 with systemd's named syscall groups, plusrestrict_suid_sgid,lock_personality,restrict_realtime,restrict_namespaces; blocked calls get EPERM -
syscall_deny=— a denylist preset (on the 4.6 engine), opt-in per service — taken out from under the hardening-default switch after it cutmount(2)from every unpinned host.svcon blakbox (11-18)