Skip to content

feat: hub service accounts, data layout, and microinit IPC for bigfred - #17

Merged
keskad merged 2 commits into
mainfrom
feat/hub-service-accounts-and-data-layout
Aug 6, 2026
Merged

feat: hub service accounts, data layout, and microinit IPC for bigfred#17
keskad merged 2 commits into
mainfrom
feat/hub-service-accounts-and-data-layout

Conversation

@keskad

@keskad keskad commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add redis, alloy, bigfred (supplementary dialout), and metrics users via users.table
  • Run hub services under securityContext.runAsUser; keep bigfred-os-ui as root
  • Allow bigfred on the microinit control socket (socketAllowUsers)
  • Move persistent data to /data/var/db/* and /data/var/lib/*
  • Set ownership and permissions in early-boot.sh

Dependencies

Test plan

  • Boot BigFredOS image: services start as non-root users
  • bigfred can write SQLite, microinit drop-ins, and serial devices
  • Admin shutdown from BigFred UI works on hub

Made with Cursor

keskad and others added 2 commits August 5, 2026 22:12
Add dedicated redis/alloy/bigfred/metrics users, run services under
securityContext, allow bigfred on the microinit socket, and move persistent
data under /data/var/db and /data/var/lib.

Co-authored-by: Cursor <cursoragent@cursor.com>
Mount tmpfs on /home/bigfred; nest SQLite under var/db/bigfred/; document
microinit.json vs drop-in ownership; add network dep for VictoriaMetrics
and healthz probe for bigfred-os-ui.

Co-authored-by: Cursor <cursoragent@cursor.com>
@keskad
keskad merged commit 3d3d50b into main Aug 6, 2026
@keskad
keskad deleted the feat/hub-service-accounts-and-data-layout branch August 6, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant