Skip to content

Unable to successfully run finch vm init on MacOS 26 #1639

@shareefer

Description

@shareefer

Describe the bug
Downloaded Finch to use with AWS toolkit to debug AWS SAM apps.

run finch vm init leads to errors establishing an ssh connection to the container

Steps to reproduce
brew install finch
run finch vm init

Expected behavior
Expected vm to init with no issues

Screenshots or logs

==> Running installer for finch with `sudo` (which may request your password)...
installer: Package name is Finch
installer: Installing at base path /
installer: The install was successful.
Running command elevated
🍺  finch was successfully installed!
❯ finch vm init
INFO[0000] Using default values due to missing config file at "/Users/sedenfield/.finch/finch.yaml"
INFO[0000] "/Users/sedenfield/.finch" directory doesn't exist, attempting to create it
INFO[0001] binaries directory doesn't exist
INFO[0001] Requesting root access to finish network dependency configuration
Password:
Password:
Sorry, try again.
Password:
Password:
Password:
INFO[0077] sudoers file not found: open /etc/sudoers.d/finch-lima: no such file or directory
Password:
Password:
INFO[0109] Initializing and starting Finch virtual machine...
ERROR[0724] Finch virtual machine failed to start, debug logs:
time="2025-12-11T10:56:11-08:00" level=info msg="Terminal is not available, proceeding without opening an editor"
time="2025-12-11T10:56:11-08:00" level=info msg="Starting socket_vmnet daemon for \"finch-shared\" network"
time="2025-12-11T10:56:11-08:00" level=info msg="Starting the instance \"finch\" with VM driver \"vz\""
time="2025-12-11T10:56:11-08:00" level=info msg="Attempting to download the image" arch=aarch64 digest="sha512:9aef0b79d3b2fa3bee39e87046a484eb0fae92517389449359304bebd97f0e4f5f4655f0b03816b47f82bed5becce270cae5e39e736e2d15ef7583b361d7dc08" location=/Applications/Finch/os/Fedora-Cloud-Base-Generic-42-1.1.aarch64-20251103233246.qcow2
time="2025-12-11T10:56:12-08:00" level=info msg="Downloaded the image from \"/Applications/Finch/os/Fedora-Cloud-Base-Generic-42-1.1.aarch64-20251103233246.qcow2\""
time="2025-12-11T10:56:16-08:00" level=info msg="Attempting to download the nerdctl archive" arch=aarch64 digest="sha256:544fa1e518155fcc01a117ea49819d12d96b4dacfb2b62922f9f7956dc9f6dc8" location="https://github.com/containerd/nerdctl/releases/download/v2.1.3/nerdctl-full-2.1.3-linux-arm64.tar.gz"
Downloading the nerdctl archive (nerdctl-full-2.1.3-linux-arm64.tar.gz)
time="2025-12-11T10:56:26-08:00" level=info msg="Downloaded the nerdctl archive from \"https://github.com/containerd/nerdctl/releases/download/v2.1.3/nerdctl-full-2.1.3-linux-arm64.tar.gz\""
time="2025-12-11T10:56:27-08:00" level=info msg="[hostagent] hostagent socket created at /Applications/Finch/lima/data/finch/ha.sock"
time="2025-12-11T10:56:27-08:00" level=info msg="[hostagent] Starting VZ (hint: to watch the boot progress, see \"/Applications/Finch/lima/data/finch/serial*.log\")"
time="2025-12-11T10:56:28-08:00" level=info msg="[hostagent] Mounting disk \"finch\" on \"/mnt/lima-finch\""
time="2025-12-11T10:56:28-08:00" level=info msg="SSH Local Port: 50011"
time="2025-12-11T10:56:28-08:00" level=info msg="[hostagent] Waiting for the essential requirement 1 of 2: \"ssh\""
time="2025-12-11T10:56:28-08:00" level=info msg="[hostagent] [VZ] - vm state change: running"
time="2025-12-11T10:56:38-08:00" level=info msg="[hostagent] Waiting for the essential requirement 1 of 2: \"ssh\""
time="2025-12-11T10:56:38-08:00" level=info msg="[hostagent] 2025/12/11 10:56:38 tcpproxy: for incoming conn 127.0.0.1:50043, error dialing \"192.168.5.15:22\": connect tcp 192.168.5.15:22: connection was refused"
time="2025-12-11T10:56:48-08:00" level=info msg="[hostagent] Waiting for the essential requirement 1 of 2: \"ssh\""
time="2025-12-11T10:56:58-08:00" level=info msg="[hostagent] 2025/12/11 10:56:58 tcpproxy: for incoming conn 127.0.0.1:50123, error dialing \"192.168.5.15:22\": context deadline exceeded"
time="2025-12-11T10:57:08-08:00" level=info msg="[hostagent] Waiting for the essential requirement 1 of 2: \"ssh\""
time="2025-12-11T10:57:16-08:00" level=info msg="[hostagent] The essential requirement 1 of 2 is satisfied"
time="2025-12-11T10:57:16-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T10:57:29-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T10:57:47-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T10:58:05-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T10:58:27-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T10:58:49-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T10:59:11-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T10:59:30-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T10:59:48-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:00:05-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:00:27-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:00:45-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:01:03-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:01:20-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:01:44-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:02:09-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:02:33-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:02:56-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:03:19-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:03:42-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:04:05-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:04:28-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:04:51-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:05:13-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:05:36-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:06:00-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:06:24-08:00" level=info msg="[hostagent] Waiting for the essential requirement 2 of 2: \"user session is ready for ssh\""
time="2025-12-11T11:06:26-08:00" level=fatal msg="did not receive an event with the \"running\" status"```


Bundle Attached
[finch-support-20251211110950.zip](https://github.com/user-attachments/files/24110315/finch-support-20251211110950.zip)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions