-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to boot any VM due to panic in hostagent #3150
Comments
I actually have solution, but I just not sure if it makes sense to fix it here, but it's just silly one line... The bug depends on the parent process in which under various conditions special variable DIRHELPER_USER_DIR_SUFFIX is set. And if it's set to specific value it breaks limactl.
The problematic spot is "...lper//go-bui..." which I believe must be tolerated by everyone, who cares about doubled sep., but it does break go-diskfs.. If I patch limactl like so everything works like a breeze.
WDYT? We can spawn author of faulty package but it seems like we shouldn't trust system to much and it's better to have some sort of validation |
Please file a bug report (or even better a PR) upstream. If it looks like there is no updated release forthcoming, then we can add the call in Lima with a comment pointing to the upstream bug. But we should always try to get issues resolved upstream before we apply workarounds. |
There is a similar segfault on Windows, in the same library (in that case when using unexpected path separators): |
Description
Bug
In 90% cases
lima start NAME
fails to boot VM due to panic in hostagent in attempt of creating iso file (via go-diskfs package). It doesn't matter if I clean cache or remove whole lima dir.Env
Steps
Obviously I expect it to start, not to panic...
Log sample
The text was updated successfully, but these errors were encountered: