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

Alexandre DERUMIER aderumier at odiso.com
Mon Aug 17 10:42:41 CEST 2015


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

Indeed, you are right, this is not needed.
you can't remove this patch.


(I think I had tried in past to mount from the guest).


----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 17 Août 2015 10:20:30
Objet: Re: [pve-devel] [PATCH 8/9] add lxc.aa_profile = lxc-container-default-with-mounting

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