Accept D-100 Container Runner and D-101 serial-console policy
This commit is contained in:
parent
cc8d5cc36d
commit
f55d545240
2 changed files with 90 additions and 0 deletions
|
|
@ -1,5 +1,48 @@
|
|||
# Журнал решений Archipelago
|
||||
|
||||
## D-100 — Purpose Container Runner (Accepted, 2026-11-10)
|
||||
|
||||
Пользователь принял серверный Purpose `server/container-runner`: Podman, Cockpit,
|
||||
штатный Tailscale для mesh-сети и обычный контракт Archipelago (один Purpose на
|
||||
образ, наследование Core, обновления через OSTree). Контракт и проверка пакетов:
|
||||
`purposes/proposals/container-runner.md` и его манифест. Зафиксированные решения:
|
||||
|
||||
- Cockpit включён на 9090 для LAN и tailnet со штатным self-signed сертификатом;
|
||||
без plaintext и без неаутентифицированного доступа.
|
||||
- Tailscale установлен, но выключен; ключи, node identity и аккаунт в образ не
|
||||
запекаются. Оператор сам включает `tailscaled` и выполняет `tailscale up`.
|
||||
- firewalld установлен, но выключен и не содержит правил; открытие портов — задача
|
||||
оператора.
|
||||
- `qemu-user-static` binfmt включён по умолчанию для чужих архитектур.
|
||||
- Хранение остаётся ext4 в текущей раскладке Core; профили ФС и разметка
|
||||
установленного диска отложены, btrfs — будущий опциональный профиль.
|
||||
- Канал обновлений — `stable/container`; обновления по той же каденции и принципам,
|
||||
что и остальные редакции.
|
||||
- Сценарии приёмки для редакции не реализуются. Отдельная внеконвейерная сборка
|
||||
делает ISO и ref в OSTree из уже собранного Core цикла; отсутствие приёмки должно
|
||||
оставаться явно указанным в записи о выпуске.
|
||||
- Страницу обновлений Cockpit делает плагин Archipelago поверх D-Bus
|
||||
`org.archipelago.System1`, без PackageKit (D-095). Первая версия авторизуется
|
||||
через админ-эскалацию Cockpit; per-user polkit — открытый вопрос.
|
||||
- Набор плагинов Cockpit ограничен тем, что есть в снапшоте (podman, machines,
|
||||
storaged, files); network/PCP-плагины в Arch не упакованы и не обещаются.
|
||||
|
||||
## D-101 — Отключение ttyS0-юнитов на провизионенных установленных системах (Accepted, 2026-11-10)
|
||||
|
||||
Пользователь сообщил, что установленные хосты без serial-порта постоянно пишут
|
||||
ошибки от юнитов ttyS0. Все редакции должны по умолчанию отключать и маскировать
|
||||
`serial-getty@ttyS0.service`, `getty@ttyS0.service` и
|
||||
`archipelago-firstboot@ttyS0.service` после provisioning, и изменение должно
|
||||
доходить до уже развёрнутых систем штатным обновлением.
|
||||
|
||||
Реализация: Core поставляет `archipelago-serial-off.service` (условия
|
||||
`/run/ostree-booted`, отсутствие `/run/archipelago-live`, наличие
|
||||
`/etc/archipelago/provisioned`) и drop-in `multi-user.target.d`, который его
|
||||
запускает. Drop-in лежит в `/usr/lib`, поэтому OSTree-обновление активирует его на
|
||||
существующих хостах без нового прогона preset'ов. Live ISO сохраняет serial-консоль.
|
||||
Новые образы больше не включают ttyS0-юниты. Оператор с реальным serial-портом может
|
||||
снять маску. Это дефолт дистрибутива, а не граница безопасности.
|
||||
|
||||
## D-099 — Toolbx по умолчанию использует upstream `arch-toolbox:latest` (Accepted, 2026-11-10)
|
||||
|
||||
Пользователь указал назначить образом Toolbx по умолчанию upstream
|
||||
|
|
|
|||
|
|
@ -1,5 +1,50 @@
|
|||
# Archipelago Decision Log
|
||||
|
||||
## D-100 — Container Runner Purpose (Accepted, 2026-11-10)
|
||||
|
||||
The user accepted a server Purpose `server/container-runner`: Podman, a browser
|
||||
management surface (Cockpit), stock Tailscale for mesh networking, and the normal
|
||||
Archipelago contract (one Purpose per image, Core inheritance, OSTree updates).
|
||||
Contract and package evidence: `purposes/proposals/container-runner.md` and its
|
||||
manifest. Explicit decisions recorded with the acceptance:
|
||||
|
||||
- Cockpit is enabled on 9090 for LAN and tailnet with its stock self-signed
|
||||
certificate; no plaintext and no unauthenticated access.
|
||||
- Tailscale is installed but disabled. No auth key, node identity or account is baked
|
||||
into the image; the operator enables `tailscaled` and runs `tailscale up` manually.
|
||||
- firewalld is installed but disabled and ships no rules; opening ports is the
|
||||
operator's responsibility.
|
||||
- `qemu-user-static` binfmt registration ships by default for foreign-architecture
|
||||
images.
|
||||
- Storage stays ext4 with the current Core layout. Filesystem profiles and installed
|
||||
disk layout are explicitly deferred; btrfs remains a future optional profile.
|
||||
- The update channel is `stable/container`; updates follow the same cadence and
|
||||
publication principles as the other editions.
|
||||
- No acceptance scenarios are required for this edition. A separate, non-pipeline
|
||||
build produces the ISO and the OSTree ref from the already-built Core of the cycle;
|
||||
the absence of acceptance evidence must remain visible in the release record.
|
||||
- Cockpit's updates page is provided by an Archipelago Cockpit plugin over the
|
||||
`org.archipelago.System1` D-Bus API, not by PackageKit (D-095). First version
|
||||
authorizes through Cockpit's admin escalation; per-user polkit refinement is open.
|
||||
- The Cockpit plugin set is limited to what the snapshot packages (podman, machines,
|
||||
storaged, files); network/PCP plugins are not packaged on Arch and are not promised.
|
||||
|
||||
## D-101 — Disable ttyS0 units on provisioned installed systems (Accepted, 2026-11-10)
|
||||
|
||||
The user reported that installed hosts without a serial port continuously log errors
|
||||
from ttyS0-related units. All editions must, by default, disable and mask
|
||||
`serial-getty@ttyS0.service`, `getty@ttyS0.service` and
|
||||
`archipelago-firstboot@ttyS0.service` after provisioning, and the change must reach
|
||||
already-deployed systems through the normal update path.
|
||||
|
||||
Implementation: Core ships `archipelago-serial-off.service` (conditioned on
|
||||
`/run/ostree-booted`, absence of `/run/archipelago-live`, and the presence of
|
||||
`/etc/archipelago/provisioned`) and a `multi-user.target.d` drop-in that wants it.
|
||||
Because the drop-in lives in `/usr/lib`, an OSTree update activates it on existing
|
||||
hosts; no new preset run is required. The live ISO keeps its serial console. New
|
||||
images also stop enabling the ttyS0 units. An operator with a real serial console can
|
||||
remove the mask. This is a distribution default, not a security boundary.
|
||||
|
||||
## D-099 — Toolbx default is the upstream `arch-toolbox:latest` (Accepted, 2026-11-10)
|
||||
|
||||
The user directed that the Toolbx default image be the upstream
|
||||
|
|
@ -409,6 +454,8 @@ on 2026-11-04. Implementation and the explicitly open details remain pending.
|
|||
| D-084 | Stop the yabloko candidate pipeline and move building to root@tall-bridge; installing necessary tools there is authorized. Transfer artifacts directly to terra for storage, signing and publication. Rename the signing profile to archipelago-stable while retaining the existing fingerprint and installed-client trust. Explicit user direction, 2026-11-06. | Accepted |
|
||||
| D-085 | Complete the operational cycle through publication of assembled OSTree layers and new ISOs on terra, and enable daily execution at the previously agreed 00:00 UTC / 03:00 MSK. The pipeline must own progression, durable status and failure reporting without requiring repeated operator/LLM prompts. Explicit execution request, 2026-11-06. This does not extend D-079 to new identities or certify outstanding stable/testing admission gates; experimental hardware-test publication must retain its actual scope. | Accepted |
|
||||
| D-086 | Return all builds and VM acceptance, including Flatpak application preparation/downloads, to yabloko. Retain a persistent Flatpak repository cache and attempt updates each build. Simplify the pipeline and make its stages, logs and operation understandable to a human. The final instruction cancels the proposed tall-bridge download relay and supersedes D-084's worker placement; terra retains artifact storage, signing and publication. Explicit user direction, 2026-11-06. Existing release gates remain unchanged. | Accepted |
|
||||
| D-101 | Disable and mask ttyS0 getty/firstboot units on provisioned installed systems in all editions, and roll the policy out through a Core-owned systemd drop-in so existing deployments receive it on update; the live ISO keeps its serial console and the operator may unmask. Explicit user direction, 2026-11-10. | Accepted |
|
||||
| D-100 | Accept the Container Runner server Purpose (Podman, Cockpit, stock Tailscale, binfmt) with Cockpit on LAN+tailnet and self-signed TLS, Tailscale and firewalld installed but disabled with no baked keys or rules, ext4 storage with filesystem profiles deferred, `stable/container` channel, same cadence/publication principles, no acceptance scenarios, and a Cockpit updates plugin over archipelagod D-Bus instead of PackageKit. Explicit user direction, 2026-11-10. | Accepted |
|
||||
| D-099 | Set the Toolbx default to the upstream `quay.io/toolbx/arch-toolbox:latest` reference and withdraw the synthetic `archipelago-pinned` digest remap, because stock Toolbx rejected the alias on hardware while the plain reference works. Existing containers are not rewritten; D-076's Toolbx/rootless-Podman requirement remains. Explicit user direction, 2026-11-10. | Accepted |
|
||||
| D-098 | Replace installed-VM acceptance in the normal cycle with `cargo test --workspace` plus portal contract checks, and delegate firmware/Wi-Fi/GPU/GUI scenarios to explicit user manual verification. Publish OSTree refs on an anchored three-day interval (anchor 2026-11-09 00:00 UTC) and ISO media on calendar day 30 at 00:00 UTC. Remove waiver/`--existing`/`--core-build` reuse paths; admission requires frozen-source Rust evidence while signatures, identity and provenance checks stay. Keep only the current public OSTree commit per ref and prune intermediate history; retain three ISO media per variant, each embedding its own repository; compact private archives to evidence and exclude package snapshots/cache. Seeded by three harness-induced VM failures, the unprovable hardware remainder and OSTree-based updates; supersedes schedule/mandatory-VM parts of D-090/D-087/D-085. Explicit user direction, 2026-11-09. See spec/release-cadence-and-testing.md. | Accepted |
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue