[pve-devel] [PATCH 8/9] add lxc.aa_profile = lxc-container-default-with-mounting

Dietmar Maurer dietmar at proxmox.com
Mon Aug 17 10:20:30 CEST 2015


why do we need this? I thought we do all mounts on the host?

On 08/16/2015 07:43 PM, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>   src/PVE/LXC.pm | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
> index 04ff00d..c3f6685 100644
> --- a/src/PVE/LXC.pm
> +++ b/src/PVE/LXC.pm
> @@ -953,6 +953,8 @@ sub update_lxc_config {
>   
>       my $raw = '';
>   
> +    $raw .= " lxc.aa_profile = lxc-container-default-with-mounting\n";
> +
>       die "missing 'arch' - internal error" if !$conf->{arch};
>       $raw .= "lxc.arch = $conf->{arch}\n";
>   





More information about the pve-devel mailing list