ACK: [PATCH][wily] UBUNTU: SAUCE: overlayfs: Enable user namespace mounts for the "overlay" fstype

Chris J Arges chris.j.arges at canonical.com
Mon Jul 27 15:16:11 UTC 2015



On 07/27/2015 09:16 AM, Seth Forshee wrote:
> User namespace mounts were mistakenly only enabled for the
> "overlayfs" fstype and not for the "overlay" fstype. This is a
> regression in behavior towards userspace from previous Ubuntu
> kernels and breaks some features of LXC.
> 
> BugLink: http://bugs.launchpad.net/bugs/1478578
> Signed-off-by: Seth Forshee <seth.forshee at canonical.com>
> ---
>  fs/overlayfs/super.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
> index f6d8507..3181482 100644
> --- a/fs/overlayfs/super.c
> +++ b/fs/overlayfs/super.c
> @@ -1099,6 +1099,7 @@ static struct file_system_type ovl_fs_type = {
>  	.name		= "overlay",
>  	.mount		= ovl_mount,
>  	.kill_sb	= kill_anon_super,
> +	.fs_flags	= FS_USERNS_MOUNT,
>  };
>  MODULE_ALIAS_FS("overlay");
>  
> 




More information about the kernel-team mailing list