[libvirt] build libvirt error. lack of AppArmor .

Eric Blake eblake at redhat.com
Wed Oct 10 21:11:58 UTC 2012


On 10/10/2012 04:04 AM, yue wrote:
> error occur when  attach a rbd-disk to domain.
>  
> 1.configure: error: You must install the AppArmor development package in order to compile libvirt

What command line did you pass to configure?  AppArmor is optional (and
in fact, Fedora does not use it); so this message should only be
triggered if you passed an explicit --with-apparmor or
--with-secdriver-apparmor to configure, in which case, yes, then you
need the apparmor devel package.

> 2.
> 2012-10-10 17:36:16.305+0000: 3808: warning : qemuDomainObjTaint:1297 : Domain id=2 name='xpSP3' uuid=b45bd66a-6700-4905-c5f4-4c799413d7b7 is tainted: high-privileges
> 2012-10-10 17:36:16.712+0000: 3808: error : qemuMonitorOpenUnix:266 : failed to connect to monitor socket: No such process

This usually means that qemu failed to start; can you check the log file
for that guest (perhaps /var/log/libvirt/qemu/xpSP3.log) to see if there
are more details why?

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121010/39638f30/attachment-0001.sig>


More information about the libvir-list mailing list