virt-aa-helper: error: could not find realpath for disk

Martinx - ジェームズ thiagocmartinsc at gmail.com
Sat Mar 8 17:28:08 UTC 2014


Guys,

I'm trying to create a VM with virt-manager, and I'm seeing the following
error on libvirt.log:

---
2014-03-08 09:22:00.800+0000: 21935: error : AppArmorGenSecurityLabel:451 :
internal error: cannot load AppArmor profile
'libvirt-24426706-60af-6d7f-ec38-d0c77d25936c'
2014-03-08 17:22:33.808+0000: 21937: error : virCommandWait:2399 : internal
error: Child process (/usr/lib/libvirt/virt-aa-helper -p 0 -c -u
libvirt-a004b634-2571-f6a3-b939-2fffc96b1a10) unexpected exit status 1:
virt-aa-helper: error: /var/lib/libvirt/ISO/trusty-server-i386.iso
virt-aa-helper: error: could not find realpath for disk
virt-aa-helper: error: invalid VM definition

2014-03-08 17:22:33.822+0000: 21937: error : AppArmorGenSecurityLabel:451 :
internal error: cannot load AppArmor profile
'libvirt-a004b634-2571-f6a3-b939-2fffc96b1a10'
---

The ISO is there, look:

---
md5sum /var/lib/libvirt/ISO/trusty-server-i386.iso


49113ff549fef31200cd667e421b466b
 /var/lib/libvirt/ISO/trusty-server-i386.iso
---

But, it is a remote mount point, like this:

---
mount | grep ISO
//fileserver/ISO on /var/lib/libvirt/ISO type cifs (rw)
---

If I umount /var/lib/libvirt/ISO and copy the ISO file into there, it
works!! The problem appeared after I tried to move the ISOs to a central
server...

The following command makes no difference:

---
aa-complain /usr/sbin/libvirtd
---

I'm using Ubuntu 14.04, upgraded yesterday.

Any tips!?

Tks!
Thiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140308/b582f9d7/attachment.html>


More information about the ubuntu-users mailing list