[Lxc-users] Libvirt-bin in lxc

Serge Hallyn serge.hallyn at canonical.com
Wed Nov 7 15:13:38 UTC 2012


Quoting 宣铭艺 (xuanmingyi at gmail.com):
> Hi
> I can't use libvirt-bin in lxc,who can tell me why and how to do it.
> 
> I have mknod some devices such as kvm hpet
> 
> this is the lxc config file
> http://paste.ubuntu.com/1338853/
> 
> this is the strace message.(strace virsh start cflinux)
> http://paste.ubuntu.com/1338862/
> 
> It report the message:
> error: Failed to start domain cflinux
> error: internal error cannot load AppArmor profile
> 'libvirt-85b4d415-244d-4719-a2da-843de0641373'

Looks like you'll have to use lxc.aa_profile = unconfined.

In raring we should have support for stacking apparmor profiles
which will allow you to have a confined container which can still
load profiles.

-serge




More information about the lxc-users mailing list