[Bug 628055] Re: Instances don't start correctly: Security Labeling error running aa_change_profile()
Jamie Strandboge
jamie at ubuntu.com
Wed Sep 22 20:13:49 BST 2010
Ok, I am able to reproduce this on a pure i386 machine using the disk as
setup by eucalyptus. My tests before were not identical. Here are the
results:
== amd64 ==
$ ./628055.sh
$ cat /proc/cpuinfo | grep model
model : 37
model name : Intel(R) Core(TM) i7 CPU L 640 @ 2.13GHz
model : 37
model name : Intel(R) Core(TM) i7 CPU L 640 @ 2.13GHz
model : 37
model name : Intel(R) Core(TM) i7 CPU L 640 @ 2.13GHz
model : 37
model name : Intel(R) Core(TM) i7 CPU L 640 @ 2.13GHz
$ dpkg --print-architecture
amd64
$ uname -m
x86_64
$ md5sum /home/jamie/tmp/628055/disk
0ded1356f29b0df69eada9114f312ca9 /home/jamie/tmp/628055/disk
$ cat /tmp/tmp.MBQ5hd2NFG/xml | /usr/lib/libvirt/virt-aa-helper -r -u libvirt-29c89df7-94d6-f247-c2ed-b63dd4c0f7a6 --dryrun
virt-aa-helper:
/etc/apparmor.d/libvirt/libvirt-29c89df7-94d6-f247-c2ed-b63dd4c0f7a6.files
virt-aa-helper:
"/var/log/libvirt/**/testme.log" w,
"/var/lib/libvirt/**/testme.monitor" rw,
"/var/run/libvirt/**/testme.pid" rwk,
"/home/jamie/tmp/628055/disk" rw,
== i386/dual core ==
$ sh ./628055.sh
$ cat /proc/cpuinfo | grep model
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz
$ dpkg --print-architecture
i386
$ uname -m
i686
$ md5sum /home/ubuntu/tmp/628055/disk
0ded1356f29b0df69eada9114f312ca9 /home/ubuntu/tmp/628055/disk
$ cat /tmp/tmp.yR7X1rkLpv/xml | /usr/lib/libvirt/virt-aa-helper -r -u libvirt-29
n
virt-aa-helper: error: invalid VM definition
== i386/single core ==
$ ./628055.sh
$ cat /proc/cpuinfo | grep model
model : 13
model name : Intel(R) Pentium(R) M processor 1.70GHz
$ dpkg --print-architecture
i386
$ uname -m
i686
$ md5sum /home/jamie/tmp/628055/disk
0ded1356f29b0df69eada9114f312ca9 /home/jamie/tmp/628055/disk
$ cat /tmp/tmp.QW8EtZsUTi/xml | /usr/lib/libvirt/virt-aa-helper -r -u libvirt-29c89df7-94d6-f247-c2ed-b63dd4c0f7a6 --dryrun
virt-aa-helper: error: invalid VM definition
Now that I have the necessary files and have determined that it is not machine specific, but seems to be architecture specific, I can hopefully narrow this down more.
** Attachment added: "628055.sh"
https://bugs.launchpad.net/ubuntu/maverick/+source/libvirt/+bug/628055/+attachment/1623976/+files/628055.sh
--
Instances don't start correctly: Security Labeling error running aa_change_profile()
https://bugs.launchpad.net/bugs/628055
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
More information about the Ubuntu-server-bugs
mailing list