sector-f-linux

Sector F Linux
git clone https://git.sectorflabs.com/sector-f-linux.git
Log | Files | Refs | README | LICENSE

commit 34289f36b46ed2931daf74f6f5b76c9fbdefcaa1
parent 1cab7664d492170f27292cd660e5f6d072ed9d4c
Author: Divan Visagie <me@divanv.com>
Date:   Fri, 20 Nov 2026 21:09:44 +0100

Docs: ADR-0009 (SeFLOS, a Fedora bootc image on Btrfs) supersedes ADR-0001, 0006, 0007 and 0008

ADR-0009 records the move to Fedora 45's bootc image on Btrfs, the name SeFLOS, and what was found on the way: the splitstream and Docker layer-type failures on the Ubuntu base, rpm-ostree upgrade instead of bootc upgrade once a package is layered, the OCI re-push, and the /boot automount that drops staged updates. It also lists what is not verified yet.

The README and linux/vm/README.md describe the Fedora design, make upgrade and rollback use rpm-ostree, and comparison.md says it was superseded.

Diffstat:
MMakefile | 6+++---
MREADME.md | 28++++++++++++++++++----------
Mdocs/adr/0001-bootc-image-with-zfs-for-data.md | 4+++-
Mdocs/adr/0006-updates-are-zfs-streams-of-boot-environments.md | 4+++-
Mdocs/adr/0007-ubuntu-without-snaps-on-a-zfs-root.md | 4+++-
Mdocs/adr/0008-install-by-receiving-the-system-as-a-zfs-stream.md | 4+++-
Adocs/adr/0009-seflos-a-fedora-bootc-image-on-btrfs.md | 89+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mdocs/comparison.md | 2++
Mlinux/vm/README.md | 95+++++++++++++++++++++++++++++++++++++++++--------------------------------------
9 files changed, 173 insertions(+), 63 deletions(-)

diff --git a/Makefile b/Makefile @@ -45,11 +45,11 @@ screenshot: ## Save the VM's screen to linux/out/screen.png log: ## Follow the VM's serial console $(VM) log -upgrade: ## In the running VM: fetch the latest build from the registry and stage it - $(VM) ssh bootc upgrade +upgrade: ## In the running VM: fetch the latest build from the registry and stage it (rpm-ostree: bootc refuses once a package is layered; ADR-0009) + $(VM) ssh rpm-ostree upgrade rollback: ## In the running VM: boot the previous build at the next reboot - $(VM) ssh bootc rollback + $(VM) ssh rpm-ostree rollback clean: ## Stop the VM and delete linux/out/ linux/vm/clean.sh diff --git a/README.md b/README.md @@ -1,21 +1,29 @@ -# Patina OS +# SeFLOS -Ubuntu with the Patina desktop: no snaps, the root and every user's home on ZFS, and a snapshot before every apt run, so a bad upgrade is undone by booting the snapshot (ADR-0007). One OS for the laptop and the workstation, with Ubuntu's hardware support (CUDA included) and Debian's packages. +SeFLOS (Sector F Labs Operating System) is Fedora's bootc image with the Patina desktop, on Btrfs: the system is built once from a Containerfile, shipped whole as an image, updated by moving to the next one and rolled back by booting the previous one (ADR-0009). One OS for the laptop and the workstation, with Fedora's current kernel and packages. It was called Patina OS until that name turned out to be taken; the desktop is still Patina, and the repository, image and volume names still say `patina-os` until a rename pass. -It started as an experiment to find which base makes the least complicated image-based OS for the Patina desktop, one updated whole and kept apart from the user's software. Two bases were tried, and are kept as the record: +It started as an experiment to find which base makes the least complicated image-based OS for the Patina desktop, kept apart from the user's software. Three bases were tried, and the first two are kept as the record: - [**freebsd/**](freebsd/): FreeBSD 15.1 on ZFS, where the system is a boot environment and `/home` a dataset out of the box; updates, rollback and shipping a build are `bectl` and ZFS streams ([freebsd/README.md](freebsd/README.md)). The simplest system, held back by laptop hardware. -- [**linux/**](linux/): Ubuntu 26.04 as a bootc image, with `/home` on a ZFS pool ([linux/vm/README.md](linux/vm/README.md)). It worked, on a young, community-held base, and is ruled out (ADR-0006). +- Ubuntu 26.04: first as a bootc image with `/home` on ZFS (ADR-0001), then as plain Ubuntu on a ZFS root (ADR-0007). The bootc image's upgrades failed on a young, community-held base (ADR-0006, ADR-0009). +- [**linux/**](linux/): Fedora 45's bootc image on Btrfs ([linux/vm/README.md](linux/vm/README.md)), which is what this is now. Dropping ZFS removed the reason Fedora had been ruled out: its kernels outrunning OpenZFS. -Built boot environments shipped as ZFS streams (ADR-0006) stay a possible later stage: the pool and boot loader are the same. [docs/comparison.md](docs/comparison.md) compares the options on keeping user and system software apart, safe upgrades, turning updates off, ZFS, laptops and commercialisation. +[docs/comparison.md](docs/comparison.md) compares the earlier options on keeping user and system software apart, safe upgrades, turning updates off, ZFS, laptops and commercialisation. -Installing takes the whole disk: the system is built once and received as a ZFS stream into a pool made on the machine, from a USB stick that boots Patina OS itself (ADR-0008). +``` +make help the targets +make build build the desktop and the image, push it to the local registry +make disk install the image onto a fresh disk file for the test VM +make run boot the VM (installs the image first if there is no disk) +make upgrade in the VM: stage the latest build, then reboot it to apply +``` See [docs/adr](docs/adr) for decisions and [docs/notes.md](docs/notes.md) for the research and open questions behind them. ## Principles -- **The system can always go back.** The root is on ZFS and every apt run is snapshotted first; a broken upgrade is undone by booting the snapshot. Each user's home is its own dataset, untouched by any rollback. -- **Stock Ubuntu, no snaps.** Debian packages from Ubuntu's LTS archive, so there's no distro to maintain: the base provides the packages, we choose and arrange them. snapd is pinned out. -- **An app can be a folder.** `~/Apps/Name.app`, with an `app.toml` saying how to run it: copy it in to install, delete it to uninstall, never touch the system. It brings everything but a small, versioned platform the system guarantees (the C library, Wayland, the GPU's drivers), so system updates never break it (ADR-0002, ADR-0005). The simplest way, beside apt and Flatpak. -- **Opinionated.** One desktop (Patina), one way to keep data (ZFS). +- **The system can always go back.** An update is a new image, staged beside the running one and booted at the next restart, with the previous one kept for rollback (`rpm-ostree rollback`). `/usr` is read-only. +- **Stock Fedora, nothing to maintain.** The base provides the kernel and the packages; we choose and arrange them in a Containerfile. Hardware drivers and services go in the image. +- **What users add stays out of the way.** Layered packages (`rpm-ostree install`) survive updates, apps can be Flatpaks or containers, and `~/Apps/Name.app` is a folder with an `app.toml` saying how to run it: copy it in to install, delete it to uninstall, never touch the system (ADR-0002, ADR-0005). +- **Update with `rpm-ostree upgrade`.** `bootc upgrade` refuses once a package is layered; rpm-ostree upgrades the image and keeps the layer. +- **Opinionated.** One desktop (Patina), one filesystem (Btrfs). diff --git a/docs/adr/0001-bootc-image-with-zfs-for-data.md b/docs/adr/0001-bootc-image-with-zfs-for-data.md @@ -4,7 +4,9 @@ Date: 2026-10-15 ## Status -Superseded by ADR-0006 (bootc ruled out) and ADR-0007 (Ubuntu updated with apt on a ZFS root). +Superseded by [ADR-0009](0009-seflos-a-fedora-bootc-image-on-btrfs.md): a bootc image for the system is back, on Fedora and Btrfs, with no ZFS. + +Before that: Superseded by ADR-0006 (bootc ruled out) and ADR-0007 (Ubuntu updated with apt on a ZFS root). ## Context diff --git a/docs/adr/0006-updates-are-zfs-streams-of-boot-environments.md b/docs/adr/0006-updates-are-zfs-streams-of-boot-environments.md @@ -4,7 +4,9 @@ Date: 2026-10-22 ## Status -Deferred by ADR-0007: Patina OS is Ubuntu updated with apt on a ZFS root for now. Built boot environments stay a possible later stage. Its ruling-out of bootc stands. +Superseded by [ADR-0009](0009-seflos-a-fedora-bootc-image-on-btrfs.md): bootc is the update mechanism after all, on Fedora and Btrfs, and boot environments shipped as ZFS streams are no longer planned. The FreeBSD base stays as the record. + +Before that: Deferred by ADR-0007: Patina OS is Ubuntu updated with apt on a ZFS root for now. Built boot environments stay a possible later stage. Its ruling-out of bootc stands. ## Context diff --git a/docs/adr/0007-ubuntu-without-snaps-on-a-zfs-root.md b/docs/adr/0007-ubuntu-without-snaps-on-a-zfs-root.md @@ -4,7 +4,9 @@ Date: 2026-10-22 ## Status -Accepted. Defers ADR-0006 to a later stage; supersedes ADR-0001. +Superseded by [ADR-0009](0009-seflos-a-fedora-bootc-image-on-btrfs.md): the system is a Fedora bootc image on Btrfs, updated as an image. + +Before that: Accepted. Defers ADR-0006 to a later stage; supersedes ADR-0001. ## Context diff --git a/docs/adr/0008-install-by-receiving-the-system-as-a-zfs-stream.md b/docs/adr/0008-install-by-receiving-the-system-as-a-zfs-stream.md @@ -4,7 +4,9 @@ Date: 2026-10-22 ## Status -Proposed +Superseded by [ADR-0009](0009-seflos-a-fedora-bootc-image-on-btrfs.md): with no ZFS, the install is `bootc install to-disk` onto Btrfs. An installer image for other people is still to do. + +Before that: Proposed ## Context diff --git a/docs/adr/0009-seflos-a-fedora-bootc-image-on-btrfs.md b/docs/adr/0009-seflos-a-fedora-bootc-image-on-btrfs.md @@ -0,0 +1,89 @@ +# 0009. SeFLOS: a Fedora bootc image on Btrfs + +Date: 2026-11-20 + +## Status + +Accepted. The user chose Fedora and Btrfs after the Ubuntu bootc image's upgrades kept failing. +Supersedes [ADR-0006](0006-updates-are-zfs-streams-of-boot-environments.md) (bootc ruled out), +[ADR-0007](0007-ubuntu-without-snaps-on-a-zfs-root.md) (Ubuntu on a ZFS root, updated with apt), +[ADR-0008](0008-install-by-receiving-the-system-as-a-zfs-stream.md) (install by receiving a ZFS +stream) and what [ADR-0001](0001-bootc-image-with-zfs-for-data.md) chose for the base (Ubuntu) and +for the data (ZFS). The OS is renamed from Patina OS to SeFLOS; the Patina desktop keeps its name. + +## Context + +ADR-0007 gave up on bootc because Ubuntu's bootc support is young and community-held, and settled on +plain Ubuntu on a ZFS root. The wish for a system that is built once, shipped whole and rolled back +stayed, and the Ubuntu bootc image kept costing more than the base offered. On 2026-11-20, trying to +update the Ubuntu bootc VM: + +- `bootc upgrade` and a switch from podman's own storage both failed with `Invalid splitstream + content type` once a large layer had changed (the bug ADR-0006 recorded as open). A search found + composefs-rs issue 452, which blames "the wrong podman image format", and bootc issue 1703 + (composefs and Docker v2s2 images), both open. I did not find a fix. +- Installing with the older ostree backend instead failed outright: `Creating ostree deployment: + No such file or directory`. The Ubuntu base is made for the composefs backend only. + +ADR-0006 ruled out Fedora because its kernels outrun OpenZFS, and ZFS cannot be a bootc root (the +composefs backend wants fs-verity, which ZFS lacks). Both objections go away without ZFS: Btrfs is in +the mainline kernel, so a new Fedora kernel needs nothing to catch up, and it supports fs-verity. + +"Patina OS" is also the name of an existing distribution (Debian 13 with KDE Plasma, GPL-3.0, by the +`patina-os` GitHub organisation), so the name had to change. + +## Decision + +- **The base is `quay.io/fedora/fedora-bootc:45`**, pinned by digest, which brings its own bootc and + kernel. None of the Ubuntu workarounds (bootc built from source, a newer kernel, dpkg's state) + remain. +- **The system is installed onto Btrfs**: `bootc install to-disk --filesystem btrfs`. `/home` is on + the same filesystem for now; its own subvolume, snapshots (snapper or btrbk) and zstd compression + for `~/Src` come later. ZFS is dropped, and so is its pool for `/home`. +- **The desktop is patina-desktop's own bundle**: `desktop/build.sh` runs that repository's + `packaging/deb/build.py --stage` in a Fedora 45 container (rustup's Rust, pinned) and copies the + tree into the image. The libraries and programs it needs come from dnf. +- **The base carries what nifl runs**: Bluetooth, power profiles, bolt, fwupd, thermald, CUPS, + fprintd, Tailscale, OpenVPN, Avahi, ModemManager, QEMU and fastfetch, with the Yaru icons, and + `nvme.noacpi=1` as a kernel argument. Its drivers are all in the kernel. +- **Updates are `rpm-ostree upgrade`, not `bootc upgrade`.** A user can layer packages with + `rpm-ostree install`; bootc then refuses to upgrade (`Deployment contains local rpm-ostree + modifications`), and rpm-ostree upgrades the image underneath and keeps the layer. Tested in the + VM: `nvtop` layered, `htop` added by the new image, both present after the reboot, and the old + deployment kept for rollback. +- **Images are pushed with OCI layers.** Docker's image store pushes an OCI manifest whose own + layers carry Docker's media type, which bootc rejects (`Unhandled layer type`), and skopeo + will not convert that mixed manifest from a registry. `vm/build.sh` pushes the image again from + Docker's daemon with `skopeo copy --format oci`. +- **`boot.automount` is masked.** systemd-gpt-auto-generator puts an automount for the EFI + partition on `/boot`, with a two minute idle timeout, in front of ostree's bind mount. Once it + idles out, `ostree admin finalize-staged` fails at shutdown (`Remounting /boot read-write: + Invalid argument`) and the staged update is dropped silently: the machine reboots into the old + image. Upstream: ostree#3664 (the same mask, not merged), bootc#2402 (fixed in 1.18), + cgwalters-forge/tracker#86. Remove the mask when the base carries the fix. +- **The name is SeFLOS**: Sector F Labs Operating System, with "Se" for Sweden. `os-release` says + `ID=seflos`, `ID_LIKE=fedora`, and keeps Fedora's `VERSION_ID`, since tools such as dnf's + repositories depend on it. + +## Consequences + +- ZFS's features are gone: per-dataset properties, inline dedup, native encryption (use LUKS) and + `zfs send` streams of boot environments. Btrfs has subvolumes, send/receive, compression and + reflinks. Hibernation is possible again with a swap file on Btrfs, but is not set up. +- The system is read-only (`/usr`), and what a user adds goes in layers, Flatpak, containers or + their home. Whether to ship Nix or Distrobox as well is open. +- The NVIDIA driver is not in the image. It comes from RPM Fusion or NVIDIA's repository, built + against the image's kernel at image build time, so the kernel is held back until it builds. Secure + Boot needs our own signing key; nifl has it off. +- Two bugs in bootc 1.17.1 and ostree 2026.4 cost most of a day, and more should be expected: the + base is the best-tested one, but this stack is young. Each workaround is commented in the files + with its upstream issue. +- Fedora's branding still shows (the GDM logo, fastfetch's logo, the hostname `fedora`) until it is + replaced; Fedora's trademark guidelines should be read before images go to anyone else. +- Verified in the VM: the install onto Btrfs, a boot to GDM, a staged update applied at reboot with + a layered package kept (inside the idle window, without the mask), and the kernel argument. + Not verified: the mask on a fresh install after the idle timeout, a Patina session login on this + base beyond one login, real hardware (nifl), the services that need hardware (Bluetooth, thermald) + and snapshots of `/home`. +- The repository, image tag, volumes and docs still say `patina-os`; renaming them is a separate + pass. diff --git a/docs/comparison.md b/docs/comparison.md @@ -1,5 +1,7 @@ # Comparing the bases +> **Superseded 2026-11-20 by [ADR-0009](adr/0009-seflos-a-fedora-bootc-image-on-btrfs.md):** the base is Fedora's bootc image on Btrfs. This comparison is kept as the record of the earlier choice, which was between FreeBSD and Ubuntu on ZFS. + How the bases for Patina OS compare on what matters to the product: keeping the user's software apart from the system's, updating safely, letting the user decide when to update, ZFS, laptops, and whether it could be sold. Written 2026-10-22. **Decided 2026-10-22 (ADR-0007): plain Ubuntu, no snaps, root on ZFS, snapshotted before every apt run.** The comparison below is between the two image-based designs that led there, kept as the record. Ubuntu with apt in place was ruled out below for being assembled on each machine rather than built and shipped whole; that was given up for hardware support (laptops and CUDA on one OS) and software compatibility, with snapshots and ZFSBootMenu standing in for atomic updates. ADR-0006's boot environments remain a possible later stage. diff --git a/linux/vm/README.md b/linux/vm/README.md @@ -1,19 +1,18 @@ # The test VM -This is the bootc version, which ADR-0006 rules out; Patina OS is now Ubuntu updated with apt on a ZFS root (ADR-0007). It stays as the record of what bootc took, until a VM for ADR-0007 replaces it. - -Builds the Patina desktop and the image, installs it onto a disk file the way it would go onto a real disk, and boots it -in QEMU, then lets the VM upgrade from a local registry and roll back. Needs Docker, QEMU with KVM, -and OVMF (`apt install qemu-system-x86 ovmf`); no root, no podman on the host. Paths here are -relative to `linux/`. +Builds the Patina desktop and the SeFLOS image (Fedora 45's bootc image on Btrfs, ADR-0009), +installs it onto a disk file the way it would go onto a real disk, and boots it in QEMU, then +lets the VM upgrade from a local registry and roll back. Needs Docker, QEMU with KVM, and OVMF +(`apt install qemu-system-x86 ovmf`); no root, no podman on the host. Paths here are relative to +`linux/`. From the repository root, `make build`, `make disk`, `make run` and `make upgrade` +call these. ``` vm/build.sh build the desktop and the image (its dev stage), push it to localhost:5000 -vm/disk.sh install the image onto out/disk.raw (and make out/data.qcow2, the SSH key) +vm/disk.sh install the image onto out/disk.raw (and make the SSH key and an empty second disk) vm/vm.sh start boot it in the background (serial console in out/serial.log) vm/vm.sh wait wait until SSH answers vm/vm.sh ssh [cmd] a root shell, or a command -vm/zfs-home.sh put /home on a ZFS pool on the second disk, as the installer will (once) vm/vm.sh console boot it on this terminal instead (Ctrl-a x quits) vm/vm.sh view its screen in a VNC viewer (localhost:5901) vm/vm.sh screenshot its screen, saved to out/screen.png @@ -23,58 +22,62 @@ vm/clean.sh stop it and delete out/ (--all: the registry and the image ``` GDM comes up on the screen; log in as **patina**, password **patina**, and the Patina session -starts (the dev image adds that user; the real image has none). +starts (the dev image adds that user, in `wheel`; the real image has none). Trying an update: ``` -vm/build.sh # a new build, pushed -vm/vm.sh ssh bootc upgrade # the VM fetches and stages it -vm/vm.sh ssh systemctl reboot # boots into it +vm/build.sh # a new build, pushed +vm/vm.sh ssh rpm-ostree upgrade # the VM fetches and stages it +vm/vm.sh ssh systemctl reboot # boots into it vm/vm.sh ssh cat /usr/lib/patina-os/build # which build is running -vm/vm.sh ssh bootc rollback # the previous one, at the next boot +vm/vm.sh ssh rpm-ostree rollback # the previous one, at the next reboot ``` +Use `rpm-ostree upgrade`, not `bootc upgrade`: once a package is layered (`rpm-ostree install`), +bootc refuses ("Deployment contains local rpm-ostree modifications") and rpm-ostree upgrades the +image underneath and keeps the layer. + ## How it works -- **The desktop** is patina-desktop's own `.deb`, built by `desktop/build.sh` (it runs that - repository's `packaging/deb/build.py`, as `make deb` does there) from its last commit (beside this - checkout, or `PATINA_DESKTOP`), in an Ubuntu 26.04 container with rustup's Rust (pinned in - `desktop/builder.Containerfile`). It lands in `build/deb/patina-desktop.deb`, and the - Containerfile installs it with apt, so the image gets what `make install` puts in place and - the package's dependencies come with it. Its version names the commit. +- **The desktop** is patina-desktop's own bundle, built by `desktop/build.sh`: it runs that + repository's `packaging/deb/build.py --stage` (what `make install-full` runs there) on its last + commit (beside this checkout, or `PATINA_DESKTOP`), in a Fedora 45 container with rustup's Rust + (pinned in `desktop/builder.Containerfile`). The tree lands in `build/desktop/` as it goes under + `/`, and the Containerfile copies it in, so the image gets what `make install` puts in place; + the libraries and programs it needs come from dnf. `/usr/lib/patina-os/desktop` names the commit. - **The image** has two stages: `system`, the real one, and `dev`, which adds the test user and trust in the registry. vm/build.sh builds `dev`. - **The registry** (`vm/registry.sh`, started by the others) is Docker's `registry:2` on localhost:5000, which the VM reaches as 10.0.2.2:5000 (QEMU's user network). The image trusts it over plain HTTP (`vm/registries.conf`); that's for development builds only. -- **The install** runs the image itself, privileged, with the host's `/dev` for a loop device: - its own podman pulls it from the registry, and its own `bootc install to-disk` writes the - disk, with the composefs backend and systemd-boot, as ubuntu-bootc's CI does. The installed - system follows `10.0.2.2:5000/patina-os:dev`. -- **After the install**, the boot entry gets `root=UUID=...` (systemd 259 on 26.04 doesn't always - find the root by itself) and root's `authorized_keys` goes straight into the installed `/var`. -- **The VM** has 4 CPUs, 4 GB, UEFI, the system disk, an empty 10 GB second disk for the ZFS pool - (`/dev/disk/by-id/virtio-patina-data`, whichever `vdX` it gets), SSH on localhost:2222 with the key in `out/id_ed25519`, a virtio GPU shown over VNC - (Mesa draws in software), a USB tablet and keyboard, and QEMU's monitor on - `out/monitor.sock` (screenshots, and `sendkey` to type into it). +- **The push is OCI.** Docker pushes an OCI manifest whose own layers carry Docker's media type, + which bootc rejects on an upgrade (`Unhandled layer type`), and skopeo won't convert that from a + registry. vm/build.sh pushes the image again from Docker's daemon with `skopeo copy --format oci`, + which takes a few minutes. +- **The install** runs the image itself, privileged, with the host's `/dev` for a loop device: its + own podman pulls it from the registry, and its own `bootc install to-disk` writes the disk, with + a Btrfs root, and puts `out/id_ed25519.pub` in root's `authorized_keys`. The installed system + follows `10.0.2.2:5000/patina-os:dev`. +- **The VM** has 4 CPUs, 4 GB, UEFI, the system disk, an empty 10 GB second disk (not used now that + ZFS is gone), SSH on localhost:2222 with the key in `out/id_ed25519`, a virtio GPU shown over VNC + (Mesa draws in software), a USB tablet and keyboard, and QEMU's monitor on `out/monitor.sock` + (screenshots, and `sendkey` to type into it). ## Found along the way -- The base image's kernel (7.0.0-15) can't boot composefs: "Failed to execute /sbin/init: - Input/output error", fs-verity's regression in 7.0 (bootc issue 2174, fixed from 7.0.7). - The Containerfile installs the archive's current kernel (7.0.0-38), which boots. -- bootc's composefs backend can't install straight from a registry ("Invalid splitstream - content type"), only from podman's storage, hence the pull inside the install container. -- `--root-ssh-authorized-keys` leaves `/root/.ssh` empty with the composefs backend. -- The minimal base has no network configuration; the image adds NetworkManager. -- GDM 50 has no setting for the default session, and Ubuntu's AccountsService templates leave - a new user's session empty, which GDM takes as GNOME (not installed: "Failed to fill - session"). `system/etc/accountsservice/user-templates` makes it Patina. -- Ubuntu's NetworkManager leaves wired interfaces to netplan, which isn't here; an empty - `10-globally-managed-devices.conf` in `/etc` lets it manage them. -- The disks swap names between boots (the data disk was `vda` one time, `vdb` another), so the - pool is made on the data disk's serial (`/dev/disk/by-id/virtio-patina-data`); the system - disk is found by its UUID in the boot entry. -- Docker here has only the legacy builder (no BuildKit), so the Containerfile uses - `COPY --from` rather than `RUN --mount`. +- Passing `--pid=host` to the install container (as Fedora's docs do) breaks it here: bootc + compares `/var/lib/containers` with the host's, which doesn't exist. +- An update staged while `/boot` has idled out is dropped at shutdown: systemd's EFI-partition + automount sits in front of ostree's `/boot`, and `ostree admin finalize-staged` fails with + "Remounting /boot read-write: Invalid argument". `boot.automount` is masked in the image + (`system/etc/systemd/system/`); the Containerfile has the upstream issues. +- GDM has no setting for the default session, and AccountsService's templates leave a new user's + session empty, which GDM takes as GNOME. `system/etc/accountsservice/user-templates` makes it + Patina. Fedora's GDM pulls GNOME's session in too, so both show at the login screen. +- Fedora's `fedora-bootc` image runs out of disk when `dnf` installs into it with `docker run`: + inspect packages in `quay.io/fedora/fedora` instead. +- Docker here has only the legacy builder (no BuildKit), so the Containerfile uses `COPY --from` + rather than `RUN --mount`. +- The Ubuntu bootc image's findings (the fs-verity kernel regression, the splitstream error, + the netplan and AccountsService workarounds) are in ADR-0006 and ADR-0009.