diff --git a/ru/spec/decision-log.md b/ru/spec/decision-log.md index 496bd4a..0084194 100644 --- a/ru/spec/decision-log.md +++ b/ru/spec/decision-log.md @@ -27,6 +27,28 @@ - Набор плагинов Cockpit ограничен тем, что есть в снапшоте (podman, machines, storaged, files); network/PCP-плагины в Arch не упакованы и не обещаются. +## D-104 — kmscon на tty1 с провизионингом на консоли (Accepted, 2026-11-10) + +Пользователь попросил включить kmscon на tty1 в Core и Container Runner и перенести +первичную настройку на эту консоль. GNOME/KDE оставляют display manager на tty1; +kmscon на tty2+ остаётся через пакетный алиас `autovt@`. + +Реализация: + +- Пакетный `/usr/bin/archipelago-console-login` — login-программа для kmscon (и + fallback agetty). На установленной, ещё не провизионенной не-desktop системе она + запускает `archipelago-keyring.service` и `archipelago firstboot` на этом + терминале, затем `exec /bin/login -p`. Live ISO (`/run/archipelago-live`) и + GNOME/KDE (`gnome-firstboot`/`kde-firstboot`) пропускают onboarding. +- `kmscon.conf` выбирает эту обёртку через `login=`. +- Core и Container Runner включают `kmsconvt@tty1`, отключая + `getty@tty1`/`archipelago-firstboot@tty1`; GNOME/KDE отключают tty1-инстанс + kmscon, оставляя tty2+; live ISO включает kmscon на tty1. +- Пакетный fallback `OnFailure=getty@%i` вызывает ту же обёртку, поэтому при сбое + kmscon (нет KMS) провизионинг и обычный login всё равно доступны. +- Ручная проверка отрисовки kmscon/провизионинга и переключения VT с GDM/SDDM + остаётся за пользователем; автоматическая приёмка не заявляется. + ## D-103 — Безопасная синхронизация ESP и ограниченный retention (Accepted, 2026-11-10) KDE-хост не загрузился после обновления: ESP на 1 GiB была заполнена, `boot-sync` diff --git a/spec/decision-log.md b/spec/decision-log.md index 84539aa..d337f37 100644 --- a/spec/decision-log.md +++ b/spec/decision-log.md @@ -29,6 +29,28 @@ manifest. Explicit decisions recorded with the acceptance: - 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-104 — kmscon on tty1 with console provisioning (Accepted, 2026-11-10) + +The user requested kmscon on tty1 for Core and Container Runner, with first-boot +provisioning moved onto that console. GNOME/KDE keep their display manager on tty1; +kmscon remains available on tty2+ through the packaged `autovt@` alias. + +Implementation: + +- A packaged `/usr/bin/archipelago-console-login` is the kmscon (and fallback agetty) + login program. On an installed, unprovisioned, non-desktop system it starts + `archipelago-keyring.service` and runs `archipelago firstboot` on that terminal, + then `exec /bin/login -p`. The live ISO (`/run/archipelago-live`) and GNOME/KDE + (`gnome-firstboot`/`kde-firstboot`) skip onboarding and go straight to login. +- `kmscon.conf` selects that wrapper via `login=`. +- Core and Container Runner enable `kmsconvt@tty1` and disable + `getty@tty1`/`archipelago-firstboot@tty1`; GNOME/KDE disable the tty1 kmscon + instance but keep tty2+; the live ISO enables kmscon on tty1. +- The packaged `OnFailure=getty@%i` fallback now invokes the same wrapper, so a + kmscon failure (no KMS) still offers provisioning followed by a normal login. +- Manual hardware verification of kmscon rendering/provisioning and GDM/SDDM VT + switching is still required; no automated acceptance is claimed. + ## D-103 — Safe ESP synchronization and bounded deployment retention (Accepted, 2026-11-10) A KDE host failed to boot after an update: the 1 GiB ESP was full, `boot-sync` @@ -526,6 +548,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-104 | Run kmscon on tty1 for Core and Container Runner and put first-boot provisioning on that console through `/usr/bin/archipelago-console-login`; desktops keep the DM on tty1 and kmscon on tty2+, the live ISO uses kmscon on tty1, and the getty fallback uses the same wrapper. 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 |