libvirt no longer probes chained backing stores
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Fix Released
|
Undecided
|
Unassigned | ||
libvirt (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
System : Ubuntu 10.10
Case : Multiple backing file
Result :
$ cat /etc/apparmor.
# DO NOT EDIT THIS FILE DIRECTLY. IT IS MANAGED BY LIBVIRT.
"/var/
"/var/
"/var/
"/U/libvirt-
"/U/libvirt-
# don't audit writes to readonly files
deny "/U/libvirt-
In /var/log/syslog :
Oct 7 10:15:32 kiwi kernel: [ 2176.864213] type=1400 audit(128643933
Backing file chain :
$ kvm-img info trifyl-
image: trifyl-
file format: qcow2
virtual size: 10G (10737418240 bytes)
disk size: 136K
cluster_size: 65536
backing file: trifyl-
$ kvm-img info trifyl-
image: trifyl-
file format: qcow2
virtual size: 10G (10737418240 bytes)
disk size: 2.1G
cluster_size: 65536
backing file: base/lenny.qcow2 (actual path: base/lenny.qcow2)
$ ls -l base/lenny.qcow2
lrwxrwxrwx 1 fabiena utilisateur 22 2010-09-27 13:50 base/lenny.qcow2 -> lenny_compresse
It worked just before I added the trifyl-
tags: | added: maverick |
Changed in libvirt (Ubuntu): | |
status: | New → Incomplete |
summary: |
- virt-aa-helper generate incomplete apparmor profiles with chained + virt-aa-helper generates incomplete apparmor profiles with chained backing files |
summary: |
- virt-aa-helper generates incomplete apparmor profiles with chained - backing files + libvirt no longer probes chained backing stores |
Changed in ubuntu-release-notes: | |
status: | New → Fix Released |
A temporary workaround in my case is to: d/libvirt/ TEMPLATE : image/base/ lenny_compresse d.qcow2" r, d/libvirt/ libvirt- c05e04f2- fe2e-b8de- c129-bd074c9084 76*
1/ add the denied file in the Template /etc/apparmor.
"/U/libvirt-
2/ Remove the generated file /etc/apparmor.
3/ Reload apparmor and start the VM