[lxc-users] set "lxc.aa_allow_incomplete = 1" - where do I add it for lxd?

Serge Hallyn serge.hallyn at ubuntu.com
Mon Oct 26 17:35:39 UTC 2015


That's an ideal use for 'lxc.raw'.

lxc config set x1 raw.lxc "lxc.aa_allow_incomplete=1"

The lxc configuration for lxd containers is auto-generated on each container
start, as is the apparmor policy.  The contents of the 'lxc.raw' config
item are appended to the auto-generated config.

Quoting Tomasz Chmielewski (mangoo at wpkg.org):
> I get the following when starting a container with lxd:
> 
>      Incomplete AppArmor support in your kernel
>      If you really want to start this container, set
>      lxc.aa_allow_incomplete = 1
>      in your container configuration file
> 
> 
> Where exactly do I set this with lxd? I don't really see a "config"
> file, like with lxc. Is it "metadata.yaml"? If so - how to set it
> there?
> 
> 
> Tomasz Chmielewski
> http://wpkg.org
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list