tools: register the updater in the normal command path (#24)

Use /usr/local/bin for container updater discovery and print an absolute command path for custom shells. Preserve managed links and operator files; cover shell lookup without sbin.

Closes #23
This commit was merged in pull request #24.
This commit is contained in:
2026-11-15 15:10:56 +01:00
parent 43caf1e412
commit f45e065994
8 changed files with 52 additions and 7 deletions
+1
View File
@@ -17,5 +17,6 @@
- [2026-11-15] Compare copied/archived license bytes with source bytes. `read_text()` normalizes Windows CRLF while ZIP reads retain it; explicit LF/CRLF fixtures cover both checkouts.
- [2026-11-15] Do not assume a bundled proxy or host-driven updates for LXC deployments. Use the operator's existing proxy and an in-container updater; preserve the public Host/Origin when the private backend uses HTTP.
- [2026-11-15] A build-owned source/output cannot supply code later executed as root. Capture updater bytes from the verified archive before build handoff and atomically install them in the root-owned release, excluding build-supplied updater files.
- [2026-11-15] Container shells can omit `/usr/local/sbin`. Register the updater in `/usr/local/bin`, print an absolute-path fallback, and test real shell lookup with sbin excluded.
## Archive
+2 -2
View File
@@ -2,7 +2,7 @@
> Always-loaded. Everything else is on-demand. Update TOC when files change.
## Current Focus
- [2026-11-15] Validate live Linux/LXC and official provider login. 1.2.1 corrects deployment to use the existing HTTPS proxy and updates inside the CT.
- [2026-11-15] User report confirms Debian 13 NativeAOT server publish and legacy proxy disable. 1.2.2 fixes updater discovery; external proxy and official provider flows still need live verification.
## Invariants
- Provider access/refresh tokens, API keys and cookies stay with the CLIs; only a pending login's authorization response may be relayed transiently (D2, D14).
@@ -11,5 +11,5 @@
- Desktop/Stream Deck retain `snapshot.json` (D9); the optional authenticated server/worker transport is separate (D14).
## Table of Contents
- `gotchas.md` — 12 entries — CLI login, in-container updater trust boundaries, publication checks and Avalonia tooltips.
- `gotchas.md` — 13 entries — CLI login, updater trust/PATH boundaries, publication checks and Avalonia tooltips.
- `architecture.md` — 7 entries — Fleet analysis, attribution, migration, authentication, durability, Proxmox and publication.