Thanks.
So in your case, because there is a separate directory fo rimages for
your domain, it would be safe to add
/var/lib/libvirt/images/jam1/*.qcow2 rw,
to your /etc/apparmor.d/libvirt/libvirt-dafd2c09-a81d-4ee3-a95c-
beb50aecf4e8.files
However, in cases where the domain's disk image is a
I believe this is fixed at least in trusty (have not tried elsewhere).
At least I can create external snapshots of a stopped domain, then start
the domain. (The snapshot image is listed in
/etc/apparmor.d/libvirt/libvirt-$uuid.files).
I will mark this fix committed, if it is still broken for (in
** Tags added: precise
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1004606
Title:
virsh create-snapshot fails to create external snapshot (blockdev-
snapshot-sync fails in
In the /etc/apparmor.d/local/usr.sbin.libvirtd file I just created one
rule to give libvirtd read'n'write access to the images in my storage
pool with the following line:
/var/lib/libvirt/images/*.img rw,
As preliminary: I have created my own naming convention for my overlays,
these
** Tags added: 13.04
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1004606
Title:
virsh create-snapshot fails to create external snapshot (blockdev-
snapshot-sync fails in json
Yes Theodor, please share your apparmor-rules :)
For the moment i am following this guide to disable just the libvirt-
apparmor-profile:
http://cloudstack.apache.org/docs/en-
US/Apache_CloudStack/4.0.2/html/Installation_Guide/hypervisor-kvm-
Theodor, can you please tell the rules that you added under TEMPLATE and
/etc/apparmor.d/local/usr.sbin.libvirt?
Thanks !
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1004606
I found a that looks better than deactivating apparmor.
I found here ( http://libvirt.org/drvqemu.html#securitysvirtaa ) the
information that Apparmor is „just“ used for protecting the vm host and
that there is a TEMPLATE under /etc/apparmor.d/libvirt/ that can be
modified. In that TEMPLATE I
Is there any bugfix in sight or work around known except for disabling
apparmor?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1004606
Title:
virsh create-snapshot fails to
i don't know others work around
2013/5/17 Theodor van Nahl 1004...@bugs.launchpad.net
Is there any bugfix in sight or work around known except for disabling
apparmor?
--
You received this bug notification because you are subscribed to a
duplicate bug report (1096125).
affects ubuntu/libvirt
status confirmed
priority medium
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1004606
Title:
virsh create-snapshot fails to create external snapshot
also present in Ubuntu 13.04 Raring
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1004606
Title:
virsh create-snapshot fails to create external snapshot (blockdev-
also present in Ubuntu 12.10 Quantal
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1004606
Title:
virsh create-snapshot fails to create external snapshot (blockdev-
Thanks, Davide, cann you tell us the paths of the snapshot files which
need to be whitelisted?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1004606
Title:
virsh create-snapshot
The path, excluding extension, is the same as the original image.
Unfortunately the extension can be chosen by the user:
Name
The name for this snapshot. If the name is specified when initially creating
the snapshot, then the snapshot will have that particular name. If the name
is omitted
** Tags added: apparmor
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1004606
Title:
virsh create-snapshot fails to create external snapshot (blockdev-
snapshot-sync fails in
Thanks Murrayy, actually it's apparmour the problem:
the --disk-only option of snapshot-create[-as] only supports external
snapshot so it tries to create a new file which name matches no
apparmour regexps in the corresponding profile.
--
You received this bug notification because you are a
I think it's apparmor, I had an similar error and it went away by deactivating
the corresponding apparmor profile.
Check your syslog for apparmor messages please.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
18 matches
Mail list logo