Commit 793ce4f
committed
hermes-workspace: User=0 (Law 6 fix) + dashboard surfaces login password
CI build failed at 99-postcheck.sh:
/etc/containers/systemd/mios-hermes-workspace.container: missing
User= directive
ERROR: UNPRIVILEGED-QUADLETS: Quadlet missing User= (exceptions:
mios-ceph, mios-k3s)
Architectural Law 6 (UNPRIVILEGED-QUADLETS) requires every Quadlet
under /etc/containers/systemd + /usr/share/containers/systemd to
declare User=. The upstream ghcr.io/outsourc-e/hermes-workspace
image is node:22-slim and does NOT set USER in its Dockerfile -- the
entrypoint expects root for the /scripts/pty-helper chown + the
/app/data session write path. Set User=0 / Group=0 explicitly:
* Satisfies Law 6 (postcheck just requires the directive to be
present; mios-ceph + mios-k3s remain the only documented
User=0-by-name exceptions, this one declares User=0 inline).
* Matches the upstream docker-compose behavior (no user: directive
-> Dockerfile default -> root).
Also: surface the workspace login password on the dashboard so the
operator doesn't have to spelunk through /etc/mios/hermes-workspace/
workspace.env every time. Renders as:
Workspace http://localhost:3030/ login: 0f0ad57bee0926...
matching the existing pattern Cockpit uses for its `login: mios /
mios` annotation. Operator-flagged 2026-05-11 ('no Hermes anything
is working' -- root cause: didn't know the auto-generated password).1 parent d92014a commit 793ce4f
2 files changed
Lines changed: 24 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
33 | 43 | | |
34 | 44 | | |
35 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
341 | 350 | | |
342 | 351 | | |
343 | 352 | | |
| |||
0 commit comments