Sign in Sign up
cargo

appliance-pid1

The PID-1 duties every distroless nordisk appliance payload owes the kernel, in ONE place: reap orphaned children forever, and idle on a signal instead of a shell. A process that is PID 1 inherits every orphan on the system and is the only process that can reap them; a PID 1 that only `pause()`s accumulates zombies for the life of the appliance and can never notice a child it started has died. `reap_once` is the testable unit (it reports WHAT happened rather than looping), `idle_and_reap` is the never-returning duty a payload's `main` ends with. libc only by default; the features `net` (netlink, no ip(8)), `dhcp` (DHCPv4 + renewal + resolv.conf) and `runtime` (tokio: signals, the SIGCHLD reaper, the lease kept alive) bring the network an OS-less PID 1 must bring up itself.

cargo View on Cargo

Activity

Latest release
5d ago
Total releases
4
Cadence
~13 days
Last 12 months
4

Reach

Downloads
0

Details

License
MIT OR Apache-2.0
First release
Sep 12, 2026
Releases
Version Released
0.1.8 patch
0.1.7 patch
0.1.2 patch
0.1.0 initial