Skip to content
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

Rancher Desktop fails to start on macOS when the home user directory name is a long email address #4482

Closed
gcobr opened this issue Apr 18, 2023 · 1 comment
Labels
component/lima Issues related to lima and qemu kind/bug Something isn't working triage/duplicate This issue or pull request already exists

Comments

@gcobr
Copy link

gcobr commented Apr 18, 2023

Actual Behavior

Rancher desktop fails to start with error:

Error: /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl.ventura exited with code 1

Steps to Reproduce

Install it on a system where the name of the user's home folder is a long email address. Example:

Result

In lima.log:

2023-04-18T01:41:40.977Z: Error starting lima: Error: /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl.ventura exited with code 1
    at ChildProcess.<anonymous> (/Applications/Rancher Desktop.app/Contents/Resources/app.asar/dist/app/background.js:1:8136)
    at ChildProcess.emit (node:events:527:28)
    at ChildProcess._handle.onexit (node:internal/child_process:291:12) {
  stdout: '',
  stderr: 'time="2023-04-18T11:41:40+10:00" level=info msg="Terminal is not available, proceeding without opening an editor"\n' +
    'time="2023-04-18T11:41:40+10:00" level=fatal msg="instance name \\"0\\" too long: \\"/Users/[email protected]/Library/Application Support/rancher-desktop/lima/0/ssh.sock.1234567890123456\\" must be less than UNIX_PATH_MAX=104 characters, but is 114"\n',
  code: 1,
  command: [
    '/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl.ventura',
    'start',
    '--tty=false',
    '/Users/[email protected]/Library/Application Support/rancher-desktop/lima/_config/0.yaml'
  ]
}

Expected Behavior

Rancher Desktop starts normally.

Additional Information

No response

Rancher Desktop Version

1.8.1 (1.8.1)

Rancher Desktop K8s Version

Not using

Which container engine are you using?

moby (docker cli)

What operating system are you using?

macOS

Operating System / Build Version

13.2.1 (22D68)

What CPU architecture are you using?

arm64 (Apple Silicon)

Linux only: what package format did you use to install Rancher Desktop?

None

Windows User Only

No response

@gcobr gcobr added the kind/bug Something isn't working label Apr 18, 2023
@jandubois
Copy link
Member

This is a duplicate of #797.

There is a workaround in #797 (comment)

@jandubois jandubois added triage/duplicate This issue or pull request already exists component/lima Issues related to lima and qemu labels Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/lima Issues related to lima and qemu kind/bug Something isn't working triage/duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants