Bug #14719
Test suite fails to attach virtual USB disk with QEMU 2.10 and AppArmor enabled
Start date:
2017-09-25
Due date:
% Done:
100%
Description
Call to virDomainAttachDeviceFlags failed: internal error: unable to execute QEMU command 'device_add': Property 'usb-storage.drive' can't find value 'drive-usb-disk0' (Guestfs::Error)
Subtasks
Related issues
Blocks Tails - |
Resolved | 2017-06-29 |
History
#1 Updated by intrigeri 2017-09-25 07:35:51
- blocks
Feature #13240: Core work 2017Q4: Test suite maintenance added
#2 Updated by intrigeri 2017-10-09 15:54:13
- Subject changed from Test suite fails to attach virtual USB disk with QEMU 2.10 to Test suite fails to attach virtual USB disk with QEMU 2.10 and AppArmor enabled
- Status changed from Confirmed to Resolved
- Assignee changed from anonym to intrigeri
OK, this was a local AppArmor problem. Fixed with:
--- a/apparmor.d/libvirt/TEMPLATE.qemu
+++ b/apparmor.d/libvirt/TEMPLATE.qemu
@@ -10,5 +10,5 @@ profile LIBVIRT_TEMPLATE flags=(attach_disconnected) {
/srv r,
/srv/tails r,
/srv/tails/git/* r,
- /tmp/TailsToaster/** rw,
+ /tmp/TailsToaster/** rwk,
}
#3 Updated by intrigeri 2017-10-09 15:54:50
- % Done changed from 0 to 100