daemon: split owner daemon from root helper
Move the supported systemd path to two services: an owner-user bangerd for orchestration and a narrow root helper for bridge/tap, NAT/resolver, dm/loop, and Firecracker ownership. This removes repeated sudo from daily vm and image flows without leaving the general daemon running as root. Add install metadata, system install/status/restart/uninstall commands, and a system-owned runtime layout. Keep user SSH/config material in the owner home, lock file_sync to the owner home, and move daemon known_hosts handling out of the old root-owned control path. Route privileged lifecycle steps through typed privilegedOps calls, harden the two systemd units, and rewrite smoke plus docs around the supported service model. Verified with make build, make test, make lint, and make smoke on the supported systemd host path.
This commit is contained in:
parent
3edd7c6de7
commit
59e48e830b
53 changed files with 3239 additions and 726 deletions
|
|
@ -4,6 +4,15 @@
|
|||
rest: scripting, arbitrary images, custom rootfs stacks, long-lived
|
||||
guest processes.
|
||||
|
||||
Host-side assumption for everything below: the supported runtime model
|
||||
is still the two-service `systemd` install:
|
||||
|
||||
- `bangerd.service` running as the owner user
|
||||
- `bangerd-root.service` running as the privileged host helper
|
||||
|
||||
These advanced flows widen what you do with banger, not which host
|
||||
init systems or privilege model are supported.
|
||||
|
||||
## `vm create` — the low-level primitive
|
||||
|
||||
Use when you want to provision without starting, or when you need to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue