ITADN

macOS: `podman machine start` never completes

#29074Openplexilcrf 创建于 2026-06-29
kind/bugmacos
P
plexilcrfcommented
### Issue Description Attempted to replace a working Podman machine on macOS after updating both OS and Podman. `podman machine init` completes successfully, but `podman machine start` never finishes. During `podman machine start`, a vfkit window appears, with the contents entirely black. Activity monitor shows `Virtual Machine Service for vfkit` process using 100% CPU. I have repeated this several times with the same results. Is this user error? ### Steps to reproduce the issue Steps to reproduce the issue 1. Remove old installation of `podman` and entire `~/.config/containers` directory. 2. `brew install podman` 3. `podman machine init --provider=applehv --cpus=8 -m=12 --disk-size=150` 4. `podman --log-level=debug machine start` ### Describe the results you received ``` zsh cfry@cannon ~ $ podman machine init --provider=applehv --cpus=8 -m=12 --disk-size=150 Looking up Podman Machine image at quay.io/podman/machine-os:6.0 to create VM Getting image source signatures Copying blob f8214f15a24a done | Copying config 44136fa355 done | Writing manifest to image destination f8214f15a24a774533d7534ec856c078aa9a6fe355681e779091dd9304a8a140 Extracting compressed file: podman-machine-default-arm64.raw: done Machine init complete To start your machine run: podman machine start zsh cfry@cannon ~ $ podman --log-level=debug machine start INFO[0000] podman filtering at log level debug DEBU[0000] Using Podman machine with `libkrun` virtualization provider DEBU[0000] socket length for /Users/cfry/.config/containers/podman/machine/libkrun is 53 DEBU[0000] socket length for /Users/cfry/.local/share/containers/podman/machine/libkrun is 58 DEBU[0000] socket length for /Users/cfry/.local/share/containers/podman/machine/libkrun/cache is 64 DEBU[0000] socket length for /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman is 55 DEBU[0000] socket length for /Users/cfry/.config/containers/podman/machine/applehv is 53 DEBU[0000] socket length for /Users/cfry/.local/share/containers/podman/machine/applehv is 58 DEBU[0000] socket length for /Users/cfry/.local/share/containers/podman/machine/applehv/cache is 64 DEBU[0000] socket length for /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman is 55 DEBU[0000] socket length for /Users/cfry/.config/containers/podman/machine/applehv/podman-machine-default.json is 81 Starting machine "podman-machine-default" DEBU[0000] socket length for /Users/cfry/.config/containers/podman/machine/applehv is 53 DEBU[0000] socket length for /Users/cfry/.local/share/containers/podman/machine/applehv is 58 DEBU[0000] socket length for /Users/cfry/.local/share/containers/podman/machine/applehv/cache is 64 DEBU[0000] socket length for /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman is 55 DEBU[0000] socket length for /Users/cfry/.config/containers/podman/machine/libkrun is 53 DEBU[0000] socket length for /Users/cfry/.local/share/containers/podman/machine/libkrun is 58 DEBU[0000] socket length for /Users/cfry/.local/share/containers/podman/machine/libkrun/cache is 64 DEBU[0000] socket length for /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman is 55 DEBU[0000] socket length for /Users/cfry/.config/containers/podman/machine/applehv is 53 DEBU[0000] socket length for /Users/cfry/.local/share/containers/podman/machine/applehv is 58 DEBU[0000] socket length for /Users/cfry/.local/share/containers/podman/machine/applehv/cache is 64 DEBU[0000] socket length for /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman is 55 DEBU[0000] socket length for /Users/cfry/.config/containers/podman/machine/applehv/podman-machine-default.json is 81 DEBU[0000] connection refused: http://localhost:50920/vm/state DEBU[0000] writing configuration file "/Users/cfry/.config/containers/podman/machine/applehv/podman-machine-default.json" DEBU[0000] socket length for /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/gvproxy.pid is 67 DEBU[0000] socket length for /Users/cfry/.config/containers/podman/machine/applehv is 53 DEBU[0000] socket length for /Users/cfry/.local/share/containers/podman/machine/applehv is 58 DEBU[0000] socket length for /Users/cfry/.local/share/containers/podman/machine/applehv/cache is 64 DEBU[0000] socket length for /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman is 55 DEBU[0000] socket length for /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default-api.sock is 87 DEBU[0000] {true 1500 map[forward-dest:[/run/user/508/podman/podman.sock] forward-identity:[/Users/cfry/.local/share/containers/podman/machine/machine] forward-sock:[/var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default-api.sock] forward-user:[core]] [] [] map[] /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/gvproxy.log /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/gvproxy.pid 50899} DEBU[0000] socket length for /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default-gvproxy.sock is 91 DEBU[0000] gvproxy command-line: /Users/cfry/homebrew/Cellar/podman/6.0.0/libexec/podman/gvproxy -debug -mtu 1500 -ssh-port 50899 -listen-vfkit unixgram:///var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default-gvproxy.sock -forward-sock /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default-api.sock -forward-dest /run/user/508/podman/podman.sock -forward-user core -forward-identity /Users/cfry/.local/share/containers/podman/machine/machine -pid-file /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/gvproxy.pid -log-file /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/gvproxy.log DEBU[0000] socket length for /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default-gvproxy.sock is 91 DEBU[0000] checking that "gvproxy" socket is ready DEBU[0001] socket length for /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default.log is 82 DEBU[0001] socket length for /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default.sock is 83 DEBU[0001] helper binary path is: /Users/cfry/homebrew/Cellar/podman/6.0.0/libexec/podman/vfkit DEBU[0001] socket length for /Users/cfry/.local/share/containers/podman/machine/applehv/podman-machine-default-ignition.sock is 95 DEBU[0001] first boot detected DEBU[0001] serving ignition file over /Users/cfry/.local/share/containers/podman/machine/applehv/podman-machine-default-ignition.sock DEBU[0001] listening for ready on: /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default.sock DEBU[0001] socket length for /Users/cfry/.config/containers/podman/machine/applehv/podman-machine-default.ign is 80 DEBU[0001] reading ignition file: /Users/cfry/.config/containers/podman/machine/applehv/podman-machine-default.ign DEBU[0001] waiting for ready notification DEBU[0001] helper command-line: [/Users/cfry/homebrew/Cellar/podman/6.0.0/libexec/podman/vfkit --cpus 8 --memory 12 --bootloader efi,variable-store=/Users/cfry/.local/share/containers/podman/machine/applehv/efi-bl-podman-machine-default,create --device virtio-blk,path=/Users/cfry/.local/share/containers/podman/machine/applehv/podman-machine-default-arm64.raw --device virtio-rng --device virtio-vsock,port=1025,socketURL=/var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default.sock,listen --device virtio-serial,logFilePath=/var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default.log --device virtio-net,unixSocketPath=/var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default-gvproxy.sock,mac=5a:94:ef:e4:0c:ee --device virtio-fs,sharedDir=/Users,mountTag=a2a0ee2c717462feb1de2f5afd59de5fd2d8 --device virtio-fs,sharedDir=/private,mountTag=71708eb255bc230cd7c91dd26f7667a7b938 --device virtio-fs,sharedDir=/var/folders,mountTag=a0bb3a2c8b0b02ba5958b0576f0d6530e104 --device virtio-fs,sharedDir=/Users/cfry/.config/containers,mountTag=9ddeaea5d41a791d2cc3bcc676b9645fee0e --timesync vsockPort=1234 --restful-uri tcp://localhost:50920 --device virtio-gpu,width=800,height=600 --device virtio-input,pointing --device virtio-input,keyboard --gui --device virtio-vsock,port=1024,socketURL=/Users/cfry/.local/share/containers/podman/machine/applehv/podman-machine-default-ignition.sock,listen] DEBU[0001] ignition socket device: /Users/cfry/.local/share/containers/podman/machine/applehv/podman-machine-default-ignition.sock INFO[0000] virtual machine parameters: INFO[0000] vCPUs: 8 INFO[0000] memory: 12 MiB INFO[0000] INFO[0000] Adding virtio-blk device (imagePath: /Users/cfry/.local/share/containers/podman/machine/applehv/podman-machine-default-arm64.raw, type: image) INFO[0000] Adding virtio-rng device INFO[0000] Adding virtio-vsock device INFO[0000] Adding virtio-serial device (logFile: /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default.log) INFO[0000] Adding virtio-net device (nat: false macAddress: [5a:94:ef:e4:0c:ee]) INFO[0000] Using unix socket /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default-gvproxy.sock INFO[0000] local: /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/vfkit-9917-8369.sock remote: /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default-gvproxy.sock INFO[0000] Adding virtio-fs device INFO[0000] Adding virtio-fs device INFO[0000] Adding virtio-fs device INFO[0000] Adding virtio-fs device INFO[0000] Adding virtio-gpu device INFO[0000] Adding virtio-input pointing device INFO[0000] Adding virtio-input keyboard device INFO[0000] virtual machine is running INFO[0000] Exposing vsock port 1025 on /var/folders/k8/22mzz8gj1n30hwprkpgfnnfh0000gw/T/podman/podman-machine-default.sock (listening) INFO[0000] Exposing vsock port 1024 on /Users/cfry/.local/share/containers/podman/machine/applehv/podman-machine-default-ignition.sock (listening) INFO[0000] Setting up host/guest time synchronization INFO[0000] waiting for VM to stop ^Z zsh: suspended podman --log-level=debug machine start zsh cfry@cannon ~ $ bg [1] + continued podman --log-level=debug machine start ``` During execution of `podman machine start`, a `vfkit` window appeared, containing only black. ### Describe the results you expected Expected `podman machine start` to complete successfully without displaying a vfkit window. ### podman info output ```yaml zsh cfry@cannon ~ $ podman version Client: Podman Engine Version: 6.0.0 API Version: 6.0.0 Go Version: go1.26.4 Built: Wed Jun 24 07:28:09 2026 Build Origin: brew OS/Arch: darwin/arm64 Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM Error: unable to connect to Podman socket: failed to connect: ssh: handshake failed: read tcp 127.0.0.1:50943->127.0.0.1:50899: read: connection reset by peer zsh cfry@cannon ~ $ podman info OS: darwin/arm64 buildOrigin: brew provider: libkrun version: 6.0.0 Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM Error: unable to connect to Podman socket: failed to connect: dial tcp 127.0.0.1:50899: connect: connection refused ``` ### Podman in a container No ### Privileged Or Rootless Rootless ### Upstream Latest Release No ### Additional environment details Hardware: MacBook Pro 15", M1 Max CPU, 64 GB RAM, 2 TB SSD OS: macOS Tahoe 26.5 Podman version: 6.0.0, installed via Homebrew US Government owned computer, may have some additional S/W which is interfering with podman. Running on USG VPN. ### Additional information 100% repeatable.
2 条评论