-
-
Notifications
You must be signed in to change notification settings - Fork 415
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
Daemon fail in when launching colima start from launchd user agent #490
Comments
I am having the same issue and frustration on MacOS Intel. |
Unfortunately not( |
Looks like a sandboxing issue. When Otherwise, it should trigger a UI prompt for the user to allow, say, network access for that† binary. Unfortunately it seems as if starting from a † If the binary changes (path or content, say on an update) the permission is invalidated. |
Also given this attempt is using Nix and there's a Homebrew LaunchDaemon that appears to have worked at some point, it may be worth comparing how both behave today. In any case, I opened an issue at #262 would still be useful for users that are not using |
Well, this
|
And with
Note that you may have some sandbox allowance popups the first time you access some directories from within the VM. |
Description
I've faced with strange issue: I cannot launch colima daemon using launchd user agents. It seems that issue somewhere between daemon and some client since I see following error in
/Users/tanshihaj/.colima/default/daemon/daemon.log
file:My user agent
/Users/tanshihaj/Library/LaunchAgents/org.colima.daemon-starter.plist
looks like this:Does anyone have an idea what goes wrong?
Version
Colima Version: 0.4.6/10377f3
Lima Version: 0.13.0
Qemu Version: 7.1.0
Operating System
Reproduction Steps
/Users/username/Library/LaunchAgents/org.colima.daemon-starter.plist
with content above (substitute correct path to your home, colima path and docker client path)launchctl load /Users/username/Library/LaunchAgents/org.colima.daemon-starter.plist
launchctl kickstart -k gui/$(id -u)/org.colima.daemon-starter
colima status
Expected behaviour
I'm expecting that colima starts on background
Additional context
It seems if I run
colima start
in user shell daemon runs normally.The text was updated successfully, but these errors were encountered: