#5300·multipass

[linux] Cancel launch requests if possible when stopping the daemon

Author: LaefyCreated Sep 24, 2026Updated Sep 24, 2026
Labelsneeds triage

Describe the bug Cf following thread for the details: https://chat.canonical.com/canonical/pl/ubphs9ik8pgpbe5nu5r1hn586h

To Reproduce

  1. Execute some launch commands.
  2. Stop the daemon, for instance with: systemctl stop systemctl stop snap.multipass.multipassd.service
  3. You can check the logs with: journalctl -u snap.multipass.multipassd.service -f

Expected behavior Launch requests should be cancelled properly, in order for the daemon to be able to shutdown before the autokill timeout. When restarted, the new VMs should not appear in the list if the request has been properly cancelled.