abiosoft / abiosoft/colima

stopping colima with launchctl unload path/to/colima.launchd.plist doesn't stop colima

Offen
#1,346 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
30.8k
Forks
613
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Description

If you start colima via launchd, it will not stop when launchd unloads the service and sends it a SIGTERM.

colima is started with `/usr/local/opt/colima/bin/colima start -f` when run by launchd, so it is in the foreground to receive the SIGTERM, but it doesn't shut down.

### Version

colima version 0.8.1
git commit: 96598cc5b64e5e9e1e64891642b91edc8ac49d16
limactl version 1.2.0
-bash: qemu-img: command not found

### Operating System

- [ ] macOS Intel <= 13 (Ventura)
- [x] macOS Intel >= 14 (Sonoma)
- [ ] Apple Silicon <= 13 (Ventura)
- [ ] Apple Silicon >= 14 (Sonoma)
- [ ] Linux

### Output of `colima status`

INFO[0001] colima is running using macOS Virtualization.Framework
INFO[0001] arch: x86_64
INFO[0001] runtime: docker
INFO[0001] mountType: virtiofs
INFO[0001] socket: unix:///Users/camdennarzt/.colima/default/docker.sock

### Reproduction Steps

1. Install colima via homebrew
2. launchctl load "$(brew --prefix colima)/homebrew.mxcl.colima.plist"
3. while ! colima status; do sleep 3; done
4. launchctl unload "$(brew --prefix colima)/homebrew.mxcl.colima.plist"
5. sleep 100 && colima status

### Expected behaviour

Unloading colima from launchd should stop colima.

### Additional context

_No response_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.