Public bug reported:
On something like:
$ virsh attach-device <guest> <xml>
The rule rendered is:
"/tmp/B.img" rw,
This is missing the k flag needed on qemu >=2.10.
This applies to block and file definitions:
<disk type='block'>
<driver name='qemu'/>
<source dev='/tmp/B.img'/>
<target dev='sdb'/>
</disk>
<disk type='file'>
<driver name='qemu'/>
<source file='/tmp/F.img'/>
<target dev='sdc'/>
</disk>
Both are rendered correctly as:
"/tmp/F.img" rwk,
If being part of the domain xml instead of being a hot-add.
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: Confirmed
** Tags: virt-aa-helper
** Tags added: virt-aa-helper
** Changed in: libvirt (Ubuntu)
Status: New => Confirmed
** Description changed:
- TODO
+ On something like:
+ $ virsh attach-device <guest> <xml>
+
+ The rule rendered is:
+ "/tmp/B.img" rw,
+
+ This is missing the k flag needed on qemu >=2.10.
+
+ This applies to block and file definitions:
+ <disk type='block'>
+ <driver name='qemu'/>
+ <source dev='/tmp/B.img'/>
+ <target dev='sdb'/>
+ </disk>
+ <disk type='file'>
+ <driver name='qemu'/>
+ <source file='/tmp/F.img'/>
+ <target dev='sdc'/>
+ </disk>
+
+ Both are rendered correctly as:
+ "/tmp/F.img" rwk,
+ If being part of the domain xml instead of being a hot-add.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1726804
Title:
rules for images on attach-device not containing lock permission
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1726804/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs