Skip to content

install.sh on macOS does not install or mention e2fsprogs, so a curl install boots the slower virtiofs root #562

Open

Description

@ananos

Describe the bug

On macOS, v0.5.0 boots an overlay root by default when hull finds mke2fs from e2fsprogs. The Homebrew cask depends on e2fsprogs, but curl -fsSL https://brig.sh/install | sh neither installs it nor mentions it. A curl install therefore boots the virtiofs root, with no message on the run line. The only hint is a doctor row whose fix is a brew command.

The overlay root is the faster one on macOS. In the same stress run, warm boots were 3.85 s (ubuntu) and 7.58 s (claude-code) on the overlay root, against 4.77 s and 10.48 s on virtiofs.

To reproduce

  1. On a Mac without e2fsprogs: curl -fsSL https://brig.sh/install | sh
  2. brig doctor | grep rootfs
  3. brig --verbose run -d ubuntu@fb, then brig sh ubuntu@fb -c 'findmnt /'

Expected behavior

The installer installs e2fsprogs, or says the overlay root needs it and how to get it. The fallback is fine, but the user should know about it.

Actual behavior

The installer output does not mention e2fsprogs or mke2fs. Doctor:

  --  rootfs    overlay root not available: install e2fsprogs (brew install e2fsprogs)

The run boots with / on virtiofs and prints nothing about the rootfs mode.

Proposed fix

We could have install.sh print one line at the end when /opt/homebrew/opt/e2fsprogs/sbin/mke2fs is missing, with the brew command. Alternatively, hull could look for mke2fs on PATH too (MacPorts, a user prefix), and doctor's fix line could name both.

Environment

  • Command: curl -fsSL https://brig.sh/install | sh
  • Host OS: macOS 27.0.1
  • Architecture: arm64
  • brig version: brig v0.5.0 (8059e00, 2026-10-31, go1.27.3, darwin/arm64)
  • Runtime and version: hull v0.1.0 (7e50ac3)
  • Profile: ubuntu
  • Installed how: install.sh (brig.sh/install), sha256 6dae1ce1...b9b7c

brig doctor output

Every line ok, except -- rootfs overlay root not available: install e2fsprogs (brew install e2fsprogs).

Logs and additional context

Found in the v0.5.0 stress run.

Activity

  1. added this to the M5 milestone on Oct 31, 2026
  2. added
    bug
    P2
    on Oct 31, 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

    P2bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions