# virsh dumpxml myhost..org 
<domain type='qemu'>
  <name>myhost.org</name>
  <uuid>6445bf42-7513-985a-7920-9e89a4c42ffe</uuid>
  <memory unit='KiB'>524288</memory>
  <currentMemory unit='KiB'>524288</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <os>
    <type arch='i686' machine='pc-1.0'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/lib4/vmpool1/myhost.org-sda.raw'/>
      <target dev='hda' bus='ide'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' 
function='0x1'/>
    </controller>
    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' 
function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:84:3c:4f'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 
function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes'/>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 
function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' 
function='0x0'/>
    </memballoon>
  </devices>
</domain>

# grep virt /var/log/kern.log 
Dec 29 13:29:28 library kernel: [    0.000000] Booting paravirtualized kernel 
on bare hardware
Dec 29 13:29:28 library kernel: [    8.053331] type=1400 
audit(1356787768.805:11): apparmor="STATUS" operation="profile_load" 
name="/usr/sbin/libvirtd" pid=1428 comm="apparmor_parser"
Dec 29 13:29:28 library kernel: [    8.060934] type=1400 
audit(1356787768.813:12): apparmor="STATUS" operation="profile_load" 
name="/usr/lib/libvirt/virt-aa-helper" pid=1427 comm="apparmor_parser"
Dec 29 13:31:43 library kernel: [    0.000000] Booting paravirtualized kernel 
on bare hardware
Dec 29 13:31:43 library kernel: [   10.447494] type=1400 
audit(1356787903.202:8): apparmor="STATUS" operation="profile_load" 
name="/usr/lib/libvirt/virt-aa-helper" pid=1266 comm="apparmor_parser"
Dec 29 13:35:02 library kernel: [    0.000000] Booting paravirtualized kernel 
on bare hardware
Dec 29 13:35:02 library kernel: [    7.631940] type=1400 
audit(1356788102.439:8): apparmor="STATUS" operation="profile_load" 
name="/usr/lib/libvirt/virt-aa-helper" pid=1266 comm="apparmor_parser"
Dec 29 13:35:02 library kernel: [    7.632210] type=1400 
audit(1356788102.439:9): apparmor="STATUS" operation="profile_load" 
name="/usr/sbin/libvirtd" pid=1267 comm="apparmor_parser"

# virsh start mourne.islandone.org
error: Failed to start domain mourne.islandone.org
error: internal error cannot load AppArmor profile 
'libvirt-6445bf42-7513-985a-7920-9e89a4c42ffe'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/799997

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/799997/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to