virt-manager Failed to connect socket to '/run/libvirt/virtlogd-sock' 28 May 2023, 10:36:16 I am trying to use virt-manager to run KVM images. I have managed to do this on Arch. My formula looks like thispacman -S qemu-full virt-manager virt-viewer dnsmasq vde2 bridge-utils gnu-netcat libguestfsAfter finding artix pkgs virt-viewer & libguestfs are not available and likely not needed for my use I dropped those.I have managed to install most of qemu-full from the artix; howver, it seems that it needs qemu-system-aarch64 which depends on a firmware pkg edk2-armvirt, which is not in artix. Can this not be added to the artix repos?Any way I installed the arch version of edk2-armvirt and that allows qemu-full to install.However, even after setting up all the required permissions and groups I find that the VMs won't start because of an errorFailed to connect socket to '/run/libvirt/virtlogd-sockI think that's because libvirtd-runit's run doesn't start up a socket listener. I found a fix here https://github.com/crc-org/crc/issues/629, so after changing stdio_handler to "file" a VM can start.Is there a way to use the socket approach? I notice that the systemd setup appears to provide sockets virtlogd-sock, virtlogd-sock & virtlogd-admin-sock which are missing in artix.My usage won't be risking file space exhaustion if I use a file for stdio, but is there a way to make these sockets work for someone who wants to run a vm server? Last Edit: 28 May 2023, 12:02:06 by replabrobin
Re: virt-manager Failed to connect socket to '/run/libvirt/virtlogd-sock' Reply #1 – 28 May 2023, 13:54:09 Seems like there's a separate runit service to start off the virtlogd daemon which should provide the sockets I need.