I tried adding the five lines you posted on the bottom of
/etc/apparmor.d/abstractions/libvirt-qemu

There are no more 'apparmor="DENIED"' entries. But the disk still
bounced back. I see entries:

[  673.188482] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  673.435419] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: 
hostbyte=DID_ERROR driverbyte=DRIVER_OK


I also noticed that `sudo apparmor_parser -r 
/etc/apparmor.d/abstractions/libvirt-qemu` complains that

AppArmor parser error for /etc/apparmor.d/abstractions/libvirt-qemu in
/etc/apparmor.d/abstractions/base at line 23: syntax error, unexpected
TOK_MODE, expecting TOK_OPEN

, but it seems the rules took effect anyway.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1814061

Title:
  Adding USB host device, USB drive to guest VM fails, mounts drive in
  Nautilus instead

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1814061/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to