I have a fresh Debian 12 installed and updated. Along with Cockpit and Cockpit virtual machines.
I am getting the following errors and warning when looking at the log section in Cockpit:
Failed to open file '/sys/kernel/security/apparmor/profiles': Permission denied libvirtd
Failed to read AppArmor profiles list '/sys/kernel/security/apparmor/profiles': Permission denied libvirtd
Failed to open file '/sys/kernel/security/apparmor/profiles': Permission denied libvirtd
The virtual machines start up and has no issues. However, the errors pop up after every reboot once I click the virtual machines section on Cockpit. These errors only show then, and not when I do not go to virtual machines section in Cockpit. So it seems to only start once you go to that section in Cockpit.
Has anyone else experience this issue? It gives exactly the same warnings / errors on Ubuntu 22.04 as well.