Open
Description
Hi! I have a few mounts configured like the following:
mounts:
- location: "~"
writable: false
- location: "/tmp/lima"
writable: true
- location: "/opt/lima"
writable: true
When the VM is restarted, then the mounts fail with this error message in the ha.stderr.log
file:
sshfs does not seem to be mounted on ${dir}
Full logs:
{"level":"debug","msg":"firmware candidates = [/usr/local/share/qemu/edk2-x86_64-code.fd /usr/share/OVMF/OVMF_CODE.fd /usr/share/qemu/ovmf-x86_64-code.bin]","time":"2022-01-24T10:38:21+01:00"}
{"level":"debug","msg":"OpenSSH version 8.6.1 detected","time":"2022-01-24T10:38:21+01:00"}
{"level":"debug","msg":"AES accelerator seems available, prioritizing aes128-gcm@openssh.com and aes256-gcm@openssh.com","time":"2022-01-24T10:38:21+01:00"}
{"level":"info","msg":"Starting QEMU (hint: to watch the boot progress, see \"/Users/bapt/.lima/docker/serial.log\")","time":"2022-01-24T10:38:21+01:00"}
{"level":"debug","msg":"qCmd.Args: [/usr/local/bin/qemu-system-x86_64 -cpu host -machine q35,accel=hvf -smp 8,sockets=1,cores=8,threads=1 -m 24576 -drive if=pflash,format=raw,readonly=on,file=/usr/local/share/qemu/edk2-x86_64-code.fd -boot order=c,splash-time=0,menu=on -drive file=/Users/bapt/.lima/docker/diffdisk,if=virtio -cdrom /Users/bapt/.lima/docker/cidata.iso -netdev user,id=net0,net=192.168.5.0/24,dhcpstart=192.168.5.15,hostfwd=tcp:127.0.0.1:60006-:22 -device virtio-net-pci,netdev=net0,mac=52:55:55:08:7d:a3 -netdev vde,id=net1,sock=/private/var/run/lima/shared.ctl -device virtio-net-pci,netdev=net1,mac=52:55:55:79:c2:11 -device virtio-rng-pci -display none -device virtio-vga -device virtio-keyboard-pci -device virtio-mouse-pci -parallel none -chardev socket,id=char-serial,path=/Users/bapt/.lima/docker/serial.sock,server=on,wait=off,logfile=/Users/bapt/.lima/docker/serial.log -serial chardev:char-serial -chardev socket,id=char-qmp,path=/Users/bapt/.lima/docker/qmp.sock,server=on,wait=off -qmp chardev:char-qmp -name lima-docker -pidfile /Users/bapt/.lima/docker/qemu.pid]","time":"2022-01-24T10:38:21+01:00"}
{"level":"info","msg":"Waiting for the essential requirement 1 of 5: \"ssh\"","time":"2022-01-24T10:38:21+01:00"}
{"level":"debug","msg":"executing script \"ssh\"","time":"2022-01-24T10:38:21+01:00"}
{"level":"debug","msg":"executing ssh for script \"ssh\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- /bin/bash]","time":"2022-01-24T10:38:21+01:00"}
{"level":"debug","msg":"stdout=\"\", stderr=\"\", err=\u003cnil\u003e","time":"2022-01-24T10:38:40+01:00"}
{"level":"info","msg":"The essential requirement 1 of 5 is satisfied","time":"2022-01-24T10:38:40+01:00"}
{"level":"info","msg":"Waiting for the essential requirement 2 of 5: \"user session is ready for ssh\"","time":"2022-01-24T10:38:40+01:00"}
{"level":"debug","msg":"executing script \"user session is ready for ssh\"","time":"2022-01-24T10:38:41+01:00"}
{"level":"debug","msg":"executing ssh for script \"user session is ready for ssh\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- /bin/bash]","time":"2022-01-24T10:38:41+01:00"}
{"level":"debug","msg":"stdout=\"\", stderr=\"+ timeout 30s bash -c 'until sudo diff -q /run/lima-ssh-ready /mnt/lima-cidata/meta-data 2\u003e/dev/null; do sleep 3; done'\\n\", err=failed to execute script \"user session is ready for ssh\": stdout=\"\", stderr=\"+ timeout 30s bash -c 'until sudo diff -q /run/lima-ssh-ready /mnt/lima-cidata/meta-data 2\u003e/dev/null; do sleep 3; done'\\n\": exit status 255","time":"2022-01-24T10:38:43+01:00"}
{"level":"info","msg":"Waiting for the essential requirement 2 of 5: \"user session is ready for ssh\"","time":"2022-01-24T10:38:53+01:00"}
{"level":"debug","msg":"executing script \"user session is ready for ssh\"","time":"2022-01-24T10:38:53+01:00"}
{"level":"debug","msg":"executing ssh for script \"user session is ready for ssh\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- /bin/bash]","time":"2022-01-24T10:38:53+01:00"}
{"level":"debug","msg":"stdout=\"\", stderr=\"+ timeout 30s bash -c 'until sudo diff -q /run/lima-ssh-ready /mnt/lima-cidata/meta-data 2\u003e/dev/null; do sleep 3; done'\\n\", err=\u003cnil\u003e","time":"2022-01-24T10:38:54+01:00"}
{"level":"info","msg":"The essential requirement 2 of 5 is satisfied","time":"2022-01-24T10:38:54+01:00"}
{"level":"info","msg":"Waiting for the essential requirement 3 of 5: \"sshfs binary to be installed\"","time":"2022-01-24T10:38:54+01:00"}
{"level":"debug","msg":"executing script \"sshfs binary to be installed\"","time":"2022-01-24T10:38:54+01:00"}
{"level":"debug","msg":"executing ssh for script \"sshfs binary to be installed\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- /bin/bash]","time":"2022-01-24T10:38:54+01:00"}
{"level":"debug","msg":"stdout=\"/usr/bin/sshfs\\n\", stderr=\"+ timeout 30s bash -c 'until command -v sshfs; do sleep 3; done'\\n\", err=\u003cnil\u003e","time":"2022-01-24T10:38:54+01:00"}
{"level":"info","msg":"The essential requirement 3 of 5 is satisfied","time":"2022-01-24T10:38:54+01:00"}
{"level":"info","msg":"Waiting for the essential requirement 4 of 5: \"/etc/fuse.conf to contain \\\"user_allow_other\\\"\"","time":"2022-01-24T10:38:54+01:00"}
{"level":"debug","msg":"executing script \"/etc/fuse.conf to contain \\\"user_allow_other\\\"\"","time":"2022-01-24T10:38:54+01:00"}
{"level":"debug","msg":"executing ssh for script \"/etc/fuse.conf to contain \\\"user_allow_other\\\"\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- /bin/bash]","time":"2022-01-24T10:38:54+01:00"}
{"level":"debug","msg":"stdout=\"\", stderr=\"+ timeout 30s bash -c 'until grep -q ^user_allow_other /etc/fuse.conf; do sleep 3; done'\\n\", err=\u003cnil\u003e","time":"2022-01-24T10:38:54+01:00"}
{"level":"info","msg":"The essential requirement 4 of 5 is satisfied","time":"2022-01-24T10:38:54+01:00"}
{"level":"info","msg":"Waiting for the essential requirement 5 of 5: \"the guest agent to be running\"","time":"2022-01-24T10:38:54+01:00"}
{"level":"debug","msg":"executing script \"the guest agent to be running\"","time":"2022-01-24T10:38:54+01:00"}
{"level":"debug","msg":"executing ssh for script \"the guest agent to be running\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- /bin/bash]","time":"2022-01-24T10:38:54+01:00"}
{"level":"debug","msg":"stdout=\"\", stderr=\"+ sock=/run/lima-guestagent.sock\\n+ timeout 30s bash -c 'until [ -S \\\"/run/lima-guestagent.sock\\\" ]; do sleep 3; done'\\n\", err=\u003cnil\u003e","time":"2022-01-24T10:38:55+01:00"}
{"level":"info","msg":"The essential requirement 5 of 5 is satisfied","time":"2022-01-24T10:38:55+01:00"}
{"level":"info","msg":"Mounting \"/Users/bapt\"","time":"2022-01-24T10:38:55+01:00"}
{"level":"debug","msg":"executing ssh for preparing sshfs: /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- mkdir -p /Users/bapt]","time":"2022-01-24T10:38:55+01:00"}
{"level":"debug","msg":"executing ssh for remote sshfs: /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- sshfs :/Users/bapt /Users/bapt -o slave -o ro -o allow_other]","time":"2022-01-24T10:38:55+01:00"}
{"level":"debug","msg":"starting sftp server for /Users/bapt","time":"2022-01-24T10:38:55+01:00"}
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
{"level":"debug","msg":"generated script \"wait-for-remote-ready\" with map map[Dir:/Users/bapt MaxTrial:30]: \"#!/bin/sh\\nset -eu\\ndir=\\\"/Users/bapt\\\"\\nmax_trial=\\\"30\\\"\\nLANG=C\\nLC_ALL=C\\nexport LANG LC_ALL\\ni=0\\nwhile : ; do\\n # FIXME: not really robust\\n if mount | grep \\\"on ${dir}\\\" | egrep -qw \\\"fuse.sshfs|osxfuse\\\"; then\\n echo '{\\\"return\\\":{}}'\\n exit 0\\n fi\\n sleep 1\\n if [ $i -ge ${max_trial} ]; then\\n echo \u003e\u00262 \\\"sshfs does not seem to be mounted on ${dir}\\\"\\n exit 1\\n fi\\n i=$((i + 1))\\ndone\\n\"","time":"2022-01-24T10:38:55+01:00"}
{"error":"EOF","level":"debug","msg":"sftp server for /Users/bapt exited with EOF (negligible)","time":"2022-01-24T10:38:55+01:00"}
{"level":"debug","msg":"executing ssh for script \"wait-for-remote-ready\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- /bin/sh]","time":"2022-01-24T10:38:55+01:00"}
{"level":"debug","msg":"executed script \"wait-for-remote-ready\", stdout=\"\", stderr=\"sshfs does not seem to be mounted on /Users/bapt\\n\", err=failed to execute script \"wait-for-remote-ready\": stdout=\"\", stderr=\"sshfs does not seem to be mounted on /Users/bapt\\n\": exit status 1","time":"2022-01-24T10:39:26+01:00"}
{"error":"failed to execute script \"wait-for-remote-ready\": stdout=\"\", stderr=\"sshfs does not seem to be mounted on /Users/bapt\\n\": exit status 1","level":"warning","msg":"failed to confirm whether /Users/bapt [remote] is successfully mounted","time":"2022-01-24T10:39:26+01:00"}
{"level":"info","msg":"Mounting \"/tmp/lima\"","time":"2022-01-24T10:39:26+01:00"}
{"level":"debug","msg":"executing ssh for preparing sshfs: /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- mkdir -p /tmp/lima]","time":"2022-01-24T10:39:26+01:00"}
{"level":"debug","msg":"executing ssh for remote sshfs: /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- sshfs :/tmp/lima /tmp/lima -o slave -o allow_other]","time":"2022-01-24T10:39:26+01:00"}
{"level":"debug","msg":"starting sftp server for /tmp/lima","time":"2022-01-24T10:39:26+01:00"}
{"level":"debug","msg":"generated script \"wait-for-remote-ready\" with map map[Dir:/tmp/lima MaxTrial:30]: \"#!/bin/sh\\nset -eu\\ndir=\\\"/tmp/lima\\\"\\nmax_trial=\\\"30\\\"\\nLANG=C\\nLC_ALL=C\\nexport LANG LC_ALL\\ni=0\\nwhile : ; do\\n # FIXME: not really robust\\n if mount | grep \\\"on ${dir}\\\" | egrep -qw \\\"fuse.sshfs|osxfuse\\\"; then\\n echo '{\\\"return\\\":{}}'\\n exit 0\\n fi\\n sleep 1\\n if [ $i -ge ${max_trial} ]; then\\n echo \u003e\u00262 \\\"sshfs does not seem to be mounted on ${dir}\\\"\\n exit 1\\n fi\\n i=$((i + 1))\\ndone\\n\"","time":"2022-01-24T10:39:26+01:00"}
{"level":"debug","msg":"executing ssh for script \"wait-for-remote-ready\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- /bin/sh]","time":"2022-01-24T10:39:26+01:00"}
{"level":"debug","msg":"executed script \"wait-for-remote-ready\", stdout=\"{\\\"return\\\":{}}\\n\", stderr=\"\", err=\u003cnil\u003e","time":"2022-01-24T10:39:26+01:00"}
{"level":"info","msg":"Mounting \"/opt/lima\"","time":"2022-01-24T10:39:26+01:00"}
{"level":"debug","msg":"executing ssh for preparing sshfs: /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- mkdir -p /opt/lima]","time":"2022-01-24T10:39:26+01:00"}
{"level":"debug","msg":"executing ssh for remote sshfs: /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- sshfs :/opt/lima /opt/lima -o slave -o allow_other]","time":"2022-01-24T10:39:26+01:00"}
{"level":"debug","msg":"starting sftp server for /opt/lima","time":"2022-01-24T10:39:26+01:00"}
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
{"level":"debug","msg":"generated script \"wait-for-remote-ready\" with map map[Dir:/opt/lima MaxTrial:30]: \"#!/bin/sh\\nset -eu\\ndir=\\\"/opt/lima\\\"\\nmax_trial=\\\"30\\\"\\nLANG=C\\nLC_ALL=C\\nexport LANG LC_ALL\\ni=0\\nwhile : ; do\\n # FIXME: not really robust\\n if mount | grep \\\"on ${dir}\\\" | egrep -qw \\\"fuse.sshfs|osxfuse\\\"; then\\n echo '{\\\"return\\\":{}}'\\n exit 0\\n fi\\n sleep 1\\n if [ $i -ge ${max_trial} ]; then\\n echo \u003e\u00262 \\\"sshfs does not seem to be mounted on ${dir}\\\"\\n exit 1\\n fi\\n i=$((i + 1))\\ndone\\n\"","time":"2022-01-24T10:39:26+01:00"}
{"error":"EOF","level":"debug","msg":"sftp server for /opt/lima exited with EOF (negligible)","time":"2022-01-24T10:39:26+01:00"}
{"level":"debug","msg":"executing ssh for script \"wait-for-remote-ready\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- /bin/sh]","time":"2022-01-24T10:39:26+01:00"}
{"level":"debug","msg":"executed script \"wait-for-remote-ready\", stdout=\"\", stderr=\"sshfs does not seem to be mounted on /opt/lima\\n\", err=failed to execute script \"wait-for-remote-ready\": stdout=\"\", stderr=\"sshfs does not seem to be mounted on /opt/lima\\n\": exit status 1","time":"2022-01-24T10:39:58+01:00"}
{"error":"failed to execute script \"wait-for-remote-ready\": stdout=\"\", stderr=\"sshfs does not seem to be mounted on /opt/lima\\n\": exit status 1","level":"warning","msg":"failed to confirm whether /opt/lima [remote] is successfully mounted","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Waiting for the optional requirement 1 of 1: \"user probe 1/1\"","time":"2022-01-24T10:39:58+01:00"}
{"level":"debug","msg":"executing script \"user probe 1/1\"","time":"2022-01-24T10:39:58+01:00"}
{"level":"debug","msg":"Forwarding unix sockets","time":"2022-01-24T10:39:58+01:00"}
{"level":"debug","msg":"executing ssh for script \"user probe 1/1\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- /bin/bash]","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Forwarding \"/run/docker.sock\" (guest) to \"/Users/bapt/docker.sock\" (host)","time":"2022-01-24T10:39:58+01:00"}
{"level":"debug","msg":"stdout=\"\", stderr=\"+ timeout 30s bash -c 'until command -v docker \u003e/dev/null 2\u003e\u00261; do sleep 3; done'\\n\", err=\u003cnil\u003e","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"The optional requirement 1 of 1 is satisfied","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Forwarding \"/run/lima-guestagent.sock\" (guest) to \"/Users/bapt/.lima/docker/ga.sock\" (host)","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Waiting for the final requirement 1 of 1: \"boot scripts must have finished\"","time":"2022-01-24T10:39:58+01:00"}
{"level":"debug","msg":"executing script \"boot scripts must have finished\"","time":"2022-01-24T10:39:58+01:00"}
{"level":"debug","msg":"guest agent info: \u0026{LocalPorts:[{IP:127.0.0.53 Port:53} {IP:0.0.0.0 Port:22} {IP:0.0.0.0 Port:7002} {IP:0.0.0.0 Port:7003} {IP:0.0.0.0 Port:7004} {IP:127.0.0.1 Port:55848} {IP:127.0.0.1 Port:55914} {IP:127.0.0.1 Port:55885} {IP::: Port:22}]}","time":"2022-01-24T10:39:58+01:00"}
{"level":"debug","msg":"executing ssh for script \"boot scripts must have finished\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/bapt/.lima/_config/user\" -o IdentityFile=\"/Users/bapt/.ssh/id_rsa\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^aes128-gcm@openssh.com,aes256-gcm@openssh.com\" -o User=bapt -o ControlMaster=auto -o ControlPath=\"/Users/bapt/.lima/docker/ssh.sock\" -o ControlPersist=5m -p 60006 127.0.0.1 -- /bin/bash]","time":"2022-01-24T10:39:58+01:00"}
{"level":"debug","msg":"guest agent event: {Time:2022-01-24 09:39:58.612773844 +0000 UTC LocalPortsAdded:[{IP:127.0.0.53 Port:53} {IP:0.0.0.0 Port:22} {IP:0.0.0.0 Port:7002} {IP:0.0.0.0 Port:7003} {IP:0.0.0.0 Port:7004} {IP:127.0.0.1 Port:55848} {IP:127.0.0.1 Port:55914} {IP:127.0.0.1 Port:55885} {IP::: Port:22}] LocalPortsRemoved:[] Errors:[]}","time":"2022-01-24T10:39:58+01:00"}
{"level":"debug","msg":"stdout=\"\", stderr=\"+ timeout 30s bash -c 'until sudo diff -q /run/lima-boot-done /mnt/lima-cidata/meta-data 2\u003e/dev/null; do sleep 3; done'\\n\", err=\u003cnil\u003e","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Not forwarding TCP 127.0.0.53:53","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Not forwarding TCP 0.0.0.0:22","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"The final requirement 1 of 1 is satisfied","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Forwarding TCP from 0.0.0.0:7002 to 127.0.0.1:7002","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Forwarding TCP from 0.0.0.0:7003 to 127.0.0.1:7003","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Forwarding TCP from 0.0.0.0:7004 to 127.0.0.1:7004","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Forwarding TCP from 127.0.0.1:55848 to 127.0.0.1:55848","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Forwarding TCP from 127.0.0.1:55914 to 127.0.0.1:55914","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Forwarding TCP from 127.0.0.1:55885 to 127.0.0.1:55885","time":"2022-01-24T10:39:58+01:00"}
{"level":"info","msg":"Not forwarding TCP [::]:22","time":"2022-01-24T10:39:58+01:00"}
See also the serial.log: https://gist.github.com/bcollard/d2c6f179ad1eef080e22954e01997504
I'm running LIma v0.8.0. I tried out v0.8.1 but I felt something was unstable (my macbook crashed twice in the same period of time).