Bjørn Forsman
cb4d104baf
nixos/libvirt-guests: add missing dependency on libvirtd.service
Ensure that VMs get properly suspended (or shutdown) instead of "pulling
the plug" on them.
Simulating shutdown with
`sudo systemctl stop libvirtd.service libvirtd-ro.socket libvirtd-admin.socket libvirtd.socket libvirt-guests`:
Before:
systemd[1]: Stopping libvirt guests suspend/resume service...
libvirt-guests.sh[1472512]: Can't connect to default. Skipping.
systemd[1]: libvirt-guests.service: Deactivated successfully.
After:
systemd[1]: Stopping libvirt guests suspend/resume service...
libvirt-guests.sh[1524073]: Running guests on default URI:
libvirt-guests.sh[1524067]: ubuntu22.04
libvirt-guests.sh[1524100]: Suspending guests on default URI...
libvirt-guests.sh[1524067]: Suspending ubuntu22.04: ...
libvirt-guests.sh[1524067]: Suspending ubuntu22.04: 1.421 GiB
libvirt-guests.sh[1524067]: Suspending ubuntu22.04: 2.618 GiB
libvirt-guests.sh[1524067]: Suspending ubuntu22.04: done
systemd[1]: libvirt-guests.service: Deactivated successfully.
2025-01-25 14:38:55 +01:00
..
2024-12-24 15:08:43 +11:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-06 23:32:16 +08:00
2024-12-10 20:26:33 +01:00
2024-08-14 11:02:58 +08:00
2024-11-29 17:12:27 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-11-29 17:12:26 +01:00
2024-12-10 20:26:33 +01:00
2024-12-16 15:35:22 +01:00
2024-11-14 18:12:16 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-11-05 11:23:29 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-10-10 09:02:06 +02:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-26 17:50:39 +05:30
2024-12-10 20:26:33 +01:00
2025-01-14 09:47:22 +03:00
2024-11-29 17:12:26 +01:00
2024-08-10 12:08:33 -04:00
2024-08-10 13:23:36 -04:00
2024-12-20 19:18:09 +00:00
2024-11-29 17:12:26 +01:00
2024-12-10 20:26:33 +01:00
2025-01-25 14:38:55 +01:00
2024-12-10 20:26:33 +01:00
2024-11-29 17:12:26 +01:00
2024-11-29 17:13:52 +01:00
2024-12-10 20:26:33 +01:00
2024-11-30 00:04:54 -05:00
2024-11-30 00:04:54 -05:00
2024-11-30 00:04:54 -05:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-23 00:18:02 +01:00
2024-12-10 20:26:33 +01:00
2025-01-01 22:51:04 -03:00
2024-11-29 17:12:26 +01:00
2024-10-27 12:28:37 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-11-29 17:13:54 +01:00
2024-12-10 20:26:33 +01:00
2025-01-01 21:03:57 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-25 22:09:11 +01:00
2024-10-16 13:15:42 +02:00
2024-11-29 17:12:26 +01:00
2024-12-12 10:35:08 -05:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-08 11:05:57 +08:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-09-28 14:53:59 +00:00
2024-10-06 20:24:29 +00:00
2024-12-10 20:26:33 +01:00