libvirt with securty_driver="apparmor" (default settings) cannot do live blockcopy of devices due to permission denied error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
if I create a VM using default libvirt settings and try to do a blockcopy of one of its block devices, procedure fails claiming "permission denied" and the original block device looses write permission. Only power-cycling the VM restores correct behaviour.
If I manually edit /etc/libvirt/
security_
then blockcopy works as expected.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: libvirt-bin 1.1.1-0ubuntu8
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Wed Nov 6 15:57:33 2013
InstallationDate: Installed on 2013-11-04 (2 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
MarkForUpload: True
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
modified.
modified.
modified.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
Thanks for reporting this bug. Could you please show exactly where and
how you are initiating the blockcopy?
status: incomplete