Message ID | 1438006614-58455-1-git-send-email-seth.forshee@canonical.com |
---|---|
State | New |
Headers | show |
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@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"); > >
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");
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@canonical.com> --- fs/overlayfs/super.c | 1 + 1 file changed, 1 insertion(+)