[Bug 1890858] Re: AppArmor profile causes QEMU/KVM - Not Connected

2020-12-29 Thread Kim Covil
# Clarify how to fix it # Adding the network unix dgram, line works here: 1. revert /etc/apparmor.d/usr.sbin.libvirtd to the content delivered by the package in 20.04 $ dpkg-query -W -f '${Conffiles}\n' libvirt-daemon-system | awk -vOFS=" " '/apparmor/{print $2,$1}' | LANG=C sudo md5sum -c

[Bug 1890858] Re: AppArmor profile causes QEMU/KVM - Not Connected

2020-12-29 Thread Kim Covil
I am seeing this too on a machine upgraded from 18.04 to 20.04: # Clarify what does happen # virsh list as non-root user produces the following audit apparmor DENIED in dmesg: [452295.854406] audit: type=1400 audit(1609252406.821:273932): apparmor="DENIED" operation="bind" profile="libvirtd"

[Bug 1890858] Re: AppArmor profile causes QEMU/KVM - Not Connected

2020-12-29 Thread Kim Covil
# Clarify why it happens on your setup # Attached output of running: systemctl status $(basename -a $(dpkg -L libvirt-daemon-system | grep -e .socket -e .service | xargs) | xargs) ** Attachment added: "output of running systemctl status $(basename -a $(dpkg -L libvirt-daemon-system | grep -e