In /etc/apparmor.d/abstractions:
Using libvirt-qemu and add /usr/share/seabios/** r, on row 59 (after /usr/share/vgabios/** r,)
Restart apparmor and virsh!
In /var/log/syslog:
With /usr/share/seabios/** r, in /etc/appamor.d/abstractions/libvirt-qemu:
Mar 23 19:36:24 node kernel: [13419.727042] type=1400 audit(1300905384.271:76): apparmor="STATUS" operation="profile_load" name="libvirt-5872b474-ad53-8708-db86-928a9d6655b6" pid=31215 comm="apparmor_parser" Mar 23 19:36:24 node kernel: [13419.834767] type=1400 audit(1300905384.381:77): apparmor="DENIED" operation="open" parent=1 profile="libvirt-5872b474-ad53-8708-db86-928a9d6655b6" name="/dev/fb0" pid=31218 comm="kvm" requested_mask="rw" denied_mask="rw" fsuid=0 ouid=0 Mar 23 19:36:54 node libvirtd: 19:36:54.326: error : qemudOpenMonitorUnix:934 : monitor socket did not show up.: Connection refused Mar 23 19:36:54 node kernel: [13450.036528] type=1400 audit(1300905414.581:78): apparmor="STATUS" operation="profile_remove" name="libvirt-5872b474-ad53-8708-db86-928a9d6655b6" pid=31294 comm="apparmor_parser"
Ubuntu default:
Mar 23 19:39:14 node kernel: [13589.524010] type=1400 audit(1300905554.071:94): apparmor="STATUS" operation="profile_load" name="libvirt-5872b474-ad53-8708-db86-928a9d6655b6" pid=31662 comm="apparmor_parser" Mar 23 19:39:14 node kernel: [13589.629753] type=1400 audit(1300905554.171:95): apparmor="DENIED" operation="open" parent=1 profile="libvirt-5872b474-ad53-8708-db86-928a9d6655b6" name="/usr/share/seabios/bios.bin" pid=31665 comm="kvm" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Mar 23 19:39:44 node libvirtd: 19:39:44.121: error : qemudOpenMonitorUnix:934 : monitor socket did not show up.: Connection refused Mar 23 19:39:44 node kernel: [13619.797636] type=1400 audit(1300905584.341:96): apparmor="STATUS" operation="profile_remove" name="libvirt-5872b474-ad53-8708-db86-928a9d6655b6" pid=31731 comm="apparmor_parser"
In /etc/apparmor. d/abstractions:
Using libvirt-qemu and add /usr/share/ seabios/ ** r, on row 59 (after /usr/share/ vgabios/ ** r,)
Restart apparmor and virsh!
In /var/log/syslog:
With /usr/share/ seabios/ ** r, in /etc/appamor. d/abstractions/ libvirt- qemu:
Mar 23 19:36:24 node kernel: [13419.727042] type=1400 audit(130090538 4.271:76) : apparmor="STATUS" operation= "profile_ load" name="libvirt- 5872b474- ad53-8708- db86-928a9d6655 b6" pid=31215 comm="apparmor_ parser" 4.381:77) : apparmor="DENIED" operation="open" parent=1 profile= "libvirt- 5872b474- ad53-8708- db86-928a9d6655 b6" name="/dev/fb0" pid=31218 comm="kvm" requested_mask="rw" denied_mask="rw" fsuid=0 ouid=0 rUnix:934 : monitor socket did not show up.: Connection refused 4.581:78) : apparmor="STATUS" operation= "profile_ remove" name="libvirt- 5872b474- ad53-8708- db86-928a9d6655 b6" pid=31294 comm="apparmor_ parser"
Mar 23 19:36:24 node kernel: [13419.834767] type=1400 audit(130090538
Mar 23 19:36:54 node libvirtd: 19:36:54.326: error : qemudOpenMonito
Mar 23 19:36:54 node kernel: [13450.036528] type=1400 audit(130090541
Ubuntu default:
Mar 23 19:39:14 node kernel: [13589.524010] type=1400 audit(130090555 4.071:94) : apparmor="STATUS" operation= "profile_ load" name="libvirt- 5872b474- ad53-8708- db86-928a9d6655 b6" pid=31662 comm="apparmor_ parser" 4.171:95) : apparmor="DENIED" operation="open" parent=1 profile= "libvirt- 5872b474- ad53-8708- db86-928a9d6655 b6" name="/ usr/share/ seabios/ bios.bin" pid=31665 comm="kvm" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 rUnix:934 : monitor socket did not show up.: Connection refused 4.341:96) : apparmor="STATUS" operation= "profile_ remove" name="libvirt- 5872b474- ad53-8708- db86-928a9d6655 b6" pid=31731 comm="apparmor_ parser"
Mar 23 19:39:14 node kernel: [13589.629753] type=1400 audit(130090555
Mar 23 19:39:44 node libvirtd: 19:39:44.121: error : qemudOpenMonito
Mar 23 19:39:44 node kernel: [13619.797636] type=1400 audit(130090558