REA systemd-nspawn notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

systemd-nspawn trees record lightweight-container machine identity (.nspawn drop-ins, bind mounts, network settings). In REA 6.7.x, treat selected machine/bind/network labels as Evidence beside archive/package routes — complementing Quadlet/Dockerfile cousins without inventing APIs.

Mental model

  1. Authorize the nspawn tree (+ packaged configs you hold).
  2. Quote selected MachineName / Bind / NetworkBridge / PrivateUsers labels you actually see (never paste secrets).
  3. Cousins → podman-quadlet · dockerfile · containerignore.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_systemd_nspawn API REA never called.

Minimal path

# authorized .nspawn / nspawn unit tree (+ artifact you hold)
# quote selected MachineName / Bind / Network labels into case notes
# cousins → peer Quadlet / Dockerfile / .containerignore lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_systemd_nspawn .

Compare

ArtifactHonest posture
systemd-nspawn (.nspawn)Machine / bind / network identity facts
Peerrea-podman-quadlet
Peerrea-dockerfile
Not thisBinBench systemd-nspawn-tips (binary tip page on githubrea)
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote MachineName, selected Bind= path patterns, and network key names — enough for most Evidence binders.
  • Bind mounts and credential files often embed secrets — record key names / path patterns only.
  • Keep .nspawn distinct from Podman Quadlet / Dockerfile in case notes.
  • Ephemeral vs persistent machine settings are identity Evidence — label them separately from cousin pages.
  • Select keys are useful inventory — quote them without inventing REA helpers for machinectl start.

Scope we will not cover

  • No inventing inspect_systemd_nspawn / automatic attacks against foreign nspawn hosts.
  • No credential theft from bind mounts, machine credentials, or remote URIs.
  • No pirate redistribution of proprietary nspawn trees.
  • No crack framing via nspawn pins.
  • No cookbooks that weaken remote auth on foreign container hosts.

Honest limits

RepoRead documents config literacy — how authorized nspawn trees relate to Evidence — not a full systemd-nspawn course. Prefer upstream systemd docs for machines and networking. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-podman-quadlet / rea-dockerfile / rea-containerignore?

rea-podman-quadlet covers Podman Quadlet units. rea-dockerfile covers Dockerfiles. rea-containerignore covers ignore files. This page zooms on systemd-nspawn .nspawn / machine identity — it does not overwrite those pages.

Is there inspect_systemd_nspawn in 6.7.0?

Not assumed. Quote machine/bind/network labels you actually open, then use documented package/archive lanes. Do not invent inspect_systemd_nspawn.

Does REA SSH into nspawn hosts or steal machine credentials?

No. Local trees only. Redact bind paths with secrets, registry tokens, and remote URIs; do not treat REA as an nspawn runner. No credential theft.

How should I label Evidence vs other container configs?

Label Evidence by the file present. Keep .nspawn trees separate from rea-podman-quadlet and rea-dockerfile.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources