double startup of sessioned vm causes user systemd service to fail
Greetings, I'm running 3 vms in session mode on arch linux, I need each vm to startup on boot. libvirt version is 12.1.0. from what I understand, libvirt-guests lacks session support so I went to look and found that I can use per user systemd service, using this doc: https://wiki.archlinux.org/title/Systemd/User I defined each user to linger, created a service file and enabled it for each user. I've rebooted the machine and found out that not all the vms started, some of them have failed, each boot the outcome differs but usually there is atleast one vm which doesn't startup. I've check the status of the service and found that in the cases where the boot failed, the error was that the vm is already active, however virsh list shows ihe vm is off. none of the vms is marked as autostart. how can I find out who is the other source that starts up the vms? I assume it is something internal of libvirt. ideally, if possible, i'd like to use something from within libvirt or at least stop whatever autoboots the vms. Thanks, Dagg
participants (1)
-
daggs