8000 min task run: allow --network own_ip on a VM host · Issue #3162 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

min task run: allow --network own_ip on a VM host #3162

Open

Description

@norrietaylor

min task run --network own_ip refuses on a host that runs boxes in a VM (every macOS host, and Linux on --provider local-minvmd). The refusal was added in #3159, in task_box_network() in crates/minimal/src/task.rs.

Why it refuses: an own-address box on a VM host registers its host row with the VM host daemon under the name it will have, before its create (T66). A task box is a fresh instance, and the daemon gives it its name only at the create. There is no name to register the row under, so the run refuses rather than create a box that no host row holds. The refusal fails closed.

The design expects own_ip boxes on LocalVM (gominimal/arch architecture.md, line 1264 at 7a86ec7b, the enforcement chain's host-wide rules).

Flip condition: remove the refusal when a fresh-instance task box can register its host row under the name the daemon gives it at create (T66). The refusal's comment in task_box_network() names this issue.

Done when:

  • min task run --network own_ip creates an own-address task box on a VM host, with a host row under its daemon-given name.
  • The refusal and its unit-test expectation are removed.
  • An e2e leg on a VM lane shows the box's egress follows its rules and it cannot reach a host loopback port no [host-exposures] entry opens.

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

Activity

  1. added a commit that references this issue on Nov 7, 2026
  2. added
    priority:nice-to-have
    on Nov 18, 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

    priority:nice-to-have

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0