Clarify D-103 rollback retention flags

This commit is contained in:
Pavel Isaev 2026-11-10 19:42:57 +03:00
parent 4346367f7f
commit 09f90fde82
2 changed files with 10 additions and 6 deletions

View file

@ -50,8 +50,10 @@ OSTree — ни то, ни другое сейчас не принято.
- **Раскладка:** два раздела — FAT32 ESP **2 GiB** на `/efi` и ext4 root, где
`/boot` лежит на корневой ФС. systemd-boot и его entries/ядра — на ESP;
установщик выполняет первичное заполнение ESP после deploy.
- **Retention:** убрать `--retain`; штатное поведение OSTree (booted, previous,
pending, pinned) соответствует D-046. После успешного staging — best-effort
- **Retention:** заменить голый `--retain` (он хранил все старые deployment) на
`--retain-rollback --retain-pending`. Штатный deploy сохраняет только booted и
новый deployment и удалил бы rollback; явные флаги нужны для D-046: booted,
previous rollback, pending, pinned. После успешного staging — best-effort
`ostree admin cleanup`.
- **Безопасный sync:** `boot-sync` удаляет копии ESP, которых нет в
`/boot/ostree`, проверяет свободное место, копирует неполные каталоги через

View file

@ -52,9 +52,11 @@ The corrected decision:
- **Storage layout:** keep two partitions: a **2 GiB** FAT32 ESP mounted at `/efi`
and an ext4 root with `/boot` on the root filesystem. systemd-boot and its
entries/kernels live on the ESP; the initial installer seeds the ESP after deploy.
- **Retention:** stop passing `--retain` to `ostree admin deploy`; OSTree's default
retention (booted, previous rollback, pending and explicitly pinned) matches D-046.
A best-effort `ostree admin cleanup` runs after a successful stage.
- **Retention:** replace bare `--retain` (which kept every old deployment) with
`--retain-rollback --retain-pending`. Default OSTree deploy keeps only booted and
the new deployment and would drop the rollback, so the explicit flags are required
to match D-046: booted, previous rollback, pending and explicitly pinned. A
best-effort `ostree admin cleanup` runs after a successful stage.
- **Safe sync:** `boot-sync` prunes ESP copies not present in `/boot/ostree`, checks
free space before writing, copies incomplete directories through a temporary name
and verifies them, and copies loader entries only after every referenced
@ -524,7 +526,7 @@ 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-103 | Fix the unbootable-update incident: keep a 2 GiB FAT32 ESP at /efi and /boot on ext4 root, run cleanup and drop `--retain` so retention is booted/previous/pending/pinned, seed the ESP at install and make boot-sync space-checked, pruned and entry-last. Reject the proposed ext4 XBOOTLDR because stock systemd-boot reads only firmware filesystems and stock OSTree needs a POSIX /boot; a pure ESP with systemd-boot is not possible. Amends D-065. Explicit user direction, 2026-11-10. | Accepted |
| D-103 | Fix the unbootable-update incident: keep a 2 GiB FAT32 ESP at /efi and /boot on ext4 root, use `--retain-rollback --retain-pending` instead of bare `--retain` so retention is booted/previous/pending/pinned, seed the ESP at install and make boot-sync space-checked, pruned and entry-last. Reject the proposed ext4 XBOOTLDR because stock systemd-boot reads only firmware filesystems and stock OSTree needs a POSIX /boot; a pure ESP with systemd-boot is not possible. Amends D-065. Explicit user direction, 2026-11-10. | Accepted |
| D-102 | Ship kmscon 10.1 with the Terminus PSF font on all editions and the live ISO. Installed systems use kmscon for logind VTs (tty2+) via the packaged autovt alias, keeping tty1 for firstboot or the display manager and keeping getty as OnFailure fallback; the ISO uses kmscon on tty1. No mesa dependency. Growth +17.6 MiB installed on Core/Container Runner/ISO and +4.8 MiB on desktops. Explicit user direction, 2026-11-10. | 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 |