Ok, I know what is failing, but I don't know why.

On amd64 things are ok:
$ cat /proc/cpuinfo | grep model
model           : 37
model name      : Intel(R) Core(TM) i7 CPU       L 640  @ 2.13GHz
... repeated 4 times ...
$ dpkg --print-architecture
amd64
$ uname -m
x86_64
$ cat ./628055.xml | /usr/lib/libvirt/virt-aa-helper -r -u 
libvirt-29c89df7-94d6-f247-c2ed-b63dd4c0f7a6 --dryrun
virt-aa-helper: warning: path does not exist, skipping file type checks
09:33:27.403: warning : virDomainDiskDefForeachPath:7672 : Ignoring open 
failure on /home/ubuntu/tmp/disk: No such file or directory
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/ubuntu/tmp/disk" rw,

On an kvm i386 install on a 64bit host:
$ cat /proc/cpuinfo | grep model
model           : 2
model name      : QEMU Virtual CPU version 0.12.5
$ dpkg --print-architecture
i386
$ uname -m
i686
$ cat ./628055.xml | /usr/lib/libvirt/virt-aa-helper -r -u 
libvirt-29c89df7-94d6-f247-c2ed-b63dd4c0f7a6 --dryrun
virt-aa-helper: warning: path does not exist, skipping file type checks
14:34:23.193: warning : virDomainDiskDefForeachPath:7672 : Ignoring open 
failure on /home/ubuntu/tmp/disk: No such file or directory
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/ubuntu/tmp/disk" rw,

On an i386 install on a 32-bit host:
$ 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
$ cat ./628055.xml | /usr/lib/libvirt/virt-aa-helper -r -u 
libvirt-29c89df7-94d6-f247-c2ed-b63dd4c0f7a6 --dryrun
virt-aa-helper: error: invalid VM definition


** Attachment added: "stripped down/modified XML from a eucalyptus VM"
   
https://bugs.launchpad.net/ubuntu/+source/eucalyptus/+bug/628055/+attachment/1622906/+files/628055.xml

** Changed in: libvirt (Ubuntu Maverick)
       Status: Incomplete => Confirmed

** Changed in: libvirt (Ubuntu Maverick)
    Milestone: None => ubuntu-10.10

** Changed in: libvirt (Ubuntu Maverick)
     Assignee: (unassigned) => Jamie Strandboge (jdstrand)

-- 
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to