lima
lima copied to clipboard
`limactl shell` return immediately with exit code 0
Description
Most recent main version doesn't allocate tty (regardless of setting --tty flag) and immediately exits with exit code 0.
limactl shell --log-level trace --tty --workdir / lima date
DEBU[0000] changeDirCmd="cd / || exit 1"
DEBU[0000] Failed to detect CPU features. Assuming that AES acceleration is available on this Apple silicon.
DEBU[0000] OpenSSH version 9.0.1 detected
DEBU[0000] AES accelerator seems available, prioritizing [email protected] and [email protected]
DEBU[0000] executing ssh (may take a long)): [/usr/bin/ssh -F /dev/null -o IdentityFile="/Users/USER/.lima/_config/user" -o IdentityFile="/Users/USER/.ssh/id_ed25519" -o IdentityFile="/Users/USER/.ssh/id_rsa_rh" -o IdentityFile="/Users/USER/.ssh/id_rsa_rpi_flux" -o IdentityFile="/Users/USER/.ssh/id_rsa_sumo" -o IdentityFile="/Users/USER/.ssh/id_rsa_team_k8s_bot_redhat_certification" -o IdentityFile="/Users/USER/.ssh/teamk8s_bot" -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="^[email protected],[email protected]" -o User=lima -o ControlMaster=auto -o ControlPath="/Users/USER/.lima/lima/ssh.sock" -o ControlPersist=yes -t -o SendEnv="COLORTERM" -q -p 53031 127.0.0.1 -- cd / || exit 1 ; exec "$SHELL" --login -c date]
Mon Oct 23 15:20:44 UTC 2023
limactl version
limactl -v
limactl version HEAD-b5aa0dd
Just a heads up: the above is not 100% reproducible. It sometimes happens, sometimes not.