can't connect to virtlogd: Unable to open system token /run/libvirt/common/system.token: Permission denied

Hi all, I have encountered a new issue when start a VM with new builded libvirt. I failed to start VM from defined xml and hit the error like "can't connect to virtlogd: Unable to open system token /run/libvirt/common/system.token: Permission denied” Any inputs are appreciated. The libvit version: libvirtd -V setlocale: No such file or directory libvirtd (libvirt) 7.6.0 Os : cat /etc/redhat-release Red Hat Enterprise Linux release 8.4 (Ootpa) Linux kernel: uname -a Linux localhost.localdomain 4.18.0-305.el8.x86_64 #1 SMP Thu Apr 29 08:54:30 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux QEMU version: usr/libexec/qemu-kvm --help QEMU emulator version 5.1.0 (qemu-kvm-5.1.0-1.el8) Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers Thanks!

On Mon, Nov 15, 2021 at 10:49 PM 梁朝军 <jesonliang040705@hotmail.com> wrote:
Hi all,
I have encountered a new issue when start a VM with new builded libvirt. I failed to start VM from defined xml and hit the error like "can't connect to virtlogd: Unable to open system token /run/libvirt/common/system.token: Permission denied”
Known bug https://bugzilla.redhat.com/show_bug.cgi?id=1966842
Update selinux-policy + clean up /run/libvirt/common/ + restart libvirtd & virtlogd will resolve this issue.
Any inputs are appreciated.
The libvit version: libvirtd -V setlocale: No such file or directory libvirtd (libvirt) 7.6.0
Os : cat /etc/redhat-release Red Hat Enterprise Linux release 8.4 (Ootpa)
Linux kernel: uname -a Linux localhost.localdomain 4.18.0-305.el8.x86_64 #1 SMP Thu Apr 29 08:54:30 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
QEMU version: usr/libexec/qemu-kvm --help QEMU emulator version 5.1.0 (qemu-kvm-5.1.0-1.el8) Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
Thanks!
participants (2)
-
Han Han
-
梁朝军