8000 Installer card says "run min finalize-install" just before it offers to run it, and hides the sudo command · Issue #4003 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content
< 8000 link rel="modulepreload" href="https://github.githubassets.com/assets/chunk-dynamic-github-ui--issues--IssueViewer-0aa0290e372569d7.js" crossorigin="anonymous" />

Installer card says "run min finalize-install" just before it offers to run it, and hides the sudo command #4003

Backlog

Description

@mitodrummer

Reported by Jessie, upgrading to 0.8.0-dev.801 on macOS (2026-12-03). The installer's closing card said:

install status on this machine:
  ✗ DNS names for boxes (<box>.min.internal) in every program on this machine
      today: 1 thing to fix:
        - the installed DNS service speaks protocol 3, not this daemon's 4; this step reinstalls it from this machine's own copy
      this step: sends *.min.internal lookups to Minimal's DNS service on 127.0.0.1:7656, installs that service, and reserves the box IPs (127.0.64.0/24) on this machine's loopback at every boot
  Minimal's DNS service on this machine runs a different minzoned than this release ships.
  To replace it, run `min finalize-install`.
Finish setup now? This runs one sudo command. [Y/n] Y
Password:
  ✓ DNS names for boxes (<box>.min.internal) in every program on this machine: installed
Running boxes pick this up on their next start.

Two problems:

  1. "To replace it, run min finalize-install" prints right before the installer offers to do exactly that. A user who answers Y has already run it, but reads the line as a separate step to do. Jessie then ran min finalize-install and got "Every part of the install is finished on this machine; there is nothing to run."
  2. "This runs one sudo command" does not say which command. The password prompt appears with no way to see what will run as root.

Done when:

  • The installer prints "run min finalize-install" only when the user answers n (or there is no terminal to ask at), as the way to finish later. When it asks, the question itself says that answering Y runs min finalize-install.
  • The question shows the root command it will run, or offers a way to see it first (the same plan min finalize-install --show prints, or the script that --script writes), before the password prompt.
  • An installer test covers both answers.

Related: #3925, #3930, #3939.


This is a residual of epic #1437 (NET).

Activity

  1. added
    kind:bug
    release:0.8.0
    on Dec 3, 2026
  2. added
    priority:should-have
    on Dec 4, 2026
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

    kind:bugpriority:should-haverelease:0.8.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0