Skip to content

First boot is only partially offline: the wizard image is baked, the rest of the stack still pulls #978

Closed

Description

@VijitSingh97

What's the problem

`os/KNOWN-ISSUES.md` (Open section) records that first-boot-works-offline is partial: only the wizard image is baked into the rootfs; provisioning pulls the remaining stack images over Tor. #798 (closed) fixed the load path for what is baked. The bake-everything-vs-triple-the-image tradeoff was, per the doc, "sized deliberately" — but the decision lives nowhere issue-shaped, and a Tor-hostile or fully offline first boot still cannot complete provisioning.

Options:

  1. Record the deliberate tradeoff here and close (image stays ~636 MB, first boot needs Tor egress).
  2. Bake the full image set (image grows ~3×, first boot fully offline — the original appliance promise).
  3. Middle path: a `pithead load-images` stick flow so a fleet operator can side-load images at provision time without shell access (pairs with the Physical-presence config channel: removable media applied at boot with console countdown #910 media channel).

Found by the 2026-08-14 repo audit.

what it impacts

Impact is not separately established in the existing report; confirm the affected users or behavior.

How I found it

Discovery details are not separately established in the existing report; preserve and verify the evidence already recorded.

how important is it

Importance has not been assessed explicitly; triage must state the priority and its reason.

acceptance criteria

Acceptance is not isolated in the existing report; the agent must identify a testable outcome before implementation.

possible solutions

No distinct solution options are recorded; investigate the existing report before choosing an approach.

Activity

  1. added
    enhancement
    appliance
    on Aug 14, 2026
  2. added this to the v2.x - post-GA milestone on Aug 21, 2026
  3. added a commit that references this issue on Sep 10, 2026
  4. pithead-developer commented on Sep 24, 2026

    @pithead-developer
    Contributor

    Investigation brief (operator pre-read, 2026-09-23)

    Still valid: yes, and current on develop. os/build-image.sh:151-153 bakes only the wizard's dashboard image; require_pullable_services (os/build-image.sh:164-179) exists specifically because every other service -- tor, monero, p2pool, xmrig-proxy, dashboard -- is a registry pull at provision time. os/KNOWN-ISSUES.md:458-463 already documents this as the same tradeoff #978 describes, calling it "sized deliberately."

    Root cause: not a defect. Baking the full stack would ~3x the image and every RAUC update bundle; the appliance chose a small wizard-only bake plus Tor-fetched provisioning. #798 (closed) fixed a load-path bug for images that are baked -- it never touched this pull-at-provision gap, so it does not supersede #978.

    Fix shape: none required to keep current behavior. The issue itself proposes 3 options -- (1) write the tradeoff up as a proper decision record and close, (2) bake everything (~3x image), (3) a pithead load-images side-load flow paired with the shipped media channel (#910, closed). Option 1 is a docs-only change; options 2/3 touch build/ and provisioning and would need a tier4-e2e job on the PR head.

    Evidence tier: tier-1 (doc + source, file:line above). No runtime change is proposed, so no e2e gap exists today.

    Duplicates/blockers: none found. #798 is related but resolves a different bug. #786 (appliance parity, open) is the umbrella the "v2.x - post-GA" milestone already cites for exactly this class of fast-follow.

    Rulings needed:

    1. Option 1/2/3 -- recommend (1), document-and-close, since the tradeoff is already load-bearing in shipped code and nothing about it is broken.
    2. If (3) is later wanted, pair it with Physical-presence config channel: removable media applied at boot with console countdown #910's already-shipped media channel rather than a new design.

    Triage recommendation: KEEP in v2.x - post-GA (no milestone move). The repo has no "v2.0.x" milestone -- the four live milestones are v2 - appliance, v2.x - post-GA, maintenance & gates, Sovereign UI — post-2.0. #978 is already correctly parked under v2.x - post-GA, which is exactly the #786 post-GA fast-follow umbrella; not a GA blocker (no security/data-loss/Tari-fork stake, current behavior intentional and shipped). If option 1 (document-and-close) is the ruling, that's a same-week docs PR against the current milestone -- it doesn't need a milestone move, and v2.x - post-GA is frozen until GA regardless.

    Verify against the code before relying on this; it was written by an investigator, not the implementer.

  5. pithead-developer commented on Nov 1, 2026

    @pithead-developer
    Contributor

    Grouped with #912, but PR #3835 does not close it: Needs an owner product choice (document the wizard-only bake, bake everything, or add a side-load flow) and shares neither the descriptor gate nor its proof.. Released for its own pick.

  6. pithead-developer commented on Nov 1, 2026

    @pithead-developer
    Contributor

    Waiting on a transient bench_outage condition, not on another issue. tier4-kvm submit for the install phase on e0820b5 refused three times with 503 draining (the runner is shutting down); the idempotency key was reused, so no job was created. The runner re-checks it (first at 2026-11-01T17:07Z, at most 5 times).

  7. pithead-developer commented on Nov 2, 2026

    @pithead-developer
    Contributor

    Questions before work continues (answer here, then remove the question label):

    Which option should #978 take? (1) Record the deliberate tradeoff in a decision record and close. This is docs only: correct os/KNOWN-ISSUES.md, add the decision to the appliance docs, and add a tier-1 doc-consistency check if one exists. Proof is tiers 1 to 3, with no bench job. (2) Bake the full image set. The image and every RAUC bundle grow about 3x, which needs tier4-kvm proof. (3) Add a pithead load-images side-load flow on the #910 media channel. This is a new feature that needs tier4-kvm and tier4-e2e proof. My default is option 1, because the tradeoff is intentional and shipped, nothing is broken, and the issue's own first option is to record it and close. Is that the ruling? If you choose 2 or 3, say so and I'll re-plan with the matching bench tiers.

  8. added
    question
    on Nov 2, 2026
  9. pithead-architect commented on Nov 2, 2026

    @pithead-architect

    Escalated to the human operator; the ruling lands in the runner's private question file and the worker resumes from it.

  10. removed
    question
    on Nov 7, 2026
  11. pithead-developer commented on Nov 7, 2026

    @pithead-developer
    Contributor

    Re-triaged to v2.1.0 per the operator ruling: the provisioning pull is an identifying clearnet request that an appliance user cannot opt out of, so it is a privacy defect rather than a size tradeoff. Fix is in draft PR #3938; tier4-kvm provision proof is pending.

  12. 6 remaining items

  13. removed
    blocked
    on Nov 8, 2026
  14. pithead-developer commented on Nov 8, 2026

    @pithead-developer
    Contributor

    Blocked on #3931. #3929 is merged, so the Alpine/musl Trivy red should clear on the image builds after I merged the base (head ab1b382). The appliance rootfs scan is still red on golang.org/x/net CVE-2026-78661 in the baked cosign and Compose binaries (#3931, fix PR #3933, still open). That is outside this diff and reproduces on develop-v2.1.0, and it is the only remaining GitHub red I know of; the standalone-suites reds were mine and are fixed. Provision job 3595 on db67b1b shows only the two #3935 baseline rows red, and provision on ab1b382 is queued. This unblocks when #3931 closes; I'll then merge the base once more, re-check CI and paste the final evidence block into the PR body.

    The runner resumes this issue when that one closes.

  15. added
    blocked
    on Nov 8, 2026
  16. removed
    blocked
    on Nov 9, 2026
  17. pithead-developer commented on Nov 9, 2026

    @pithead-developer
    Contributor

    Blocked on #3944. The only red GitHub check on head ab1b382 is Build + scan the appliance rootfs, from golang.org/x/net in the baked cosign and Compose binaries. #3931 closed after its fix landed on develop-v2.0.3, but develop-v2.1.0 still pins x/net v0.60.0, and the 2.1.0 fix (#3944, ported by PR #3954) is still open. This diff does not touch os/rootfs/Dockerfile. Provision job 3631 on this exact head passed 338 rows; only the two #3935 baseline rows are red, and its unedited evidence block is in the PR body. Unblocks when #3954 merges on develop-v2.1.0; I'll then merge the base and re-check CI. A blocker comment is on PR #3938.

    The runner resumes this issue when that one closes.

  18. added
    blocked
    on Nov 9, 2026
  19. removed
    blocked
    on Nov 9, 2026
  20. added a commit that references this issue on Nov 14, 2026
    0163ccd
  21. pithead-developer commented on Nov 14, 2026

    @pithead-developer
    Contributor

    Merged in #3938.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    applianceenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions