Skip to content

Fedora 44 fails to boot using Krunkit #5085

@unsuman

Description

@unsuman

Description

It gets stuck here:

➜ lm start template:fedora --vm-type krunkit --name fedora-44-krunkit
? Creating an instance fedora-44-krunkit Proceed with the current configuration
INFO[0002] Starting the instance "fedora-44-krunkit" with external VM driver "krunkit"
INFO[0002] Attempting to download the image arch=aarch64 digest="sha256:55c60a3b80d3616a08705afd0459e75fe9f03c54aba7a46e4002a41a72fa0d5b" location="[https://download.fedoraproject.org/pub/fedora/linux/releases/44/Cloud/aarch64/images/Fedora-Cloud-Base-Generic-44-1.7.aarch64.qcow2](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html)"
INFO[0002] Using cache /Users/ansumansahoo/Library/Caches/lima/download/by-url-sha256/eeaf9b60fec7a86a6a35041b155e622111b5230272fb0df335ebf5ef157e6e18/data
INFO[0003] Attempting to download the nerdctl archive arch=aarch64 digest="sha256:55d68d2613b5f065021146bac21f620cde9e7fdd4bd3eff74cd324f5462e107a" location="[https://github.com/containerd/nerdctl/releases/download/v2.2.2/nerdctl-full-2.2.2-linux-arm64.tar.gz](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html)"
INFO[0003] Using cache /Users/ansumansahoo/Library/Caches/lima/download/by-url-sha256/7a4f1474af2543486c8548fd046bea7eb82f51c3eb376fb4f1896e795a7fdb91/data
INFO[0004] [hostagent] hostagent socket created at /Users/ansumansahoo/.lima/fedora-44-krunkit/ha.sock
INFO[0013] SSH Local Port: 64867
INFO[0012] [hostagent] Waiting for the essential requirement 1 of 3: "ssh"
^C

Logs that differ:

serial.log using vz(for fedora 44) and krunkit (for fedora 43)

Fedora Linux 44 (Cloud Edition)
Kernel 6.19.10-300.fc44.aarch64 on aarch64 (hvc0)

eth0: 192.168.5.15 fe80::5055:55ff:fe8e:cc8a
Try contacting this VM's SSH server via 'ssh vsock%3' from host.

lima-fedora login: �[!p�]104�\�[0m�[?7h�[1G�[0J�[6n�[32766;32766H�[6n�]3008;end=9b891b1a178c47b098680bf40483dfef�\

serial.log using krunkit (for fedora 44)

Fedora Linux 44 (Cloud Edition)
Kernel 6.19.10-300.fc44.aarch64 on aarch64 (hvc0)

eth0: 192.168.5.15 fe80::5055:55ff:fedc:7e4e
lima-fedora-44-krunkit login: 

Workaround

Setting .ssh.overVsock to false works.

Analysis by Claude Opus 4.7

Krunkit’s vsock implementation lacks DGRAM packet support. Newer systemd-ssh-generator probes vsock via DGRAM before creating ssh-vsock.sock. In Fedora 43 this worked anyway; in Fedora 44 it doesn’t. VZ’s vsock supports DGRAM, so it keeps working there.

macOS 26.3.1
Lima v2.1.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions