Answer the question
In order to leave comments, you need to log in
/sys/kernel/apparmor/profiles debian wonders?
Hello comrades!
qemu-kvm, libvirtd, virsh, virt-manager are installed and even running on the computer
Very strange behavior of libvirt (virsh).
Run as user (added to libvirt group)
virsh list --all
Empty output. It's like virtual machines don't exist.
We execute under root and virtual machines appear.
Also, from the user, empty output virsh net-list --all, etc.
in syslog
libvirtd[3365]: Failed to open file '/sys/kernel/security/apparmor/profiles': Permission denied
libvirtd[3365]: Failed to read AppArmor profiles list '/sys/kernel/security/apparmor/profiles': Permission denied
/sys/kernel/security/apparmor$ cat profiles
cat: profiles: Отказано в доступе
Answer the question
In order to leave comments, you need to log in
I remembered something ... I
run it as a user
virsh -c qemu:///system list --all
Id Name State
---------------------------
- centos shut off
- win7 shut off
alias virsh=virsh -c qemu:///system
alias virsh='virsh -c qemu:///system'
echo "alias virsh='virsh -c qemu:///system'" >> ~/.bashrc
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question