question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not work on Ubuntu 18.04

See original GitHub issue

image

Found this line in the logs:

INFO[0073] [hostagent] time="2021-10-11T16:13:13-07:00" level=fatal msg="failed to run [/usr/bin/qemu-system-x86_64 -M none -netdev help]: stdout=\"\", stderr=\"Possible accelerators: kvm, xen, hax, tcg\\nqemu-system-x86_64: -netdev help: Parameter 'id' is missing\\n\""

If I upgrade the system from Ubuntu 18.04 to 20.04 then rancher-desktop starts working. It would be nice for 18.04 to work since that version is still has supported until April 2023, and I have several teammates that use 18.04 who can not upgrade.

Ubuntu 18.04 has qemu 2.11.1, and Ubuntu 20.04 has qemu 4.2.1. Perhaps some command line flags changed between the versions?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
davidcassanycommented, Nov 5, 2021

Right, I finally found the root cause of this issue. Lima does not properly support openSSH earlier than v8.0. Ubuntu Bionic ships with openSSH v7.6 which does not include URI support in command line clients. See lima-vm/lima#386.

I did a build manually including a patched lima with the mentioned PR and RD worked smooth.

1reaction
janduboiscommented, Oct 13, 2021

Sorry, I didn’t update the issue last night, but it looks like I got Lima working on Bionic:

jan@ubuntu:~$ grep PRETTY /etc/os-release 
PRETTY_NAME="Ubuntu 18.04.6 LTS"
jan@ubuntu:~$ lima grep PRETTY /etc/os-release 
PRETTY_NAME="Ubuntu 21.04"

There were 3 changes I had to make:

  • Don’t fail if -netdev help is not implemented.
  • Check stderr for -accel help output when stdout is empty.
  • Don’t change ciphers when OpenSSH is older than 8.0.0 (this Lima change may not be in RD 0.6.0)

I still have to clean up the patch, so that the code checking openssh features doesn’t happen before logging is initialized.

Read more comments on GitHub >

github_iconTop Results From Across the Web

boot - Ubuntu 18.04 not loading
In the terminal, type sudo update-grub and hit enter. Once complete, you should be able to reboot your computer with this change made....
Read more >
Ubuntu Linux PC Won't Boot? 5 Common Issues and Fixes
Ubuntu is usually reliable, but sometimes it won't boot. Here are some common causes and how to repair your PC when Ubuntu won't...
Read more >
Ubuntu 18.04LTS full - chaos! a lot of customization problem ...
When the installation is complete update the system and then restart the system and go into settings and configure what needs to be...
Read more >
11 Things To Do After Installing Ubuntu 18.04 LTS 'Bionic ...
Press the super key (also called a Windows key; or click the 'apps' button at the bottom of the dock) to open the...
Read more >
Boot-Repair - Community Help Wiki
Boot-Repair is a simple tool to repair frequent boot issues you may ... you can't boot Windows after installing Ubuntu, or when GRUB...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found